A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: get.currentscene?

  1. #1
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811

    get.currentscene?

    i was just wondering if there was a way to tell which scene was playing through actionscript.

  2. #2
    Young Senior Member mayhem_sci's Avatar
    Join Date
    Jun 2002
    Location
    Singapore
    Posts
    282
    i dun think this can be done generically. note however, that the _currentframe gives you a continuous index of the frame across scenes, so that if _root of scene one has 20 frames, frame 1 of the next scene is frame 21 in _root. so you can check which scene it is by checking the current frame.

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