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








External AS Component (Fuse) Loading On First Frame


Hi there.

I am calling the Fuse component on Frame 5 of my movie but it seems to be wanting to load in on the first frame which is where my preloader is. The fuse file seems to be around 107kb so my movie seems to be loading the fuse stuff before the preloader.

Any ideas on what I can do to get the Fuse stuff loading when called (frame 5)

Thanks a lot

Tony Mead





























Edited: 05/01/2008 at 10:07:25 AM by tony_mead




Adobe > ActionScript 1 and 2
Posted on: 05/01/2008 09:44:29 AM


View Complete Forum Thread with Replies

Sponsored Links:

External Swf Is Loading, But Not Animating Using Fuse
ok please bare with me trying to explain this...

I have an empty container movieclip which I need an external .swf to load into, and then be animated using fuse. With the code I have below, the .swf loads but isn't animated using fuse.

the only way I got this to work was by putting contentHolder.loadMovie("contenttest.swf"); outside of the onRelease function, but i need it in there. Can anyone help me??

Code:

this.createEmptyMovieClip("contentHolder", 1);
contentHolder._x = -1000

btnOne.onRelease = function() {
contentHolder.loadMovie("contenttest.swf");
if (f != undefined) f.stop();
var f:Fuse = new Fuse();
f.push([{target:mcLine, x:165.1, y:0, width:64.8, start_Blur_blurX:100, seconds:1, ease:"easeOutElastic"},
{target:contentHolder, x:170, seconds:1, ease:"easeOutElastic"}]);
f.start();
}

View Replies !    View Related
Loading A Frame In _root And Also Loading An External Movie Problems.
First of all, hello everyone and nice to meet you

I have been hacking at a problem for a couple of days now and I am in need of help to solve it. Please excuse my noobishness, but I have a lot to learn when it comes to flash.

Here is my scenario:

I have my main movie (_root)
In the actions layer of my main movie I have:

Code:
this._lockroot = true;
I have a button that loads a new external movie at the end of which I want to load a particular frame in the main movie. I call this from the external movie:

Code:
on (release) {
_root.gotoAndPlay(610);
}
Everything up to here works brilliantly....But my problem arises when I also try to load an external movie onto level 5 at the same time as I am instructing the main movie to play frame 610 from an external movie. I want the external movie to call frame 610 in main, and also load a new external movie on level 5 in the main movie. I have tried about every way of loading movies that I can think of but I can never get the external movie to load along with frame 610 of the main movie. I even tried _root.loadMovieNum("myexternalmovie",5) right after my first root call, like this:

Code:
on (release) {
_root.gotoAndPlay(610);
_root.loadMovieNum("myexternalmovie",5)
}
Is that possible or do I have to approach this entirely differently? Thanks for any responses

View Replies !    View Related
Fuse And External SWFs
Hi all,

I'm putting my site together, and I want to load/unload external SWFs for each section of the site. When the site initially load, I have this even listener in place to detect when all of the layout animations finish:


Code:
f.addEventListener("onComplete", menuLabelsDone);

function menuLabelsDone():Void {
_root.contFrameIn.contentLoader.currMovie = "front";
contFrameIn.contentLoader.loadMovie(_root.contFrameIn.contentLoader.currMovie+".swf");
f.start(true);
}
Now, when the user clicks a button, I want whatever section SWF that is loaded to fade-out, unload, the container MCs to resize and finally the new SWF to load, and here's the code I put together for it (without the new loading function):


Code:
contFrameIn.mainNav.profileTrigger.onPress = function() {
function currMovieFadeTwo():Void {
var f:Fuse = new Fuse();
f.autoClear = true;
f.push (
{target: _root.contFrameIn.contentLoader.currMovie, _alpha: "0", time: .6, delay: .1, ease: "easeInExpo"}
);
f.start();
}

currMovieFadeTwo();

f.addEventListener("onComplete", currUnloadTwo);

function currUnloadTwo():Void {
contFrameIn.contentLoader.unloadMovie(_root.contFrameIn.contentLoader.currMovie+".swf");
f.start(true);
}

currUnloadTwo();

f.addEventListener("onComplete", profileTween);

function profileTween():Void {
var f:Fuse = new Fuse();
f.autoClear = true;
f.push ({delay: .2});
f.push ([
{target: [contFrameOut.contFrameOutMC, contFrameOut.dropShadow], _width: 826, _height: 420, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.contFrameInMC, _width: 806, _height: 400, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.navBG, _y: -190, _width: 786, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.wordmark, _x: -382, _y: -168, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.vertBar, _x: -299, _y: -167, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.taglines, _x: -298, _y: -170, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.taglineMask, _x: -300, _y: -156, time: .65, ease: "easeOutExpo"},
{target: contFrameIn.mainNav, _x: 136, _y: -162, time: .65, ease: "easeOutExpo"}
]);
f.start(true);
}

profileTween();
}
The problem I'm running into is that I'm getting an error from the Zigo Engine that it can't find the target for the fade-out (first Fuse in the onPress function). I don't want to name the SWF itself as a target because the whole point is that it's supposed to affect whatever the current movie that is loaded is, not a specific one by instance name. Anyone know how I can get this working the way it should?

Thanks in advance!

View Replies !    View Related
Loading External .swfs With Component Using MC's
Hi, I am trying to load external .swfs using componets with a MovieClip. I've included an .fla file here to help the situation here. Anyways, I have 2 types of buttons, one is an actual button, the other is a movieclip acting as a button. The button loads up the .swf, but the MC doesnt. I have no clue why. I can't use the button in my portfolio, I have to use the MC acting as a button. Let me know what you think, thanks.

Corey

View Replies !    View Related
[F8] Loading External Using Component Pleaseeeee
Hi,

Can somebody help me about loading an external swf into a container and using a component as a preloader when doing that. I didn't understand how movieloader class is used

I have a little example zip file attached.

Please help.

Last day of my deadline.

thanks

View Replies !    View Related
[F8] Loading External SWF Into Accordion Component
Hi. I've loaded an external swf into an accordion, but the internal nav code for the external swf isn't working.
the external movie has a slding menu system that works on its, but not when loaded into the accordion component. Is there a path i should prefix the code with? the internal code in the external swf is now prefixed with _root.
The rollover buttons in the loaded movie work, but not the sliding functionality. Below is the frame 1 code of the imported swf.

Any help or explaination will be very helpful.
Thanks.

Martoons

Code:

main.onRelease = function ()
{
_root.targetx = 0;
_root.script.gotoAndPlay("move");
}
;
clients.onRelease = function ()
{
_root.targetx = -400;
_root.script.gotoAndPlay("move");
}
;
partners.onRelease = function ()
{
_root.targetx = -800;
_root.script.gotoAndPlay("move");
}
;
hours.onRelease = function ()
{
_root.targetx = -1200;
_root.script.gotoAndPlay("move");
}
;

View Replies !    View Related
PLEASE HELP *Error Loading Fuse* ?
OK... Loosing it...

Please, can someone explain why I'm getting this error?

**Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 9: The class 'Fuse' could not be loaded.
var f:Fuse = new Fuse();

I'm going through the video tutorial on "Advance Fuse Animation". I think the code is correct.. ?

Running MX04 on OSX...
Thanks

HERE iS the code:
___________

import com.mosesSupposes.fuse.*;

ZigoEngine.register(Fuse,PennerEasing);

this.creatEmpyMovieClip("leader",1);

function moveLeader():Void
{
var f:Fuse = new Fuse();
f.push({target:leader, x:grp, y:grp, controlX:grp, controlY:grp, time:1, ease:"easeOutQuad"});
f.push({func:moveLeader});
f.start();
}

moveLeader();

function grp():Number
{
return Math.random()*600;
}

this.onEnterFrame = function()
{
var t:MovieClip = this.attachMovie("circle","c"+this.getNextHighestDepth(),this.getNextHighestDepth());
t._x = leader._x;
t._y = leader._y;
}

View Replies !    View Related
Loading External Text Into The Textfield Component
Using MX 2004pro there is no longer a scrollbar compnent? it seems to simply be stuck inside the text field component

so my question is how do I load external text into this component?

View Replies !    View Related
External Text Loading W/ Scroll Component
I am using the Scroll Component (Flash MX 2004) and have it working by typing the text in the field - although I select Dynamic text, the text is permenant. My question is how do I load the text from an external TXT file to in relationship to use with the scroll component?

Any help appreciated.

Thanks,

Kerry

View Replies !    View Related
Loading External Dynamic Text/component
hi everyone,

i'm using components (specifically the scroll bar component) and have created a file that seems to be functioning correctly.

i would like to use this scroll bar file externally - call it up from another main file using loadMovie. however, when i try to do this, the text and some elements of the component disappear.

any thoughts would be greatly appreciated!!!

thanks in advance.

rachel

View Replies !    View Related
External Loading Combobox Component Problem
Hi guys,
Ive got a problem with these combobox components, when I load them throw loadMovie("testing.swf",_root.content); they just doesnt work, I can NOT figer out why. When I try It in the main movie they work just fine, but when I change that code to OPERATE with main movie these combobox components doesnt work. PLS check this out in

http://www.poslednisance.cz/help/loader.html


The problem is JUST when I LOAD IT LIKE EXTERNal SWF. This code work fine in main movie ... I change just the listener to comboxstat to load it thow loadmovie ... datagrid work just fine only comboxes **** up ... I mad of it

View Replies !    View Related
Component Loader Loading An External Swf With Preloader
Could someone please help me

My Rab.swf movie has a component loader which loads a external Ball.swf file.
The Ball.swf has a preloader which is on the first two fames and a movie on frame 3. The preloader works fine until it gets to 100% but then doesn't jump to frame 3 to play the movie.

For some reason line 2 of this part of the code is not being recognised:

if(amount == 100) {
this.gotoAndPlay(3);
delete this.onEnterFrame;

Since the ball.swf is being loaded by a external loader Should I use the
this. command.
If I just use the Ball.swf on a html page the preloader works fine and then
executes line 2 and plays the movie.

Thanks for your ideas
Tiaka
P.S Im using script 2

View Replies !    View Related
External Text Loading W/ Scroll Component
I am using the Scroll Component and have it working by typing the text in the field - although I select Dynamic text, the text is permenant. My question is how do I load the text from an external TXT file to in relationship to use with the scroll component?

Any help appreciated.
Thanks,
Kerry

View Replies !    View Related
DataGrid Component Loading External File? PLEASE HELP
This is the 3rd forum i've posted this on now lol. No one can or will help me with this.. and it dont even seem that hard!

So PLEASE help,

I've created a list of rankings for top scores using the datagrid component, which you can see here, and at the moment the data for the rows/columns listed within the dataGrid Component are all in the AS3 code (below), but i dont want it in the AS3 code, i want that code in a external file (dont know what kinda file to use for this?) which the DataGrid Component would load from and display.

Heres the AS3 code:

ActionScript Code:
import fl.controls.DataGrid;import fl.events.DataGridEvent;import fl.controls.ScrollPolicy;import fl.data.DataProvider;import flash.net.navigateToURL;var i:uint;var totalRows:uint = 5;var dp:DataProvider = new DataProvider();dp.addItem({Rank:"1", Name:"lightspeed", Time:"13.219", CPU_Type:"C2D E6600", CPU_MHz:"3887 MHz", RAM:"4096MB DDR2", RAM_MHz: "864 MHz"}),dp.addItem({Rank:"2", Name:"Beany", Time:"13.766", CPU_Type:"C2D E6600", CPU_MHz:"3700 MHz", RAM:"2048MB DDR2", RAM_MHz: "1235 MHz"}), dp.addItem({Rank:"3", Name:"Timmaah", Time:"13.984", CPU_Type:"C2D E6600", CPU_MHz:"3627 MHz", RAM:"2048MB DDR2", RAM_MHz: "1005 MHz"}), dp.addItem({Rank:"4", Name:"Darth Vader", Time:"14.000", CPU_Type:"C2D E6600", CPU_MHz:"3600 MHz", RAM:"1024MB DDR2", RAM_MHz: "1000 MHz"}), dp.addItem({Rank:"5", Name:"ik0n", Time:"14.181", CPU_Type:"C2D E6600", CPU_MHz:"3600 MHz", RAM:"2048MB DDR2", RAM_MHz: "800 MHz"}), var dg:DataGrid = new DataGrid();dg.setSize(576, 425);dg.move(20, 112);dg.sortableColumns = false;dg.columns = ["Rank", "Name", "Time", "CPU_Type", "CPU_MHz", "RAM", "RAM_MHz"];dg.columns[0].width = 45;dg.columns[1].width = 136;dg.columns[2].width = 65;dg.columns[3].width = 110;dg.columns[4].width = 80;dg.columns[5].width = 100;dg.columns[6].width = 80;dg.dataProvider = dp;addChild(dg);dg.addEventListener(Event.CHANGE, topTen);function topTen(event:Event) {    if (event.currentTarget.selectedItem.Rank == 1) {        gotoAndStop(11);    }    if (event.currentTarget.selectedItem.Rank == 2) {        gotoAndStop(12);    }    if (event.currentTarget.selectedItem.Rank == 3) {        gotoAndStop(13);    }    if (event.currentTarget.selectedItem.Rank == 4) {        gotoAndStop(14);    }    if (event.currentTarget.selectedItem.Rank == 5) {        gotoAndStop(15);    }    if (event.currentTarget.selectedItem.Rank == 6) {        gotoAndStop(16);    }    if (event.currentTarget.selectedItem.Rank == 7) {        gotoAndStop(17);    }    if (event.currentTarget.selectedItem.Rank == 8) {        gotoAndStop(18);    }    if (event.currentTarget.selectedItem.Rank == 9) {        gotoAndStop(19);    }    if (event.currentTarget.selectedItem.Rank == 10) {        gotoAndStop(20);    }    if (event.currentTarget.selectedItem.Rank == 11) {        gotoAndPlay(21);    }    if (event.currentTarget.selectedItem.Rank == 12) {        gotoAndStop(22);    }    if (event.currentTarget.selectedItem.Rank == 13) {        gotoAndStop(23);    }    if (event.currentTarget.selectedItem.Rank == 14) {        gotoAndStop(24);    }    if (event.currentTarget.selectedItem.Rank == 15) {        gotoAndStop(25);    }    if (event.currentTarget.selectedItem.Rank == 16) {        gotoAndStop(26);    }    if (event.currentTarget.selectedItem.Rank == 17) {        gotoAndStop(27);    }    if (event.currentTarget.selectedItem.Rank == 18) {        gotoAndStop(28);    }    if (event.currentTarget.selectedItem.Rank == 19) {        gotoAndStop(29);    }    if (event.currentTarget.selectedItem.Rank == 20) {        gotoAndStop(30);    }}


The reason i want this is because i'm trying to create a submit form so people can post there scores themselfs into the rankings, rather than me always having to update it manually, and i want the scores to be posted to an external file (like .txt .as, .xml, no idea which to use??) Then the DataGrid Component would load the submitted scores from the external file.

I'm rubbish with AS3 so could someone please edit the above code to what is needed? Or explain in detail what i need to do? Because most of time people reply saying do this and that, and i've no idea what there on about because i'm not good with AS in general...
And i can put up the .FLA for download if needed...

Thanks!

View Replies !    View Related
External Text Loading W/ Scroll Component
I am using the Scroll Component and have it working by typing the text in the field - although I select Dynamic text, the text is permenant. My question is how do I load the text from an external TXT file to in relationship to use with the scroll component?

Any help appreciated.
Thanks,
Kerry

View Replies !    View Related
Loading External Text In A TextArea Component
Hi does anyone know how to load text from a text file to a TextArea.

View Replies !    View Related
Loading A MC From An External Swf At Frame 15
Hello!

I have two swf movies - one "main" movie and one "details" movie. In the "details" movie i press a button and the "main" movie should be loaded. The problem is, in the "main" movie i want to have a MC started, when i press this button or i want to goto one exactly frame. I tried to solve this problem, but the "main" movie is always been played from frame 1!


Please help!

View Replies !    View Related
Loading External SWF Certain Frame?
Hi all,

can i loadMovie swf but not to start from the begining but a certain frame in it?

like in HTML <a href="xyz.htm#link">

Thanks

View Replies !    View Related
Loading Frame From External Swf
on (rollOver) {
loadMovie("Headers.swf", "content");
gotoAndStop(2);
}


I know this is probably wrong... the gotoAndStop part, so what should I do?

View Replies !    View Related
Loading External Swf And Going To A Certain Frame...
I need to load an external SWF, which, in turn, has a movieclip on its' stage. I need to go directly to a frame in the movieclip. How do I do this????

It's like this:
I'm in x.swf. I click a button to call y.swf like this:
on (release) {
unloadMovie("x.swf");
loadMovieNum ("y.swf", 1);
}

y.swf has in itself a movieclip called mc_menu.
The first time y.swf is called, I want it to load normally.
When I call it from x.swf though, I need mc_menu to skip to frame 29.

View Replies !    View Related
Loading External Swf Into Scroll Pane Component Problem
Hi,
I'm trying to load an external swf into a scrollpane component. That works fine but the swf is behaving eratically when in the scroll pane. Alone, it works just fine. At first i thought it was a targeting problem withing the code in the external file but that doesnt seem to be it. Then i thought it may be problems with the slider that i am using but i havent been able to isolate it yet. Any help would be greatly appreciated. Thanks.

The files seemed to be too large to attach here so here is a link to a zip file that contains both .flas and a swf file.
http://www.united-fire.com/loadScrollTest.zip

View Replies !    View Related
[F8] Loading External Flv Into Media Playback Component Using Actionscript
I've looked all over and can't find a good resource on how to load an external flv into the media playback component using actionscript so any help would be greatly appreciated

View Replies !    View Related
Loading External URL In HTML Frame
I have a problem with loading an external URL into my HTML Frame.

I have the following on a menu item that work well :
getURL("http://www.site.com", "main");
And this on another :
getURL("mypage.htm", "main");

This work well until I click an external URL. www.site.com stay there when I click on the item that open mypage.htm.

Anybody knows why I have this problem?

I would prefer load the external URL in my frame but if I can't I'll use this that work fine :
getURL("http://www.site.com", "_blank");

View Replies !    View Related
Loading External Swf To Specific Frame
I'm SO sorry to post this again, but I've lost my previous information. Forgive me!


How do I go about loading an external swf, from a button, and having it go to, say, frame 45 instead of frame 1?

Right now, my buttons have the following code in them to load the external movies:

on (release) {
_root.emptymc.loadMovie("who.swf");
}

Thank you very much!
~Vikkie

www.explorecore.com

View Replies !    View Related
Loading A Specific Frame From External Swf
This is a FlashMX problem. I posted in the wrong section of the forum last time. ooops!

I'm trying to get to a frame label in an externally loaded swf but it just doesn't wanna work. This code works right up until the line that calls the gotoAndPlay....part. The external swf I call always opens in the first frame which is not what I want.

It just doesn't seem to call the frame label in the external swf at all.

rNum = random(5);
_root.createEmptyMovieClip("movieHolder",2);
movieHolder.loadMovie("ext_rnd_btn.swf");
_level2.movieHolder.gotoAndPlay("frameLabel_0"+rNu m);

Can anyone help me please?

View Replies !    View Related
TextArea Component Problems (loading External HTML Files)?
I'm having a lot of trouble loading my HTML files into a textArea component that I have. The main difference is that when I try to do it on the ._root stage, it works, but if the component is nested inside a movie clip, it can't seem to load the html file at all.

Okay, so here's the situation a little more in detail (forgive me, I don't have the files open in front of me at the moment, so I'm going strictly by memory):

The textArea is a part of a graphic symbol that I made as a popup window, so for or purposes, I'll call it 'window'. This symbol, containing the aforementioned textArea component, is inside a movie clip that I used to make transitions for the window. We'll call this movie clip "popup" as that's pretty much what it does. So in my main stage, I have a button that loads the movieclip "popup". Say the code looks like:

on(release) {
this._parent.attachMovie("popup", "instance1", 1);
window._x = 0;
window._y = 187;
}

This loads the "popup"movie clip just fine. It plays and all, but inside the movie clip, on frame 1, I'm trying to load the external html file into the textArea component that's inside the "window" symbol with a script like:

var loadtextContent = new LoadVars();
loadtextContent.load("content.html");
loadtextContent.onLoad = function(success) {
if (success) {
textArea.text = loadtextContent.mytext;
}

};

That's not verbatim, but I know that it does work on the main stage, I just can't seem to get it to work on a textArea that's anywhere else.

Want I want to do is just have a swf and when you click on a button, it loads the popup to simulate a GUI, with the html loaded on the fly, as there would ideally be several buttons for different html files.

Now, I'm rather stuck. I don't really know where I went wrong. Am I placing the script in the wrong places and using incorrect target paths ? (I do that sometimes) Am I just approching this the wrong way? In theory, it shold work, but I can't get my html loaded, so any ideas at all would be appreciated. A workaround or another way about this would be as well. Thanks all.

-J

View Replies !    View Related
Loading External Swfs Then Moving To Next Frame
So here is my problem:

I have many frames and on each frame I would like to load a swf file that has my text effect (created in flash typer which is awesome!!) after the text effect has finished loading i would like it to move on to the next frame. When I preveiew render it the first frame plays great, but will not move to frame 2. if I right click and hit forward it plays the next frame correctly but does not go to the third frame unless I repeat the right click process. Here is my code.

stop();
loadMovieNum("andersonville.swf", 5);
if ("andersonville.swf".loaded) {
play();
}

PLEASE HELP!! I am dyer need

View Replies !    View Related
Loading A Specific Frame Of An External Movie
Hey all,

I have sorted out how to get the exernal movie to load into my main file but I cannot get it to go to frame 2 of the external swf. Any advice on how to do this?

thanks so much!

View Replies !    View Related
Calling External Swf And Loading On A Frame Label
I have a button on my main timeline that calls an external swf file into an empty container movie. How do I load external swf file and play on a particular frame label?
I want to load a file called original.swf and start playing on a frame label called stockwheels

my actionscript reads:
on (release) {
containerMovie.loadMovie("flash/original.swf", "stockwheels");
}

any ideas?
Thanks!

View Replies !    View Related
Loading External Movieclip Into Layer And Going To Frame
I am trying to load an external movieclip into layer10 which is working fine using:


on (release) {

loadMovieNum("worksheets.swf",10);
}

However I want the movieclip to go to a particular frame or label depending on what button instance it is called from on my mainmoive. Everything I have tried is not working. Any help would be appreciated.

View Replies !    View Related
Loading An External .swf Into A Container On Entering A Frame
Hi guys!

I'm working on a flash website for a client (it's my first paid flash work) and I'm having issues with getting a .swf to load into an empty movie clip I've created...I'm pretty sure it's known as "loading into a target" and I've followed the tutorial put forward in your tutorial section but I can't get it to work!

I have a flash movie clip which I've saved out as a .swf. Then I have inserted a blank movieclip on the frame of the flash site that I want the .swf to load into. I've then attached the code to the same button that takes you to that frame with the intention that as you click to go to that frame of the site the .swf will load into the blank movieclip...doesn't happen though

Can someone post me some code along the lines of "on frame enter .swf will load into blank container"? I'm pulling my hair out trying to get this to work!

Also, if anyone knows a good preloader tutorial then I'd love a link to that too!

Hope someone can help!

-Dunc

View Replies !    View Related
Loading External Swf And Playing A Certain Frame On That Loaded Swf
hi guys, i have a button thats has this action script to load external swfs

on (release) {
loadMovieNum("introduction.swf", 1);
}

how do i make this actionscipt to load that external swf and start playing animation on frame 30.

many thanks guys!!

View Replies !    View Related
Loading Specific Frame Of External .swf File
Hello!

I am attempting to load the same .swf file into three different scenes of my movie. The external .swf has three frames, and in each of the three scenes, it will need to stop on a different frame. I am loading the .swf into an empty movie clip by referencing the movie clip's instance name. I am using actionscript 2.0 and working in Flash CS3 -- but due to some other script I am using, the file is saved out as Flash 8.

Thanks in advance for your help!

View Replies !    View Related
Having Problems With Loading External SWF To A Specific Frame
I'm having some issues trying to load external swfs into frames. I've hunted around and tried the things on the forum but I just can't seem to get it right.

basically, I've built a pre loader, and an intro animation which ends and the images turn into buttons. on clicking the buttons I want to send it to a specific frame to load in the external swf.

could anyone please help me out!? I'm on a tight deadline and this is driving me nuts!

View Replies !    View Related
Loading Specific Frame From External Movie
Hello!

I have no idea if what I am writing now will make any sense, but I will give it a try anyway. I am pushed by a deadline and I need to find a solution for my problem:

I am building a presentation in Flash. It is quite complicated, but I am not using any actionscript - just Stop, Play, Go back, etc.

There is a section Photo Gallery which is a list of thumbnails. Clicking on a thumbnail should open the photo in a bigger format.

I need some kind of solution which can help me avoid importing 100 preview images.

So, is it possible (and how does it work) to create an external movie with all preview images imported one after another in 100 frames and by clicking a thumbnail from my main movie to load the corresponding preview photo (frame number) from the external movie?

Let's say in my main movie I click on thumbnail number 3 and I load the external movie's frame #3 where the corresponding preview photo is placed?

View Replies !    View Related
Loading An External Swf File At A Specific Frame
Hi,

I have this button in my main movie, when i click it i want it to load an external swf file, but i want it to load it at a specific frame, say the 20th. How do i do it?

The action script that i currently have loads the movie from the beginning:

on (release){
_root.loadMovie("mymovie.swf");
}

How do i modify this script to achieve what i want?

Thank for the help.

View Replies !    View Related
Detecting Frame Number And Loading External Movies
i am trying to load a movie by trying to traget a specific frame but to no avail. i read some time ago here on the board that you could use the _currentframe property to do this sort of thing and its doing my head in !!

here's the specifics
i have 2 movie clips called 'pic1' and 'imagebox'
'pic1' acts as a thumbnail with an image inside, and an empty button in it which when you click on it prompts a box to open (imagebox), and then once that is fully open it loads the larger version (as an external swf file) of the image so as to minimise download time.

the actionscripting i've used is as follws:
Button inside pic1:

on (release) {
with (_root.imagebox) {
gotoAndPlay (2);
}
if (_root.imagebox._currentframe==25) {
loadMovie ("externalmov.swf", "externalmov");
}
}


'Imagebox' has a tween inside it which makes the box bigger to accommodate the larger image, with a stop action on frame 1 and on frame 25. Inside this mc is an empty mc called 'externalmov' which acts as a target for the external swf file to load into.


try as i may the _currentframe property does not seem to work. all i want it to do is the following:
if it is at such a frame please please please load external moviw externalmov.swf

is there another way of doing this??am i no where near?

thanx for you help!

View Replies !    View Related
Loading An External Movie And Having It Start On The First Frame Of The Last Scene
I have a large tutorial program that I am working on and I had to break it up into 2 different swfs for file size reasons. when the first movie gets to the last frame, it loads the second part which begins it's own preloader, no problems yet. I need to be able to navigate from the first scene of the second movie back to the last scene of the first movie. this is how I am trying to do it.

I am passing a variable called ice from the second movie to the first movie. If the variable == true, which it gets set to true in the second movie when you want to go back to the first on, then there is a conditional on the first frame of the first movie that tells it to preload the whole movie and then goto to the last scene and play, if ice==true, else just preload 10% of the first movie which is what I want it to do if it is running through the first time.

What happens is that when you navigate from the second movie to the first movie it starts at the beginning and doesn't goto the last scene.

I hope some one can help me out with this. thanks for your help.

Justin

View Replies !    View Related
Preloading Problems, Huge First Frame, Loading External Swf
Hi guys,
My movie started giving me headaches when i moved from Flash 5 to MX.

It is about 100KB and nothing is showing up on screen until i have 70 KB loaded. My size report shows 68 KB on the first frame.

I canīt really understand why that happens: There are only very small objects and actionscripts on this first frames and the preloader has no complex design or effects.
I got no font problems too as i can see on my size report.

When i switched from Flash 5 to MX i dropped out my good old ScrollBar.MC in order to use the ScrollBar MX Component. But should that be the cause of my problem?

Anyway, i am trying for some time to work with the idea of a really small preloader.swf loading MainMovie.swf and i had no success.

Looks like when preloader.swf reaches loadmovie line, it immediately switches to the (non-preloaded) MainMovie.swf.

And the same thing is happening when i try to use http://pasodesign.com/extra/loader.fla.

I guess my main question is: How to make preloder.swf load
MainMovie.swf, so that i can display getBytesTotal and getBytesTotal of it and only when it is fully preloaded, display MainMovie.swf on screen, not before.

I think that this preloader.swf is a good idea since we can use it with lots of different movies, just by changing the name of the swf to preload. It could be a good tutorial for you Flash Gurus to work on

It should be easy Does anyone have a clue whats going on?


[Edited by Effenberg0x0 on 07-10-2002 at 01:26 AM]

View Replies !    View Related
Loading Specific Frame (within An External Swf's Movieclip) Flash 5
Flash Gurus,

I need to load a picture (in a specific frame) that is located in an external swf's (External.swf) movieclip, which I have named "MC_External".

In the main movie (Main.swf), the event button is sitting in a movieclip called "MC_Timeline".

I have loaded the external movie using one of the buttons on the stage:

on (release) {
targetx = 560;
loadVariablesNum ("Intro.txt",0);
unloadMovie(1);
loadMovieNum ("External.swf", 1);
}

And in the "MC_Timeline" movieclip, I have several buttons and I would like for each button to load specific event text and a picture that is sitting in the external swf's movie clip ("MC_External") Here is the code:

on (release) {
loadVariablesNum ("Events/Event1.txt", 0);
tellTarget (MC_External) {
gotoAndStop (2);
}
}

The text loads fine but not the picture. What did I do wrong?

I'm using Flash 5.

Thanks in advance!

View Replies !    View Related
Loading Specific Frame Of External .swf Into Main Movie
how to load frame label "one" of external.swf into main movie.

load_btn.onPress = function () { loadMovie("external.swf.......?????

thanks
gepo

View Replies !    View Related
Loading An External Swf/jpg Into A Dynamically Generated Frame Number
greetings...

this is what i would like to do....

in frame one i would like define a function that loads a number of external swf/jpgs into an empty clip into different frames without labeling the frames...

so i was wondering if there was a way to load these swf/jpgs into a clip, into different frames without having the frames pre-labeled...essentially i would like to load the swf/jpgs into i in a "for (i =1, i <= numberofClips)" type statement, loading each swf/jpg into the value of i....

i hope what i am saying makes sense...

thanks in advance...

tank.

View Replies !    View Related
Loading External Movie From Specific Frame Number
Hi all
i want to know how i can load an external movie from some specific frame , for example i have two movies
"main.swf" and "one.swf"

now i have one button place in "main.swf" i want that when a user click on button, it will load "one.swf" from its 10th frame

i hope that u understand my problem

take care

View Replies !    View Related
Loading External SWF And Goto Nested Frame Label
Hey All,
I have been banging my head against this one all weekend and I thought I would turn to you for some help.

I am loading an external SWF into another SWF (wrapper), but I want to goto a nested frame label in the SWF I am loading. For example...

"mcHolder" is the MC that I am loading the external SWF into
"lastFrame" is the frame label in nestedMC3


Code:
on (press) {
_root.mcHolder.loadMovie("chapterOne.swf", "_root.nestMC1.nestedMC2.nestedMC3.gotoAndPlay("lastFrame");
}
Thanks in advance for your help!!!

View Replies !    View Related
Little Problem With Loading External Files Into The Main Frame
yes... okay, see, here's the problem.
i'm basically a newbie to flash so i still have a lot of trouble with it, and i started making my website in flash based on the tutorial here on kirupa.

now, instead of using a blank movie symbol for the contents, i transformed a vector form into a movie symbol and gave it the instance name contents, because i intended the content to show up in a irregular frame.

it works well so far, i mean, it opens and that, but there's a tiny little problem.
for some reason, instead of loading the external swf files correctly into the frame, they show up right in the middle of the frame, so the rest is cut.

oh well, i'm so bad at explaining, so let's see a few screenshots ^^""


on this one you can see what the frame is supposed to be like, it's the light ocre frame.



and here's what it looks like in the html preview:


kay, so... see the problem? i just don't get the contents to show up properly... it shows up exactly where that little cross is shown in flash... but i don't know what it means nor how to change it .___.
hope anyone can help me O___o""""


ah yes, by the way, on little question - how can i make my website open in a smaller window that's the same on every computer instead of adjusting to the internet explorer swindow size? i don't know if i make myself clear O.o""""" i just don't like it when i have a smaller website and there's this huuuge white background of the internet explorer...

View Replies !    View Related
Loading A And External Movie To Start At A Specific Frame
Hi, i just wanted to know i there's a way to load an external .swf file and starting it at a specific frame rather than from the beginning.

For instance i have this button, when i click it i want it to load a movie from its 20th frame.

Thanks for the help.

View Replies !    View Related
Loading External Swf File To Specific Frame/framelabel
i didnt see a topic like this when i did a search. if there is one, please link me.

i have a main swf file with navigation, you click on a button it loads an external swf file. i would like to be able to tell this external swf file to go to a specific frame/frame label from the button. i have a feeling there is an easy answer, but i am not familiar enough with syntax to know exactly what im doing wrong.

here is the code that loads the external swf file from a button in the main swf file.

on (release) {
_root.home_content.loadMovie("appetizers.swf")
}

home_content being a placeholder that appetizers.swf is loading into.

any suggestions would help me out. thanks.

View Replies !    View Related
Loading External Movie And Starting With Specific Frame Of That External Movie
I would like to load an external swf onto my stage and go to any specific frame of that external swf. Can this be done in Flash? If yes Please give me a sample or any help.

View Replies !    View Related
Loading External Movie And Starting With Specific Frame Of That External Movie
I would like to load an external swf onto my stage and go to any specific frame of that external swf. Can this be done in Flash? If yes Please give me a sample or any help.

View Replies !    View Related
Loading An External .swf File, And Telling It To Stop At A Specific Frame
Hello!

I am attempting to load the same .swf file into three different scenes of my movie. The external .swf has three frames, and in each of the three scenes, it will need to stop on a different frame. I am loading the .swf into an empty movie clip by referencing the movie clip's instance name.

Thanks in advance for your help!

View Replies !    View Related
Copyright Đ 2005-08 www.BigResource.com, All rights reserved