shouldn't be a problem. In your case probably best to load the movide into target MC "loadClip" for example:
loadMovie("yourFile.swf", "_root.loadClip");
so yourFile is in the same directory as your flash movie.
its not 2 movies. you have your movie where the image is tweened. the 2 movies i explained make it move forward/backward. well you could script it, just not sure how much control flash 4 gives you (its been a while). here's code for a button which will show/hide a tweened graphic, using code as...
ok, i think i get it....
use blank button (just put a graphic the same size if image in the hit area).
In your buttonMC have the button the complete length of the movie. Have a stop() on frame 1. label frame 2 "show".
Tween your graphic from frame 2 to 12 - using alpha etc. Stop on...
Scratching head Flash 4 mmmm.
can you use 2 movie clips for the movement called play & reverse. stop() on frame 1. Frame 2 telltarget IMAGE >nextFrame()/prevFrame() frame 3 gotoandPlay(2).
on rollover(forward) telltarget play>gotoandPlay(2).
on Rollout(forward) telltarget play>gotoandStop(1)...
Scratching head Flash 4 mmmm.
can you use 2 movie clips called play & reverse. stop() on frame 1. Frame 2 telltarget >nextFrame()/prevFrame() frame 3 gotoandPlay(2).
on press telltarget play>gotoandPlay(2).
hope that makes sense or works in 4.......
Scratching head Flash 4 mmmm.
can you use 2 movie clips called play & reverse. stop() on frame 1. Frame 2 telltarget >nextFrame()/prevFrame() frame 3 gotoandPlay(1).
on press telltarget play>gotoandPlay(2).
hope that makes sense or works in 4.......
A word of warning:
if (_framesloaded>=_totalframes)
will sometimes make the condition true, when you first start the preload totalframes will = 0 as nothing is loaded.
use.
if (_framesloaded>=_totalframes && _totalframes>1) {
why not use getBytesLoaded for a more accurate preloader?
BenG
Hello,
I've had to strip out all the images on our 'work' section as they were making the page weigh in close to 1MB!
I've been working on this Javascript
<script language="JavaScript">
function flip(name,src) {
if (navigator.appName == "Microsoft Internet Explorer") {...
Hi, thanks.
I ended up using a similar test:
function FocusMe1()
{
if(!window.window1){
}
else if(window1.closed){
}
else{setTimeout("window1.focus()",10);
}
}
still get a strange debug error on pc... but no actual listing in the debugger.
Hi,
Firstly hello as this is my first post. I've just started using javascript and have built a pop up window test for two windows. So have code on 3 pages. The 1st pop up is flash and u click the far right button and then more>> to get the next pop up.
Hopefully my flash detect should work, so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.