Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Need To Execute LOADER



Created a loader seperate from my website, need to execute the loader before the website appears. How do i do this. When someone goes to my website the loader must "load" bf my WSite. Thank you for any help you can give. P.S. didnt mean to repeat myself.



FlashKit > Flash Help > Flash ActionScript
Posted on: 08-13-2003, 12:09 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Execute App?
Hi, I'm new to flash. I am trying to create a flash desktop.
Is it possible to launch an app from a flash movie?
say for instance if I wanted to have it open notepad when I click on a button or graphic.

Execute Php
is there ohter way to call and execute php file rather than
loadVariables("file.php",this);
Thanks

Execute A Roo
is it possible to execute an external file through flash mx?

Execute URL?
Hi, I'm building a menu for my desktop. I'm using flash 5 and Win98. I have a button that should open a program when clicked (eg. Internet Explorer). when using GetURL It starts to download the file, and asks me if I want to save or open. Is there a way to avoid this, such as a function that will execute a URL?

Thanks for your time.

How Do I Execute My .xvb?
I have a vxb script that i would like to launch, instead of an .exe i tried to change it in the fscommand, but it wasn't working, is this possible?

Let me rephrase this.
I have an exe file that will run different kinds of .xvb scripts. But i would like NOT to have to go through all the clicks to get to the .xvb script i want, how do i tell my button to launch my exe, and then use a particular .xvb file?

what i'm thinking is something like this, maybe someone else may get the idea of what i'm thinking of:

on (press) {
fscommand("exec","myProgram.exe", "mySubScript.xvb")
}


I want to "pinpoint". Have myProgram.exe open, but have the "mySubScript.xvb" already loaded up & ready to go.

Self Execute
hi I want to create a flash projector that (is self executable)will start playing once a person loads it in their cd-rom drive i want to create this on a PC but i would like it to self execute on a mac as
well. thanks in advance

Can't Execute
I have a file that is identified as :
Collecting data from file: carol
93.8% (.EXE) Macromedia Projector/Flash executable (1121580/11/184)
3.1% (.EXE) Win32 Executable MS Visual C++ (generic) (37706/45/16)
1.0% (.SCR) Windows Screen Saver (13105/51/3)
0.8% (.EXE) Win32 Executable Generic (10527/13/4)
0.6% (.DLL) Win32 Dynamic Link Library (generic) (7600/42/2)
but I am unable to execute it..What do I need to run it?

Execute
Hey Guys....

Need some help in executing Command Prompt from flash. Can somebody post the script.

Xml Won't Execute On IE7
Here's my problem, I have a banner that is supposed to dynamically load 4 sets of images at the same time. I didn't know how to do this using 1 xml file since I'm only starting to use xml with flash, so I created 4 xml files for each set of images and based my AS on those 4 files. So far so good. Everything seems to work ok when I run the swf directly, but if I try to run it on Internet Explorer it won't open de images.
I read somewhere that someone had a similar problem and that it was due to some I.E. security issue regarding xml. But it didn't have a answer as how to fix it. I'll attach one of my xml files since they are all basically the same.
Here's my AS:

Code:
delay = 2000;
delay2 = 3000;
delay3 = 4000;
delay4 = 5000;
//-----------------------
clearInterval(myInterval);
clearInterval(myInterval2);
clearInterval(myInterval3);
clearInterval(myInterval4);
////--------------
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
firstImage();
}
}
}
function loadXML2(loaded2) {
if (loaded2) {
xmlNode = this.firstChild;
image2 = [];
description2 = [];
total2 = xmlNode.childNodes.length;
for (i=0; i<total2; i++) {
image2[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
firstImage2();
}
}
}
function loadXML3(loaded3) {
if (loaded3) {
xmlNode = this.firstChild;
image3 = [];
description3 = [];
total3 = xmlNode.childNodes.length;
for (i=0; i<total3; i++) {
image3[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
firstImage3();
}
}
}
function loadXML4(loaded4) {
if (loaded4) {
xmlNode = this.firstChild;
image4 = [];
description4 = [];
total4 = xmlNode.childNodes.length;
for (i=0; i<total4; i++) {
image4[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
firstImage4();
}
}
}
xmlData1 = new XML();
xmlData2 = new XML();
xmlData3 = new XML();
xmlData4 = new XML();
xmlData1.ignoreWhite = true;
xmlData2.ignoreWhite = true;
xmlData3.ignoreWhite = true;
xmlData4.ignoreWhite = true;
xmlData1.onLoad = loadXML;
xmlData2.onLoad = loadXML2;
xmlData3.onLoad = loadXML3;
xmlData4.onLoad = loadXML4;
xmlData1.load("images01.xml");
xmlData2.load("images02.xml");
xmlData3.load("images03.xml");
xmlData4.load("images04.xml");
p = 0;
c = 0;
d = 0;
n = 0;
this.onEnterFrame = function() {
filesize1 = container01.getBytesTotal();
loaded1 = container01.getBytesLoaded();
if (container01._alpha<100) {
container01._alpha += 10;
}
filesize2 = container02.getBytesTotal();
loaded2 = container02.getBytesLoaded();
if (container02._alpha<100) {
container02._alpha += 10;
}
filesize3 = container03.getBytesTotal();
loaded3 = container03.getBytesLoaded();
if (container03._alpha<100) {
container03._alpha += 10;
}
filesize4 = container04.getBytesTotal();
loaded4 = container04.getBytesLoaded();
if (container04._alpha<100) {
container04._alpha += 10;
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded1 == filesize1) {
container01._alpha = 0;
container01.loadMovie(image[p], 1);
slideshow();
}
}
}
function nextImage2() {
if (c<(total2-1)) {
c++;
if (loaded2 == filesize2) {
container02._alpha = 0;
container02.loadMovie(image2[c], 1);
slideshow2();
}
}
}
function nextImage3() {
if (d<(total3-1)) {
d++;
if (loaded3 == filesize3) {
container03._alpha = 0;
container03.loadMovie(image3[d], 1);
slideshow3();
}
}
}
function nextImage4() {
if (n<(total4-1)) {
n++;
if (loaded4 == filesize4) {
container04._alpha = 0;
container04.loadMovie(image4[n], 1);
slideshow4();
}
}
}
function prevImage() {
if (p>0) {
p--;
container01._alpha = 0;
container01.loadMovie(image[p], 1);
}
}
function prevImage2() {
if (c>0) {
c--;
container02._alpha = 0;
container02.loadMovie(image2[c], 1);
}
}
function prevImage3() {
if (d>0) {
d--;
container03._alpha = 0;
container03.loadMovie(image3[d], 1);
}
}
function prevImage4() {
if (n>0) {
n--;
container04._alpha = 0;
container04.loadMovie(image4[n], 1);
}
}
function firstImage() {
if (loaded1 == filesize1) {
container01._alpha = 0;
container01.loadMovie(image[0], 1);
slideshow();
}
}
function firstImage2() {
if (loaded2 == filesize2) {
container02._alpha = 0;
container02.loadMovie(image2[0], 1);
slideshow2();
}
}
function firstImage3() {
if (loaded3 == filesize3) {
container03._alpha = 0;
container03.loadMovie(image3[0], 1);
slideshow3();
}
}
function firstImage4() {
if (loaded4 == filesize4) {
container04._alpha = 0;
container04.loadMovie(image4[0], 1);
slideshow4();
}
}
function slideshow() {
myInterval = setInterval(pause_slideshow, delay);
function pause_slideshow() {
clearInterval(myInterval);
if (p == (total-1)) {
p = 0;
firstImage();
} else {
nextImage();
}
}
}
function slideshow2() {
myInterval2 = setInterval(pause_slideshow2, delay2);
function pause_slideshow2() {
clearInterval(myInterval2);
if (c == (total2-1)) {
c = 0;
firstImage2();
} else {
nextImage2();
}
}
}
function slideshow3() {
myInterval3 = setInterval(pause_slideshow3, delay3);
function pause_slideshow3() {
clearInterval(myInterval3);
if (d == (total3-1)) {
d = 0;
firstImage3();
} else {
nextImage3();
}
}
}
function slideshow4() {
myInterval4 = setInterval(pause_slideshow4, delay4);
function pause_slideshow4() {
clearInterval(myInterval4);
if (n == (total4-1)) {
n = 0;
firstImage4();
} else {
nextImage4();
}
}
}
So if anyone has an idea of how to solve this I would appreciate it. Thanks in advance for any tip.

Execute
Hey Guys....

Need some help in executing Command Prompt from flash. Can somebody post the script.

How Do I Execute Programs?
I'm trying to use Flash to design and build an interface for a CD. However, I have not been able to reliably get Flash to execute files. The closest thing that I can do is have it try to download it from my HDD or CD. Is there a reliable way to get Flash to just execute a program? Thank you for any help.

Execute Program?
Anyone can help??
Can Actionscript execute program??
If can, How to?

As To Execute Applications *.EXE ?
as to execute applications EXE into FLASH MX ???

Execute Once Loaded
using flash 6. i load movieB into an instance of movieA and i dont want movieA to execute the next frame until movieB is entirely loaded. ive tried attaching onEvent(load) onto the instance where i load movieB to no avail. am i on the right track?

thank you

Fscommand Execute *.exe *.bat
Flash MX
I was used to run executables with flash 5, but when i used MX this all didn't work like it used???
who? can? help? me?

If Do Not Compare But Execute....?
Hi everybody

I have a problem while scripting a little preloader. Everything goes well until I want a comparison to be made with a "if". I don't know why but my if do not combare but execute what i have to compare. For example:

if (a._width=b._width){
gotoAndPlay(4);
}

if i execute, it will do this : the width of a will be equal to the width of b.... Is there somebody who know what is wrong.
thanks.

Vakarm
here's my frame script:


var vcharge=getBytesLoaded();
var vtotal=getBytesTotal();
var vpourcent=math.ceil((vcharge/vtotal)*100);
//vfondbarretotal is the width of the background of my loading bar.
mcbarre._width=(vfondbarretotal*vcharge)/vtotal;

if (mcfondbarre._width=mcbarre._width) {
gotoAndPlay(4);
}
gotoAndPlay(2);

Execute A Function Each 2 Sec
Hi. Im writting a function to display a graphic, but I want it to draw the graphic slowly. So, I wrotte a function, whose argument is y, and tried to do this, on my scene's 1st keyframe:

controlY = 0;
tempo = 500;
function moveOn() {
gotoAndPlay(2);

}
timer = setInterval(moveOn(), tempo);
y = 1; // I would give the arg somewhere else, but this is a trial
function pos(y) {
trace("foi"+controlY); // if i would see this, then the function works
// y=ax2+bx+c to remember the equation
x = 2;
attachMovie("dot", "dot"+y, 1);
setProperty("dot"+y, _x, x);
setProperty("dot"+y, _y, controlY);
controlY++;
}


and on my 2nd keyframe:
gotoAndPlay(1);
clearInterval(timer);

Auto Execute
ok, is there a code to put into a flash doc that will make my swf file, on a CD, automatically execute? Like you put it in the cd drive and it will automatically start your swf file. Thanks for any help.

Execute Every 3 Seconds
Hi,

How can I get some code to execute every 3 seconds?

I tried to define a static variable to get the start time and then I can start from there, but it kept returning errors.

Any help will be very much appreciated.
Thanks

Pause/execute/pause/execute - HELP
I'm trying to pause something, run the function, when the function is done running, pause again and then execute. What have below works for the first pause and execute:

startTime = getTimer();
this.onEnterFrame = function() {
currentTime = getTimer();
if (currentTime-startTime>4000) {
// do something cause 4 seconds have passed
moveItUp();
delete this.onEnterFrame;
}
};

what I'd like to do is this:
run moveItUp(); after 4 seconds, run another function called moveItUpTop();

I tried placing the first bit of code within moveItUp and it didn't work. What am I doing wrong here? Do I have to clear the timer?

[F8] How Do I Execute A PPS (PowerPointSlideShow)
How do i execute a PPS (PowerPointSlideShow) in a flash 8 presentation???

It is a user driven presentation that has a "next" and "back" button to take them from slide to slide. On one of the slides i need it to execute a PPS that will open ontop of the FLASH ( it is on FULLSCREEN mode aswell ) so that it can play and once complete the user will close the PPS and resume back with the Flash presentation.

Please help my deadline is tomorrow and i have no idea how to do this.
Currently i tried the script:

fscommand("exec", "Shift Happens.pps");

Which doesnt work.

Thanks
Dru

Execute Functions One After Another
I would like to make a function that could execute other functions

execute the one after another - in a manner that the next function is executed only after the one before has finished its task

I have been thinking about how to achieve this but haven`t come up with anything good.

If you have any ideas please share


Thanks in advance

Execute Text
I'm reading in commands from a text file. Anyone know how to execute the variable the commands are stored in?

Execute A String?
I am sooo frustrated... I've spent the last 2-3 hours trying to figure this out. I can't.

I did this sort of thing once before... I think it's possible.

Here's what I'm trying to do:

_parent.module_sounds.loadmovie("module_sounds.swf ");
I'm trying to do it this way:

whichMovie = "module_sounds"
MovieToLoad = "_parent."+whichMovie+".loadmovie('"+whichMovie+". swf');
????ExecuteString?????(MovieToLoad);

I'm trying to build this line out of assembled variables... and then have actionscript execute the line. I don't know how to do it... I've searched Google... and the actionscript dictionary. Nothing is familiar.

This is probably a rookie question to all of you experts out there... sorry. lol.... I am not finding my answers out there... can somebody please tell me how do I write the above code properly?

I'm properly not using the proper lingo. I'm sorry... I'm self taught. Please help me guys! I'm creating a pre-loader and I want it to cycle through an array... 1 movie at a time. that's why it's important that I figure this out.

Execute Php Script
hi, i have an scrip in php, and i want to tell flash to execute that php. is this possible? thanks

Function Does Not Execute At First
Right. I'm having a lot of strange bugs in this project I'm doing. Actual bugs in Flash that get saved into my fla but I managed to get it to work at the end.

Just 1 strange behaviour left.. Please, please advise if you recognise this;

- Timeline enters movieclip frame for the first time.
- I call a function to execute, it does not.
- Normal commands do execute on that frame.
- After this first denial my functions execute when I enter the same frame.

This happens everywhere in my .fla ...

Does anybody know what the H is going on?

Wait Max 5 Sec, Then Execute
have 6 buttons.
When a user dont drag his mouse over one or more of these buttons for about 5 sec.
a mc should run and tell the user "please drag your mouse over these 6 buttons."

And when the user do this, the message should dissapear.

Please how should the code look like.
I should really appreciate that.

Whait Max 5 Sec And Then Execute
Sorry, I just saw that my question has been posted under wrong forum.
Really sorry for that.

I have 6 buttons.
When a user dont drag his mouse over one or more of these buttons for about 5 sec.
a mc should run and tell the user "please drag your mouse over these 6 buttons."

And when the user do this, the message should dissapear.

Please how should the code look like.
I should really appreciate that.

Execute OnEnterFrame
ok, should this work or am i barking up the wrong tree?


Code:
onEnterFrame = traceMe("test")

traceMe = function(param){trace(param)
}
if that won't work then would someone explain how you get something to exectue a predefined function and pass a variable...

Execute An Exe File
Hi Friends,

How We Open An exe File Using Flash Swf Or Exe File.
I Use fscommand exec .But It Cant work.
Also How Open If The exe File Is In cd.
ie,Execute A Setup Program Using Flash File.

Execute OnEnterFrame
ok, should this work or am i barking up the wrong tree?


Code:
onEnterFrame = traceMe("test")

traceMe = function(param){trace(param)
}
if that won't work then would someone explain how you get something to exectue a predefined function and pass a variable...

Flash Does Not Execute JS In IE
Hi everyone

I hope someone can help with my following problem:
I have a flash file with some images seperated by 8 pixels. Each image has a rollover and rollout effect:

Code:
on(rollOver)
{
stop();
//makes a div in the page visible
getURL("javascript: open_pop(popup1)");
}

on(rollOut, keyPress "<Backspace>", dragOut, releaseOutside, press, dragOver)
{
//hides the div
getURL("javascript: close_pop(popup1)");
play();
}
In IE when you move the cursor really quickly over the 8px gap the popup div is not closed/hidden although if you move slowly it is and it works slow or fast in firefox. If you move of the image file all together (not onto anothe image) then the div is hidden.

Does anyone have any ideas of why?

Regards
P_h_p

Execute Functions One After Another
I would like to make a function that could execute other functions

execute the one after another - in a manner that the next function is executed only after the one before has finished its task

I have been thinking about how to achieve this but haven`t come up with anything good.

If you have any ideas please share


Thanks in advance

I Need Execute A .dir Or .pdf By A Button In Swf
Hi, I wanna execute a presentation in director and a few pdf files, but I donīt know use the fscommand scritp.

I use only exe but nothing

Can you help me?

Thanks

What That Script Will Execute ?
Stage.scaleMode = "noScale";
Stage.align = "TC";
stop ();
_root.g_page = 0;
_root.page = 0;

[as1] How To Execute A MovieClip? Help
ActionScript Code:
onClipEvent (load) {
    function fear() {
        this.onEnterFrame = function() {
        };
        letterHold1 = new Array("B", "C", "D", "E");
        startHold1 = new Array(2, 2, 2, 2, 2);
        for (var b = 0; b<4; b++) {
            for (var a = startHold1[b]; a<=9; a++) {
                if (_root["boxx"+letterHold1[b]+a].holder._currentframe == 13) {
                    _root["boxx"+letterHold1[b]+a].holder.gotoAndPlay("light_off");
                }
            }
        }
        letterHold2 = new Array("F");
        startHold2 = new Array(1, 1, 1, 1, 1);
        for (var b = 0; b<3; b++) {
            for (var a = startHold2[b]; a<=7; a++) {
                if (_root["boxx"+letterHold2[b]+a].holder._currentframe == 13) {
                    _root["boxx"+letterHold2[b]+a].holder.gotoAndPlay("light_off");
                }
            }
        }
        letterHold3 = new Array("A");
        startHold3 = new Array(4, 4, 4, 4, 4);
        for (var b = 0; b<3; b++) {
            for (var a = startHold3[b]; a<=9; a++) {
                if (_root["boxx"+letterHold3[b]+a].holder._currentframe == 13) {
                    _root["boxx"+letterHold3[b]+a].holder.gotoAndPlay("light_off");
                }
            }
        }
        letterHold4 = new Array("A");
        startHold4 = new Array(1, 1, 1);
        for (var b = 0; b<3; b++) {
            for (var a = startHold4[b]; a<=3; a++) {
                if (_root["boxx"+letterHold4[b]+a].holder._currentframe == 13) {
                    _root["boxx"+letterHold4[b]+a].holder.gotoAndPlay("color");
                }
            }
        }
        if (_root.boxxF8.holder._currentframe == 13) {
            _root.boxxF8.holder.gotoAndPlay("color");
        }
        if (_root.boxxF9.holder._currentframe == 13) {
            _root.boxxF9.holder.gotoAndPlay("color");
        }
        delete this.onEnterFrame;
    }
    fear();
}

How To Execute Fscommands
Hello all,

I was wondering if there is a possibility of running fscommands on text located in a Dynamic Text field. I know that you can do it with buttons.

Ideally, I would like to call a file from a link that is located in a dynamic text box.

Your help is very much appreciated!

Thank you.

Double Loader & One Instance Level Loader
Just sharing what I figured out.(which wasn't much but hey figured I'd post it anyway)

TASK1
I needed a preloader to load two seperate MC's into levels 1&2. Level 2 contains the interface which would change the MC on level 1.

TASK2
Once these two initial movies were loaded I then needed a single instance of a preloader that I could call upon for each subsequently loaded movie on level 1.

All the MC's have linkages so standard loaders would not start until 30%-40% of the MC was loaded.

I used a couple of files from oldnewbie.


http://odin.prohosting.com/~oldnew/f...ng/preload.zip


For TASK 1 I used the code from the above file but modified it a little.
I simply duplicated every line that referred to containerMC and called it containerMC2.Then at the end of the script instead of loading a single movie into level 0, I loaded the 2 MC's I had previously loaded into the containers onto levels 1 & 2. There's probably a much better way to do this - but it works

IF ANY OF YOU HAVE A BETTER SUGGESTION OR A WAY TO PRELOAD 2 MOVIES WITH LINKAGES INTO SEPERATE LEVELS WHERE THE PRELOADER MOVES FROM "Currently preloading movie 1" to "Currently preloading movie 2" WOULD BE AWESOME.

For TASK 2 I used another file from oldnewbie (though I can't recall which thread I found it in).

It's a One Instance Preloader for all subsequently loaded swf's.

The button code for loading a movie:

on(release) {
_root.preloader.gotoAndStop(2);
loadMovieNum("One.swf",1)
}


The preloader code:

FRAME 1

stop();

FRAME 2 (where the symbols are - same symbols as in the .zip file above)

this.onEnterFrame=function(){
//trace the percentage of the movie that has loaded
percent=(_level1.getBytesLoaded()/_level1.getBytesTotal())*100;

if(!isNan(percent)){
//trace(Math.ceil(percent)+"% loaded");
if (percent == 0) {
percent_display = "";
} else {
percent_display = Math.ceil(percent) + "% LOADED.";
}
this.loadbar._visible = true;
this.loadbar._xscale = percent;
if (percent > 1) {
this.reelmc._visible = true;
}
_level1.stop();
}
if(percent == 100){
this.gotoAndStop(1);
delete this.onEnterFrame;
this.reelmc._visible = false;
percent_display = "";
this.loadbar._visible = false;
_level1.play();
}
}
stop();

That's it. If you can use it, great.

Simple Loader Fails When Loading In An .swf Containing The Loader.
Sorry for the complicated topic. I got a .swf that loads in other .swfs. Rather than figuring out how to make a loader for loading .swfs I thought I'd just use a simple loader in the .swf I'm loading.

However, it doesn't work. It starts fully loaded but doesn't finish. Heres the AS:

ActionScript Code:
_root.stop();
PercentLoaded = _root.getBytesLoaded()/_root.getBytesTotal()*100;
if (PercentLoaded != 100) {
    bar._xscale = PercentLoaded;
} else {
    _root.play();
}

Anyone got a clue? Or would anyone be willing to point me in the direction for a very simple .swf loader.

thanks!

Simple Loader Fails When Loading In An .swf Containing The Loader.
Sorry for the complicated topic. I got a .swf that loads in other .swfs. Rather than figuring out how to make a loader for loading .swfs I thought I'd just use a simple loader in the .swf I'm loading.

However, it doesn't work. It starts fully loaded but doesn't finish. Heres the AS:
ActionScript Code:
_root.stop();PercentLoaded = _root.getBytesLoaded()/_root.getBytesTotal()*100;if (PercentLoaded != 100) {    bar._xscale = PercentLoaded;} else {    _root.play();}


Anyone got a clue? Or would anyone be willing to point me in the direction for a very simple .swf loader.

thanks!

Loader Page - Web Site Starts Behind The Loader
Hey Everyone...

i ran into a very odd problem... to loader page on this site:

http://www.onefortheditch.com/new/loader.html

works fine, except the fact that it doesnt stop the web site from playing while its loading. the web site plays the splash page in the background while its loading...

Any ideas what would be causing this? I use this same feature on my personal site, and it works fine, so i compared codes, and i cant see anything wrong.

Heres the native files if anyone wanted to check it out:

http://www.onefortheditch.com/loader.zip

Thanxs in advnace!! :)

How To Execute A Function Inside A MC ...
Hello, here me problem:
I have a function init() inside of my mc.
This function set the colour of the object.
But, i dont know hy, i can't execute it!
Strange things happen.
What i want is called the function, set the color and
play the movie. The movie must not run 'till it's initialised because the value set is used in the next frames.
The mc is in the libtairy, and I use attachMovie()
to attach it to root ..

Tnx!

Script Will Only Execute When Exported As V5
__________________________
baseSpeed = 2;
if (_root.seekTarget<>0) {
deltaY = _root.levelScroll._y-_root.seekTarget;
if (deltaY>-3 and deltaY<3) {
_root.levelScroll._y = _root.seekTarget;
} else {
_root.levelScroll._y -= (baseSpeed+deltaY)/baseSpeed;
}
}
__________________________

This code is within the first frame of the Movie Clip.

'seekTarget' value is given at the '_root' of the movie on seperate mouse actions.

The MC will only change it's '_y' position when exported as Flash 5 even though I am not using any Flash 5 functions or been given any errors.

This movie must be produced as a Flash 4 movie.

Can anyone help

Execute Files/autorun Cd
I have made an autorun screen in flash.
There is a couple of links to powerpoint files.
On the cd I have a copy of powerpoint viewer (ppview32.exe)

How can I execute a powerpointfile and open it with the ppview32.exe

One of the things I tried was

x = "ppviewer.exe" + chr(9) + "myfile.pps";
fscommand ("exec", x);

Any ideas?

How To Execute An *.exe From A Flash Projector?
hi, i need to execute a software application (*.exe) from a Flash Projector i'm making for a CDRom, but the projector hangs itself.
to do that, i've tried this:

on (release) {
fscommand("exec", "soft.exe");
}

the soft.exe it's on the same CDRom.
what can i do???

thanks in advance
mcclaine

Getting Actionscript To Execute When Exporting As .avi
I'm working on a video presentation--a slideshow of sorts--that centers on around 120 photos. Rather than create alpha tweens for each and every image, I created one pair of tweens (in and out) in a loop, with a bit of Actionscript to select the image used in each iteration of the loop. It all works fine when exported as an .swf or projector, but one of the ideas of this project is strict portability (so no .swf), and all those images would get a bit hefty for slower computers (ruling out .exe), so I'd like to export it as a movie file (since no user interaction is required). Problem is, the Actionscript used to coordinate the images doesn't evaluate when exported as an AVI--I get a single blank frame, that's it.

So is there any way to get the Actionsccript to execute when the file is exported? I can understand why you wouldn't want it to, normally, seeing as how Actionscript often involves user interation, but, as I mentioned, this project involves none.

Anyway, thanks in advance
-andrew

How To Execute Other Programs (.exe) From Flash
I try to execute programs with "exec" command but nothing happend
on (release) {
fscommand("exec", "program.exe");
}

Is there a way to meke this work

Execute A External File
Hi,

I'm working on a cd presentation on Flash 5.0 and wanted to have an option for installing Acrobat Reader from the CD.

How can I launch the exe file?

Thanks

How To Execute A Dynamic String
Hello. I am trying to build a breadcrumb function so there is a navigational trail based on what content the user is viewing. Here is the code I am using:

function breadCrumb () {
//retrieve a 1-4 value corresponding to the 4 main nav areas location = _root.vars:loc;
//dynamically assign value to primloc that corresponds to established variables (nav1loc, nav2lock, etc.) denoting literal nav titles
primloc = _root.vars["nav"+location+"loc"];
//this is what wont work. it returns "navXElements", where X is the value of the active subnav tab, but as a literal string. I need it to execute so it returns and pringts the variable stored in _root.vars
secloc = "nav"+location+Elements+"["+_root.vars:subloc+"]";
trail = primloc(secloc);
}

Does this make sense? How can I force a literal string to execute?

Thanks for any help, and if this code is not enough for a proper "diagnosis" i can post the .fla somewhere.

Noah Pedrini

Copyright Đ 2005-08 www.BigResource.com, All rights reserved