This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2005 > movie clip





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author movie clip
Mysterious Bob

2005-05-04, 4:19 am

http://www.mysteriousbob.com/intro2/homepage2.swf


I'm trying to make it so that when you click the yellow circle, the text
appears in the boxes and stays there...how would i do this? i know it has
something to do with movie clips but i'm not sure what.

merlinvicki

2005-05-04, 4:19 am

make the text an animation inside a movieclip. Use alpha settings to control
the fade process thru till ur end keyframe. Put a Stop() at the end of ur
animation. Then call the movieclip on an onRelease event.
Also check out some tutorials on "fading text". Will be of gr8 help.

Mysterious Bob

2005-05-04, 4:19 am

how do i do the onRelease? and where are the alpha settings?
Peter Blumenthal

2005-05-04, 7:25 am


> how do i do the onRelease? and where are the alpha settings?


Sounds like it's time to do the tutorials and lessons that come with the
application.


merlinvicki

2005-05-05, 4:15 am

how do i do the onRelease? and where are the alpha settings?
These are the very basics of actionscripting and if u dont know this u really
have to go thru some tutorials. Giving the code is not gonna help u in the long
run...............
Still. alpha settings are in the properties inspector and they will come into
play only when u select a movieclip or a graphic.
TO convert any object into a graphic press F8 and choose button.
To give an onRelease event on the button select the button and press F9 to
bring up the actions panel and type the script there. How to give an event I
leave it for u to find urself.......... Use the help panel(F1) and search for
"on(release)"
:)

Mysterious Bob

2005-05-05, 4:15 am

Ok i get the actionscript, but i keep getting this. **Error** Scene=Scene 1,
layer=Layer 1, frame=1:Line 2: Statement must appear within on handler
this.circle.onRelease = function(){

Total ActionScript Errors: 1 Reported Errors: 1

heres my actionscript:
this.circle.onRelease = function(){
all2._visible = true;
}

merlinvicki

2005-05-05, 4:15 am

change ur code to :

circle.onRelease = function(){
all2._visible = true;
}

Mysterious Bob

2005-05-05, 4:15 am

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
circle.onRelease = function(){

Total ActionScript Errors: 1 Reported Errors: 1

merlinvicki

2005-05-05, 4:15 am

are u selecting the keyframe when putting the script??
merlinvicki

2005-05-05, 4:15 am

the error is because u r putting the code on the button.
on the button u need this script:
on(release) {
all2._visible = true;
}
Mysterious Bob

2005-05-05, 4:15 am

ok so now i have circle.onRelease = function(){
all2._visible = true;
} in the first frame of the movie clip "all2" and for the button, "circle" i
have on(release) {
all2._visible = false;
}

but now when i click the button it does the same thing, the text just
reappears when i click the button, and then dissappears when i release it.

merlinvicki

2005-05-05, 4:15 am

can u msn?? if yes come online, add me "merlinvicki@hotmail.com"
See now go inside ur text mc and add a stop() action in the last keyframe.
n is fine

2005-05-05, 7:23 pm

hi
make sure the yellow circle is a button and make it link to another swf that has the text in the boxes.
wot font is that ?
Mysterious Bob

2005-05-05, 11:17 pm

i dont have MSN but i have AIM and i can email u..? and n is fine what r u talking about
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews