quick flash help....
- Started
- Last post
- 8 Responses
- Clint_K
Sory for the noob question:
I have the shell of my site that the different pages "swfs" load into.
I want a colored bar to change colors depending on what page im in. A box that contains the text should also grow or shrink depending on the content of the chosen page. An image will also fade to another one when going to a new page.Im having problems figuring out how stuff will transistion to the next page. I dont know how to make the elements change dynamicly, by using AS, and how to build it so that will happen.
- Clint_K0
Could i just trigger the AS tween to happen for each item when it comes into the first frame of each different swf?
- dbloc0
let's see an example of what you are talking about.
- Clint_K0
http://laco.wz.cz/tween/?page=ex…
I would like my elements to do kinda the same thing as the example thats second to last, with the color and box changing size. Maybe I would have to do the boxes that resize, and the different color bar on the shell SWF, and just have the new info into into it, instead of trying to make them change per each SWF.
- Clint_K0
Thats the code for my rollover, the colorbar i want to change, and what swf I want loaded. It is not working though. Im using AS tweens, and i have the extension loaded.
im retarded, bump.
- Clint_K0
WTF can you not post code?
- Clint_K0
I put the things that need to change on level 0, where my buttons reside. I put the AS code to change the objects with the buttons, but it dosent seem to work.
This should change the color of one element. In my function layer this is what i have=
----
function profileColor() {
colorbar.colorTo(FF0000,2.5,"eas...on my button this is what i have=
-----
on (rollOver) {
_root.profileB();
}
on (rollOut, dragOut) {
_root.profileR();
}
on (release, releaseOutside) {
_root.profileColor();
}
on (release) {
loadMovieNum("rev-site05_vision... 10);
}
Thats the code for my rollover, the colorbar i want to change, and what swf I want loaded. It is not working though. Im using AS tweens, and i have the extension loaded.Too bad I cant edit earlier posts. oops.
- skt0
Why do you have two on (release) entries.
Load your movie and call your colour function from the same place.
- Clint_K0
Done. It still doesn't work. I have colorbar named correctly in the functions and the actual element.