ActionScript 2.0 :: Loadmovie With XML Text?

Feb 25, 2005

I made a XML list on my main timeline. Is it possible to make these list like links and when I press each of the buttons, it will load a swf to the desired container area?

View 2 Replies


Similar Posts:


ActionScript 1/2 :: Changing Text In Swf Using LoadMovie?

May 6, 2009

I am loading a swf file that is in the same location as the swf loading it.  The loaded file is a movie clip with a dynamic text box

feedbackHolder_mc._x = 10feedbackHolder_mc._y = 10
feedbackHolder_mc.loadMovie("feedbackHolder.swf");feedback = "hello";feedbackHolder_mc.feedbackbox_mc.feedback_txt.htmlText = feedback
 
The text wont populate to Hello.  But if I put this on a button click to change the text it works.  Not sure what the issue is.I have even tried creating an empty clip into which to load the swf into despite the feedbackHolder_mc being empty.

View 3 Replies

ActionScript 1/2 :: Dynamic Text Not Seeing - Loadmovie

Sep 3, 2009

I have two swfs. swf-1 is the user display. it calls loadmovie swf-2 - loadMovie([URL]); swf-2 has webservice that returns data to be displayed in swf-1 Everything works fine if I have swf-1 and swf-2 on the same [URL]. If swf-1 is on [URL] and swf-2 is on [URL] the dynamic text is not being displayed in swf1. I have the fonts embeded in the dynamic text field. The mc's that hold the dynamic text are being created (have a graphic that is visible), just not seeing the text.

View 4 Replies

ActionScript 2.0 :: Dynamic Text Using LoadMovie

Jan 29, 2010

I've a problem working on a project involving multiple language changes using the loadMovie function. Here's the setup: The project involves several pages, all of which are separate swfs. These are located on an existing website, so everything's already created (I'm just updating). On the pages are Static text fields. My task is to incorporate language buttons that when clicked, change the language. For example, the language buttons are English, German, Italian, French, Spanish. If I clicked the Italian button, all text fields change to Italian - and remain so until I click another button. The default language is English.

I changed the Static text fields to Dynamic text fields, gave each an instance name, and placed variables for each instance in a separate language swf (example: langEnglish.swf, langGerman.swf, langItalian.swf). The default language file - langEnglish.swf - is loaded in the first frame using the loadMovie function. When a language button is clicked, it loads a new language swf (they load into an empty movieclip, btw). Clicking the button also updates a variable called "language", so as to remember the current language. The ActionScript for the various variables in the language swfs looks like this:

[Code]...

View 2 Replies

ActionScript 2.0 :: Loadmovie - Text Does'nt Show Up?

Aug 21, 2002

I created a third party text movie on flash typer, the text is white and the background is black, I loaded the movie on my flash mx and it seems to work except the background is always white, so my text does'nt show up?

View 1 Replies

ActionScript 2.0 :: LoadMovie/gotoFrame From External Text File?

Nov 5, 2005

my next experiments consist on loading a movie/ or gotoframe on a hyperlink with html text that i load from a .txt file.i mean this such type of html code

Code:
visit the site<a href="http://test.com" target="_self"><font color = "#FF9933"> for more info so basicly my intention is, to refer to a hyperlink but just go to a "frame" or load a movie. where you have in your FLA some more info about the site you are going to enter again, i am just experimenting with these things, it has no real purpose but it would be considered nice if it really could work.

View 3 Replies

ActionScript 2.0 :: LoadMovie With Dynamic Text In Parent Movie

May 16, 2003

(I previously posted this thread in Flash MX Forum but I think it should be here instead. Sorry) Funny behaviour...I'm trying to load an external MC containing dynamic text (MC-Clip.swf) to a MC empty holder (MCimport) within my main/parent movie. This piece of AS is attached to a button (to call the dyn. txt clip):

on (release){
_root.loadMovie ("MC-Clip.swf", "MCimport");
}

With this, the dynamic text gets loaded indeed... but Fullscreen into the parent movie, and not into MCimport (where it should be). Now... I don't understand why, but the thing is that if MC-Clip.swf contains just static text (and change accordingly the text properties to static text in the holder MC), it gets loaded in the right place (MCimport) within the main/parent movie. (?!??!) And this is the piece of AS attached to the button (to call the MC containing the static txt):

[Code]....

View 4 Replies

Professional :: Losing Variables Using LoadMovie In Input Text Field?

Aug 22, 2011

im trying to load an swf into another swf that has a variable in the text input field. Im a designer and not a programmer but I am using this tutorial to get started in loading a form with a variables in it.[URL]..
 
What im doing is trying to duplicate is the text box so that when i want to load new_box.swf (with a variable name "company") into main.swf into a movieclip with an instant name "loader." using this:
 
on (release) {    loadMovie ("new_box.swf", "_root.form.loader");}
 
I can get the movie to load but it loses the variable "company" in the process and when i send the form it doesnt work. If i just keep it in the main timeline it works but not when i loadMovie.

View 1 Replies

LoadMovie And Preloader - CS3?

Jul 23, 2009

I am really stuck with a loadmovie action that I cannot find the solution to. I have a website that I had to split up as the loading time was too long. I have used a loadMovie function and it loads the external movie but the problem is that the external movie requiring a little bit of time to load I want a preloader to come first.

I have attached screenshots of this (wssmain liks to the arch_mc1) . The problem is that the movie loads but the preloader doesn't play. Anybody has any ideas why?

The first screenshot shows the wssmain whereas the second (preloader2) shows the arch_mc1. If the fla files are required I will make them available for download.

[Code]...

View 2 Replies

LoadMovie Mc Keeps Unloading

May 2, 2011

I load my external image into emptymc which is inside mc_container:loadMovie("myimage.jpg", mc_container.emptymc); //placed on main timeline.This works fine. However when I go to a different frame within mc_container(specifically a frame without an instance of "emptymc") emptymc gets unloaded. As soon as I go back to a frame containing "emptymc" it no longer has the jpg.Is there a way I can keep the jpg loaded in emptymc without having to load it again?

View 2 Replies

Can't Get Swf To LoadMovie When On Server

Jul 2, 2009

I am very new to Flash and have been going around in circles for days trying to figure this out.I can't get swf to loadMovie when on server. I understand I need to use the path relative to the html page.[code]

View 1 Replies

Flash Loadmovie Into A Fla-cs3

Jan 18, 2010

I've been trying to load a simple .swf (home.swf) and have it play automatically on my existing fla project (as2). These are the steps I have taken.. 1) create MC, named "holder" 2) within first frame of MC, entered in.. loadMovie("home.swf","holder"); Nothing is showing, I'm not sure what I'm doing wrong. If you can help, I can send you the files I'm working with.

View 2 Replies

IDE :: LoadMovie Is Being Resized?

Jan 30, 2009

I am working on my first flash website and have been working on loadMovie & unloadMovie. The commands have been working for me and it will load & unload the external .swf in a contentHolderMC. The problem that I am encountering is the loaded .swf width is correct but the height is being reduced, I would guess to about 75%. Is there a way to maintain the external .swf's size? Even if I need to put the code into the external .swf.

I have tried creating a mask inside the contentHolderMC to match the size of the external .swf. When I have looked around for clues to the resizing, I am finding tutorials on how to resize the external .swf into a smaller Movie Clip. That's not what I am trying to do.

View 2 Replies

IDE :: Set Size Of Swf Using LoadMovie?

Feb 11, 2009

I have this problem: in my swf on frame 100 is a code:

Code:
loadMovie("second.swf", _root.clip1);

I have mc with isntance name: clip1 The movie second.swf loads into the position of clip1 but it's originally very big and I want it to make it smaller so it will fit to my site, if possible i would also like it not to be resizeable (so when someone will have smaller browser window it wouldnt move)

View 4 Replies

ActionScript 2.0 :: LoadMovie Over Top Of One Another?

Oct 1, 2003

I need to be able to load the movies over the top of one another so that you can still see the movie under it....Can this be done ?????

View 8 Replies

ActionScript 2.0 :: Loadmovie With Its Background?

Feb 15, 2009

I am using loadmovie AS2 function PHP Code:

stop ();blankmov.loadMovie("newmovie.swf") to load external movie in my main flash file and it works fine, except one problem which is the new movie that loads in the main movie becomes transparent so there is no background displaying in this new external movie. Is there a way to use loadmovie function so that new movie holds its background and it does not become transparent?

View 1 Replies

ActionScript 2.0 :: Using LoadMovie In Advance?

Aug 18, 2009

I'm making a game where every level is a separate swf. The problem is, when each level starts, it doesn't load entirely before displaying on the screen, and gives me unpredictable results. I also don't want load waits between each level.Is there some way to do all my loadMovie's at the start, loading them into some place where they wont actually be on the stage, and then calling them out one by one as you play each level of the game?

View 3 Replies

ActionScript 2.0 :: LoadMovie .swf From Another Folder?

Dec 4, 2009

I'm having a problem loading a external.swf from another folder outside of my main.swf. This external.swf is being loaded into a empty.swf movie clip. It works when the external.swf and the main.swf are in the same folder, but when i place the external.swf into a images/folder and change the action toloadMovie ("images/external.swf", "main"); it no longer works. Did i target it wrong?

View 1 Replies

ActionScript 3.0 :: LoadMovie From Php Data

Jul 20, 2010

I'm not much of a flash programmer, and am a bit lost. What I want to do is the following. I'll have a SWF with two layers, which is being called from a PHP page on my site. The top layer is just an invisible button, and I'd like it to link to a URL that I provide from the PHP page. The bottom layer I would like to load a separate SWF file, whose path I can also provide from the PHP page. I have the URL and the SWF path working just fine in PHP, but I don't know how to pass those values to flash, or how to get loadMovie to work like I want it. Can anyone provide some guidance?

View 7 Replies

ActionScript 2.0 :: Preloader For LoadMovie?

Jun 4, 2011

First things first, please don't recommend I change to AS3 for this. I know, but It's far too late for that and not my project to be dictating..So I'm loading some external swfs in with the loadMovie command, in the normal manner with a button:

Code:
on (release) {
loadMovie("swfs/example-1.swf", _root.container);
}

But what I need, is to wedge a preloader in there somehow. As the swfs are around 1mb each.I'm already using the following as a preloader for the main file, so an adaptation of it would be very welcome so I can co-ordinate the graphics.With this on frame 1:

Code:
var amountLoaded:Number = _root.getBytesLoaded() / _root.getBytesTotal();
preloaderText.text = Math.round(amountLoaded * 100) + "%";
And this on frame 2:[code].....

View 1 Replies

ActionScript 1/2 :: LoadMovie Without Container Mc

Oct 9, 2009

Im using AS2. Now, i got this trouble: when i load an external movie into the main one, i had some errors if i put it into a containter mc, with this code: Code: loadMovie ("movie.swf", containter_mc); The scroll bar not only move the movie.swf object, but the container_mc too... So, i just load the movie without using a container, with this code: Code: loadMovie ("movie.swf", 2); And suprise! now the scroll bar works just fine. But... How can i position the movie into the main one? Like: movie._x = 200; movie._y = 200; How can i do that in the right way? (Sorry, but my english its not good enough ha! )

View 2 Replies

ActionScript 1/2 :: LoadMovie - How To Know Which Is Loaded

Feb 16, 2011

I'm loading many movies in a moan movie into mc instance name "movieHolder" I need something to happen only IF the first movie is not loaded. How can I check WHAT movie is currently loaded in movieHolder?

View 14 Replies

ActionScript 2.0 :: CreateEmptyMovieClip + LoadMovie?

Jun 22, 2011

The "scroll_right" image shows up, but in Debug, _root.win_Main.scroll_right.bar does not exist after this code is called. However, _root.win_Main.scroll_right DOES exist.

Code:
var win:Object = _root.win_Main;
win.createEmptyMovieClip( "scroll_right", win.getNextHighestDepth() );

[code].....

View 5 Replies

LoadMovie Won't Work On Second Jpg Load?

Mar 10, 2011

I have a flash movie that loads an external image into a movieclip with the following code:

Code:
//Load image
loadMovie("myimage.jpg",_root.moviebox.picturebox);

[code].....

View 1 Replies

ActionScript 2.0 :: Loading 2 Swf With LoadMovie?

Feb 24, 2009

I want is it load an external swf on the click of a button, then unload it to load another swf on the click of another button. heres a sample code of what did.

Code:
stop();
//loading first movie
container.loadMovie("movie.swf");

[Code]....

View 0 Replies

ActionScript 2.0 :: LoadMovie Without Using Container MC

Oct 9, 2009

I am using AS2 to create the whole movie. Now, I got this trouble: when I load an external movie into the main one, I had some errors if I put it into a containter mc, with this code:

Code:
loadMovie ("movie.swf", containter_mc);
The scroll bar not only move de movie.swf object, but the container_mc too...

So, I just load the movie without using a container, with this code:
Code:
loadMovie ("movie.swf", 2);
And surprise! now the scroll bar works just fine.

But, How can I position the movie into the main one?
Like :
movie._x = 200;
movie._y = 200;

View 1 Replies

ActionScript 2.0 :: Output To LoadMovie?

Oct 23, 2009

Im working on a site with influences from this tutorial[URL]..It is basically a tutorial how you can make a 3D rotating carousel witch picturens from an external xml-file.

Although in the tutorial he makes the "buttons/pictures" go to an "output". I whould like it to go to another movie (loadMovie)

[Code]...

View 9 Replies

ActionScript 2.0 :: Resize Through LoadMovie?

Jan 13, 2010

I am using the folling to load a game into my flash site

ActionScript Code:
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
container._lockroot = true;
container.loadMovie("Mobile2.swf");

It works fine but I have another game which is too big in its raw state. Is it possible to scale it using actionscript so when it loads it loads with requested dimensions?

View 3 Replies

ActionScript 2.0 :: Loading SWF With LoadMovie

Jan 23, 2010

I'm currently working on a school project and have come to the stage where I need to put all of my swf's together. But I'm running into an issue with getting the swf's in my file.I've at first tried to do the same thing using scenes, but this didn't work either. I've read on several fora's that the scene thing in flash had some weird things and was recommend to use loadMovie instead.Now I'm trying to use loadMovie, but I can't get this to work either. I've tried the exact same code with an image and this is working. As soon as I try to do it with a swf file, the file loads and leaves a complete blank. I've read the list of objects in the swf and all variables are undefined, could this be related?I'm currently using AS 2.0.

View 7 Replies

ActionScript 2.0 :: Adding URL In LoadMovie With Var?

Mar 24, 2010

I have one main swf called index.swf that links to other 5 swf. The name of the external file are 1.swf, 2.swf up until 5.So the actual coder apparently using var n = 1

if (IndexLoaded >= total) {
var n = 1;
gotoAndPlay(3);

and then do the following (loadMovie):

var movie:MovieClip = _root.StoredActions.Movies.CMovie.duplicateMovieCl ip("CMovie" + n,n);
loadMovie(n+".swf", _root.StoredActions.Movies["CMovie"+n]);
var MovieLoaded = 0;

[code]....

to call the 1.swf, 2.swf etc.

I need to specify the exact location of the external swf (i.e: http://www.mydomain.com/swf/), rather than doing it as above (root). How do i add that exact URL on that line? i tried the following and ended with error

loadMovie(http://www.mydomain.com/swf/n+".swf", _root.StoredActions.Movies["CMovie"+n]);

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved