Guest_imported
New member
- Jan 1, 1970
- 0
Hi there.
Forgive me, I'm a begginer in flash. Sorry if I'm asking a FAQ or something...
[[I'm using FLASH 5.0]]
What I what to know is hot to:
- set variables:
looks easy but I couldn't do it...
- use variables:
what does represents the value of a variable? In DOS, the name of the variable in "%%" represents its value, like this:
%PATH%
But it seems to be different in flash (why should it be the same?...)
Actually what I'm really up to is: I've got a homepage ( and have put a simple flash menu on it. The page has no frames. I want to when a option is chosen, that it appears different. Letme try to illustrate this:
I could do a "on release: 1.get url 2.goto frame#"
But there is a problem. It could be done IF the flash were in a different frame from the rest of the page. But it's not.
So when a option is chosen (they all are links), browser goes to the page chosen. By doing that, it reloads the flash (so it goes to frame 1), killing my first idea.
Then I had another idea (using same example as above):
actions for all the frames:
- goto frame(variable "cp" value)
actions for frame1 button "links":
- on release: 1.[set variable cp=3] 2.[get url]
Understood? But I don't know how to set a variable and neither how to use its value. I'm not actually sure of the fact that I don't know how to SET variables... I have used the command "set variable", and then debbuged the movie. The variable didn't appear there. So I THINK it weren't set.
But anyway, the debbuger weren't looking alright anyway (it says nothing at the "Test movie:" box. At the samples that came with Flash, there are some info...)
Please, HELP!
I appreciate any help here
IF YOU DID NOT UNDERSTAND A WORD OF WHAT I WROTE, JUST TELL ME WHAT DOES REPRESENTS THE VALUE OF A VARIABLE
Thanks in advance!!!!!
-- Secret_Doom --
Forgive me, I'm a begginer in flash. Sorry if I'm asking a FAQ or something...
[[I'm using FLASH 5.0]]
What I what to know is hot to:
- set variables:
looks easy but I couldn't do it...
- use variables:
what does represents the value of a variable? In DOS, the name of the variable in "%%" represents its value, like this:
%PATH%
But it seems to be different in flash (why should it be the same?...)
Actually what I'm really up to is: I've got a homepage ( and have put a simple flash menu on it. The page has no frames. I want to when a option is chosen, that it appears different. Letme try to illustrate this:
Code:
<pre>
==FRAME1== ==FRAME2==
<home> -- then you -- [home]
[email me] -- choose -- [email me]
[links] -- "links" -- <links>
</pre>
But there is a problem. It could be done IF the flash were in a different frame from the rest of the page. But it's not.
So when a option is chosen (they all are links), browser goes to the page chosen. By doing that, it reloads the flash (so it goes to frame 1), killing my first idea.
Then I had another idea (using same example as above):
actions for all the frames:
- goto frame(variable "cp" value)
actions for frame1 button "links":
- on release: 1.[set variable cp=3] 2.[get url]
Understood? But I don't know how to set a variable and neither how to use its value. I'm not actually sure of the fact that I don't know how to SET variables... I have used the command "set variable", and then debbuged the movie. The variable didn't appear there. So I THINK it weren't set.
But anyway, the debbuger weren't looking alright anyway (it says nothing at the "Test movie:" box. At the samples that came with Flash, there are some info...)
Please, HELP!
I appreciate any help here
IF YOU DID NOT UNDERSTAND A WORD OF WHAT I WROTE, JUST TELL ME WHAT DOES REPRESENTS THE VALUE OF A VARIABLE
Thanks in advance!!!!!
-- Secret_Doom --