A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: external swf problem....

  1. #1
    Senior Member
    Join Date
    Jun 2005
    Posts
    189

    external swf problem....

    Im having a hard time controlling an external swf loaded into my main file. It loads on the press of a button....loaded great even!...hehe but now i cant control it!....it sits inside of a containerMc (named that) but how do i say _root.containerMc.mag(the name of the swf loaded)
    Code:
    on(press){
    _root.containerMc.mag.gotoAndStop("12")
    }
    ......that doesnt work for me....any help would be appreciated

  2. #2
    Hey Timmy!!! walsher's Avatar
    Join Date
    Jan 2005
    Location
    Latrobe, PA
    Posts
    1,899
    Howdy, just take away the mag part of your code and it should work for you.

  3. #3
    Senior Member
    Join Date
    Jun 2005
    Posts
    189
    well thanks walsher....it does work. Why?.....it seems freekin retarded.....thanks again man!

  4. #4
    Hey Timmy!!! walsher's Avatar
    Join Date
    Jan 2005
    Location
    Latrobe, PA
    Posts
    1,899
    Not a problem. The way it works is almost like putting the swf into the movieclip like you would normally on the stage itself. Instead of making a new object it puts all the frames from the swf into the movieclip. Which makes it a part of the movieclip.

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