A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Control SWF from SWFLoader

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Unhappy Control SWF from SWFLoader

    Hi developers..

    I'm loadning a swf coverflow (as2) to a swf (as3) with SWFLoader.

    My problem is that i wish to make gotoAndPlay calls from the loaded swf to the as3, or even better call functions. Is there any way to do this - i've tried alot..

    Hope some one knows the answere - it would spare me for days of work..

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You can use LocalConnection (change the code to AS3 in the AS3 movie, similar to AS2) or Javascript.
    http://www.flashscript.biz/MX2004/lo...local_con.html
    http://flashscript.biz/flashas3/cros...crosstalk.html
    - 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