Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: getproperty - _thecurrentframe |
| From: | Steven Warren |
| Date: | Fri, 17 Dec 1999 22:41:38 GMT |
hey y'all,
This is my first posting to the list... howdy, I'm evilsteven... flash
gameprogrammer, shockwave man, etc...
I'm trying to put the current frame number into a variable, so I can jump to
the tutorial part of a program, then return to the same frame when you exit
the tutorial. I'm also using scenes, which somebody warned me could be
tricky, because frame numbers are treated sequentially from one scene to the
next IE: Scene 1, frame 88 moves next to Scene 2, frame 01... so the first
frame of Scene 2 is considered frame 89 of the whole movie.
first question: how do you use the getproperty command to put the current
frame number into a variable? I'm using getproperty(_currentframe), and I
get an error message saying getproperty requires two parameters (???) It's
probably just a syntax issue, but if somebody could give me an example line
of code, I'd surely appreciate it!
second question: How do you refer to a frame, including the scene title?
If I wanted to save a variable that included the name of the scene, and the
scene number... is that possible? Or am I going to just get a frame number
that's not relative to the current scene?
Thanks in advance for your advice! Any references to official documentation
would also be helpful, as the Flash 4 Manual doesn't talk about getproperty
multiple parameters at all... There's only one page I could find that
mentions the getproperty function specifically and the only example of
syntax they use is : GetProperty(�/spaceship_�&ShipNumber, _x)
... which doesn't help me in this case ;-)
-evilsteven
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: getproperty - _thecurrentfram, fritz
Re: FLASH: getproperty - _thecurrentfram, John Croteau
Replies
Re: FLASH: Flash & Poser, Michael Penne
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

