Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: getproperty - _thecurrentframe |
| From: | John Croteau |
| Date: | Fri, 17 Dec 1999 23:22:37 GMT |
Hi Steven,
> 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.
Yep
> 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!
You don't usr Get Property use
Set Variable: "Currentframe" = _currentframe
> 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?
Use Labels
> 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)
Two suggestions try not to use Scenes in your next project.
For general help check out
The Flash Tech Resource - http://www.FlashCentral.com/tech/
The Flash Bible - http://www.FlashCentral.com/tech/
--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteau
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
FLASH: getproperty - _thecurrentframe, Steven Warren
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

