Entering SWF files at Different points


i creating header site shows pictures @ top show used "room" in ... index file directs them initial room ... see having make unique swf file each "room" ... enter base swf file @ different points ... bmx starts @ frame 2 ... road @ 1 , on ...

so call file ../header.swf=2 ... or sometine that.

is possible in flash?? or there "template" can make (similar dreamweaver's templates) in flash if change pictures or colors not have each unique swf file??

for reference ... see doing go to: http://66.70.241.63/bmx/bmx_frame.html currenlty "road" "mtb" , "bmx" buttons work ...

create movie clip symbol name "header"
drag "header" symbol stage on layer called header
click on "header" symbol put on stage , center , give instance name of "header"
double clip "header" symbol see it's timeline.
create following layers actions, labels, image.
you have 6 images put each image on image layer in it's own frame should have 6 frames across.
add stop action every frame - stop();
create label on first frame named "road" second frame called "mtb: , on
import image place each image on frame label appears

should have 6 frames in inside "header" timeline.

go root timeline
create buttons layer (for each 1 if want)
put buttons on stage
click on them once , give them instance names like:

road_trigger
mtb_trigger
and on

create actions layer
click on first frame
open actions panel f9
past code in actions window:

road_trigger.onpress = function() {
header.gotoandplay ('road');
}

mtb_trigger.onpress = function() {
header.gotoandplay ('mtb');
}

and on

i think got correct

action script explanation:


road_trigger - (is instance name gave button)
.onpress = function() { - type of mouse action want onrollover etc.
header (is instance name of movie clip targeting)
.gotoandplay ('road'); - (so goning play frame label "road when press button.
} ( closes action

the dots dot syntax separating logic

yes there more animation wise can save time.

your done!

shane


More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial