flash - AS3: Does `FullScreenEvent` temporarily add things to the display list? -


short answer: yes, fullscreenevent temporarily adds 1 child stage.

long rant: how that.. i'm not crazy.. don't know if documented - it's true. little message pops saying 'you can press esc exit full-screen' adds single child stage temporarily , keeps on top level until fades out. sudden intrusion of indexes messed me up.. there's answer, guess. need figure out how around slight annoyance.

searching phantom child: tried find child, suggested, in project using stage.getchildat(11)+" "+stage.getchildat(10)+..etc etc.. , stage.getchildat(11).name+" "+stage.getchildat(10).name+..etc etc..(a quick sloppy way trace text box on stage..) couldn't tie specific name.. name came 'instance(whatever number in line created was)'. type interesting though because null.. don't know if that's normal or anything, if 1 of things had made, [object sprite] or similar.. odd indeed. furthermore, when trying information adobe livedocs (like squeezing blood stone..) find on popup message this:

a flash runtime dialog box appears on movie when users enter full-screen mode inform users in full-screen mode , can press escape key end full-screen mode.

"flash runtime dialog box".. mean internal yet still uses 1 index spot?

i tried making on stage alpha=0 whenever popup showing (stage.numchildren 1 more should have been) , disappeared when should have except 'esc exit' message..

sooo.. yeah.. that's can think of right now..

considering i'm still learning flash, may have gotten method child wrong. if checks out , makes simple prototype mess it, please let me know here found out ^__^


as side note tyler, remembered why didn't think of doing trace on event.enter_frame. it's because can't view traces when view swf in browser. , since fullscreenevent works in browser when html parameter allowfullscreen = 'true' set, got lazy add dynamic text box stage , update instead guess.. =p

anyways,

thank time , patience.

original post: hi!

i'm making image gallery in flash. it's pretty in working order , i'm quite happy except when try make full-screen.

when make gallery full-screen using fullscreenevent, little default message letting user know can press esc appears on screen. , message shown, if create image off screen , tween in view, next image on top of all of gui sprites..

however, if wait little message fade out , disappear, acts should , image's index set 1 wanted (underneath gui sprites , stuff)..

now, bear in mind i'm not ruling out code faulty because that's more case, after pondering ages , coming empty handed, keep getting little superstitious flash playing tricks on me , 'little message' not independent , added display list..

does know if i'm imagining things? or 'press esc' message part of swf on display list?

thank time , if can enlighten me on matter.

i'll admit initial reaction snarky "its code" (sorry!), though , knows kind of odd unexpected behavour happening, have seen strange things in flash. simple test trace out .numchildren on enterframe event, if see go you'll know sure. (i'll curious hear result)

if doesn't go up, perhaps can post code , we'll able take you.

good luck!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -