all groups > flash actionscript > june 2004 >
You're in the

flash actionscript

group:

2 actions with one click


2 actions with one click kris
6/29/2004 5:40:33 PM
flash actionscript:
Am working on a sportsite where the indexpage exists of a flash in which you
can choose between different buttons(age-groups) ,
These buttons then go to a html pages. I now want after clicking a button
there first appears a photo fading 0 --> 100 --> 0. Going from 100-->0 the
html must become visible.
It is not going to be a flashsite, it is an html site with flash elements in
it.
The flash is in a cell on the html page, the indexpage consists of 1 cell

Re: 2 actions with one click Pluda
6/29/2004 6:59:51 PM
[quoted text, click to view]

So, you should use

on(press){
myphoto._visible = 1;
myphoto.play;
}

this assuming that your photo is inside a movieclip.
you should make a transitional twinning form o% to 100% and again to 0%.
When in 0%, you should put in your last frame timeline

getURL("myurl", "myframe");

It should work

AddThis Social Bookmark Button