A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Referencing scenes in external movies loaded in levels!

  1. #1
    How do I go about referencing a certain frame in a scene from an external movie?

    i.e. I have loaded MovieB into MovieA as level 1. Movie B has two scenes - Scene 1 and Scene 2. In MovieA, I've used this block of code:

    _level1:gotoAndPlay("Scene 1", 2)

    I know that those are the correct parameters for a gotoAndPlay action, but does this not work with levels? If not, is it possible to reference the frame in a separate scene?

    Thanks.

  2. #2
    Junior Member
    Join Date
    Oct 2000
    Posts
    12
    Hi,
    U must use frame labels, instead of frame numbers. Double click on a frame click on Label tab and type a name and then reference that in your actionscript eg
    --------------------------
    Begin Tell Target ("_level10/")
    Go to and Stop (Scene 1, "PlayHere")
    End Tell Target
    ------------------------------------
    Hope this helps,
    Regards

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