A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: swf inside swf

  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    36

    swf inside swf

    I have an swf inside another swf.

    The parent swf is AS3. the child is AS2.

    How can i make the child successfully execute this

    Code:
    import flash.external.ExternalInterface;
    ExternalInterface.call("getcookie", "cookie");

    It is not working. I am assuming it is because it is a child swf. When I delete the parent swf and just leave the AS2 it works fine...

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You probably have to change the Flash 8 actionscript. Here is a working example. I have not tested on IE.
    Attached Files Attached Files
    - The right of the People to create Flash movies shall not be infringed. -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center