ActionScript 2.0 :: Load Movie (SWF File) In Popup

Jan 9, 2003

I'm making a presentation in flash. I would like to show some of my previous work in flash (.swf-files). The presentation is fullscreen and i publish it as an .exe file. In the presentation there are several links. When you click on one of those, a own made pop-up opens. In this pop-up I would like to show the animation (.swf file) But.....I found out that some of the .swf files don't work when you import them into flash....So instead I used the load movie command. (I'm not very good in actionscript). The swf file opens, but not IN the pop-up. How do I do that? My pop-up now disappears and my swf starts to play.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Load Variables From Popup Script/file Upload?

Nov 12, 2009

I've searched, but I don't believe flash (actionscript 2.0) itself offers a "select filefield" and fileupload functionality?

That's why my swf has a button which opens a popup window. In the window the user has the ability to upload a file to the server. That's no problem.

But I would like to send the filename back from the popup to the swf. How on earth can I manage that?

I can't use Loadvars.sendAndLoad in the swf because then my visitor does not see a popup and can't select the files. Loadvars.load doesn't work in popup?

View 1 Replies

ActionScript 3.0 :: Load Movie - The Last Frame Of The Movie Code Execute And Second Movie File Open Up And Start

Dec 3, 2009

I'm currently making an animation which will eventually exceed the 16,000 frame limit (don't ask haha), so, short of making two movies and having to just start up the next one, what is the code for loading a movie? I presume they need to be in the same directory? So basically all I want is on the last frame of the movie the code executes and the second movie file opens up and starts. I guess I'd want the current movie to close, too.

View 1 Replies

Actionscript :: Flex Popup Manager Mouse-down Outside Of Popup Removes The Popup

Mar 4, 2011

If you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?

View 1 Replies

ActionScript 2.0 :: Load Variable From Text File To Main Movie (swf File)?

Jan 14, 2004

i want to load variable from text file to my main movie (swf file).what should i put in the second parameter of the function loadVariables ("target" parameter) - should i insert _this? _parent? _global? (nothing works.

View 3 Replies

Flex :: Fix The X & Y Axis Of Popup In A Swf File That Is Being Loaded In Another Swf File

Aug 26, 2011

I load a "cal" swf file in another swf files mdi_window. So the window is moveable inside the application. The issue is with the x y axis for the popups that open up in cal swf. The code for the function that opens popup is:

[CODE]...

The x & y axis of the popup act wired based on the location of the mdi_window in which the Cal.swf is being loaded. The x & y axis work fine if I move the mdi_window all the way on the top left corner of the application. The first image shows how the popup opens when I double-click on the 10:00 AM purple color event on my calendar.

and now when I move my window the popup moves to the side as well. I clicked on the same 10:00Am purple event again here: How can I solve this issue.

View 1 Replies

Javascript Popup Will Not Load Swf

Mar 13, 2009

I posted about this a few weeks ago but it's still unresolved....I'm about ready to cry or go postal or both. I would love any input you might have. Another Flashkit member said he thought it might be line 23 of the html code, but I can't identify what's wrong with it. I will seriously send you a bar of fine chocolate I have created a multimedia site that pops up swf photo galleries. Trouble is.....the swf's are not loading in the popup windows. Here is an example:[URL] The link that opens the gallery is halfway down on the right.

It works perfectly on my local machine, and you can navigate directly to the swf ([URL]) so I'm thinking it's something in the html code of either the gallery "popper" or the "poppee." This is a recent development--until sometime this year it worked just fine. Not sure if some web standard changed or what?

View 3 Replies

ActionScript 3.0 :: Open Popup On Load?

Jul 23, 2009

I am trying to get a swf to open a new window as soon as the swf is loaded by the html. I understand this is really easy but I have been flicking through several tutorials and it just doesnt seem to be working.

View 5 Replies

ActionScript 2.0 :: Movie To Load Different .swf File

Oct 9, 2003

[code]this is what i use for a button in my flash compotistion. It basicly tells the movie to load different .swf file in. But thats just FYI.Now i need to design a MC where I want to place this AS on the last keyframe. Just as if I would place a GOTO action on the last frame that will lead me to a different stage. How can I rewrite this script so it will do the same effect.

View 3 Replies

ActionScript 3.0 :: Load Movie With A File Attached To It?

Apr 21, 2009

I have a full browser scrollbar I found from here, that has class of 'ScrollExample'.as, but I have a difficult time adding it my website.I used a UIloader on my main site with the instance name of 'loadit' and placed it on top left corner of my site.I have a button on my main site with the code:

Code:
btn_1.addEventListener(MouseEvent.CLICK, ContactClick);
function ContactClick(event:MouseEvent) {
var loadit = new Loader();

[code]....

but when I click on btn_1 I get this error:

Code:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ScrollExample/initStage()
at ScrollExample()

View 5 Replies

ActionScript 2.0 :: Load Swf File In A Movie Clip?

Feb 5, 2009

I am loading an swf file in a movie clip.After loading the swf file,when i try to trace the width of movieclip. i am getting the width as zero.why it is like that.actually the movieclip contain swf file.

View 5 Replies

ActionScript 3.0 :: Load A Pdf File Within A Flash Movie?

Nov 22, 2009

It is possible to load a pdf file within a flash movie. Basically I want the user to be able to click on a link to a pdf file and for that file to appear within a designated area of the stage. I know I can load it externally within an html window.

View 2 Replies

ActionScript 2.0 :: Load A Swf File Into Main Movie?

Jan 30, 2003

when i load a swf file into main movie.I get no animation from swf.... it's like frozen. But the swf itself works fine.

View 8 Replies

ActionScript 2.0 :: Get One Movie File To Load After Another Automatically?

Jul 9, 2003

This is probably really easy to do but I an new at Flash and have no idead of how to do it.

I have a few buttons and when you click on a button it loads a different movie file. Is there a way that I can get one movie file to load after another automatically instead of having to press the buttons.

View 2 Replies

ActionScript 2.0 :: Load A Movie Into Flash Using An Asp File?

Jun 12, 2008

I am trying to load a movie into flash using an asp file to get the names of the url. the start will be "WEB_ADDRESS" and then it will add a the end using script.

Code:
loadMovie("WEB_ADDRESS" + _root.myVars.fileName + [i], "image"+ [i])

it is looking into the ASP file and trying to fine fileName which is the problem. the filename has a number after it, in this case it is the variable [i] but it is returning this

Code:
Error opening URL
'BLAH_BLAH_BLAHfileName=undefined0'

the Blah is the start of the address which you dont need to know about but the undefined with the number after it should be what it is loading. undefined0 should be "fileName0".

is there any way of making it think the _root.myVars.fileName + [i] is all one name?

View 1 Replies

ActionScript 2.0 :: Load Popup Flash As Per Button Click?

Dec 20, 2004

I have a navation menu in flash in my homepage. I have 3 menus... portfolio1 |porfolio2| portfolio3 so when i click the portfolio1..the popup page opens and one flash movie is opening. in that popup flash(500px width,300px height)..i have a center portion(500w,15oh) where the portfolio related one small flash will be loading..

Right now when i click one each menu..evrytime by portfilio1 realted small flash file opening..but i want it should load as per button click on main page. so if i click portfolio2 button..popup should load also portfolio2 related small flash in the main popup flash.

View 2 Replies

ActionScript 2.0 :: How Load Popup Flash As Per Button Click

Dec 20, 2004

I have a navation menu in flash in my homepage. I have 3 menus... portfolio1 |porfolio2| portfolio3 so when i click the portfolio1..the popup page opens and one flash movie is opening. in that popup flash(500px width,300px height)..i have a center portion(500w,15oh) where the portfolio related one small flash will be loading..

Right now when i click one each menu..evrytime by portfilio1 realted small flash file opening..but i want it should load as per button click on main page. so if i click portfolio2 button..popup should load also portfolio2 related small flash in the main popup flash.

View 2 Replies

Professional :: Load Movie Clips From External .swf File?

May 14, 2010

I need to load files from the library of another .swf file (AS3). How to accomplish that?

View 1 Replies

Flash Movie .swf File Doesn't Load In IE Or Firefox

Nov 16, 2009

I have a basic site for an old age home. Recently I decided to put a Flash Movie on the Homepage but even though all files are loaded and links correct it won't show in either IE or Firefox...

The movie should be loading here (...bellvilleseniorsentrum.com/engels/home.html)

There is a white space where the movie should be loading... But it doesn't...

I've done lots of sites with the same kind of movies and they all work fine... But this ons just doesn't work. It views fine when I test it on my computer but as soon as I load it - nothing...

View 1 Replies

ActionScript 2.0 :: Load External File Then Play Movie?

Dec 17, 2009

Is it possible for a movie to stop until an external file has fully loaded at which point the main movie will then play?

View 1 Replies

ActionScript 2.0 :: Load Images In A Movie Clip From XML File?

Feb 18, 2010

I am rearranging a flash by adding more picture. By default it was 8 pictures but I want to add unlimited number of pictures on XML file and want to load them in Flash. The XML file is parsed into an array (code provded below). I can not figure out the problem as the flash shows only the default 8

pictures, not showing the additional pictures that i have added. I was hoping someone here can help me in taking the parsed XML file and help me load the image

into the movie clip. Also I want to redirect all the Rotate Picture (3d-carousel-menu) links to the Flash

picture showing state. I mean all the carousel-menu links will be linked to image showing stage.[code]...

View 0 Replies

ActionScript 2.0 :: Load A SWF File Into Another Movie On The Click Of A Button?

May 12, 2009

I am wanting to load an SWF file into another movie on the click of a button. I can do this but I want the new SWF to fade in and then fade out when another SWF is loaded.

I'm not to sure where to start maybe using tween transitions??

View 4 Replies

ActionScript 2.0 :: Load / Unload External Swf In Flash Popup Window

Sep 20, 2009

I have a main flash movie that has 6 navigation buttons for 6 sections of the website. Each button loads an external swf to cutdown on preloader time for the whole website. Within each section, for example section1.swf, there are a number of images you can click through, with previous and back buttons. On each image in section1.swf is a button so that you can popup a window with more related info and images. So, in section1.swf on the first image image1_mc there is a button pop_btn, and I would like it to open a popup_mc which loads an external swf. Popup_mc would have a close_btn to close the window. I have tried various things for 2 weeks, and have had no luck. I can open a popup window, or I can load a swf, but I can't figure out how to put it all together.

View 5 Replies

Professional :: Load An External .swf File On Internal Movie Clip?

Dec 6, 2010

I have a movie clip called - contenct_mc       ----------------inside this movie clip I have another movie clip called - Introduction_mc    ------inside this mvovie clip There is another movie clip called - Footer_mc       -------inside this movie clip on actions layer I have copied the below code to show clock.swf file....but the following code doesn't work
 
CODE:I am using Flash CS4 AS3
 
var R:Loader=new Loader();addChild(R);
R.load(new URLRequest("clock.swf"));R.x = 540;R.y = 205;
R.contentLoaderInfo.addEventListener(Event.INIT, RgrowLoader);
function RgrowLoader(evt:Event):void {
R.width = 200;     R.height = 200;}

View 2 Replies

ActionScript 3.0 :: AddChild - Load External Swf File Into Main Movie

Aug 5, 2009

I load external swf file into main movie. and i give that child a name page0 there is a bit of code.

[Code]....

so after its loaded i want to insert some text into external swf using main movie. i managed to remove external swf, like this ActionScript Code: holder_mc0.removeChild(holder_mc0.getChildByName("pages0")); but i wonder how to insert text into that swf. i don't understand how hierarchy works, when you addChild, what name should i use for my external files. for example ActionScript Code: holder_mc0. ?????? .mainTemplate.tContent.text = "TEXT"

View 6 Replies

ActionScript 3.0 :: Load Movie - File Resized Or Rescaled Automatically

Dec 5, 2010

I have a an swf (A) that loads external swf files (B). I use the loader or UILoader classes for this. I do not have the source of the loaded flash files, I have source only for files A. The loading works fine. The problem is some of the loaded files resize or rescale themselves. Doing some research I realized that they use the Stage.width/height for calculating their size/scale. This approach works fine, when they are embed to a website, because they get a stage sized for their needs. But when these files are loaded in my MovieClip, they get the stage of the loader swf(A), and that is definitely have different sizes.

Approach 1: In this approach I tried to create a fake stage for the loaded movies with the right size for them. This failed at several points: Stage is a singleton, and the stage property of the objects are Read-Only. On top of that Stage is a built-in class, without AS source. My first question is that is there any possibilities to override this class, or use this approach?

Approach 2: I planned to design a web-service (not in actionscript), that predownloads the swf, decompile it, replaces the references to Stage.width/height to the correct values, compile it again, and passes the generated swf to my Loader. On decompilation/recompilation, it should be as fast as possible, and I'd like to modify the swf as little as possible, so I prefer to not decompile the swf completly, just as much as needed.

After some googling I found swix kit, or simply swix. It generates not the source but an xml file equivalent to the swf. The problem is this xml format is not documented, or at least I haven't found it. I found references for Stage, but I have no idea how to modify that file.

Code:
<ConstantPool>
<Constant Name="Stage" />
<Constant Name="width" />
<Constant Name="height" />
<ConstantPool>

How to replace the Stage.width/height values with a simple Number in the xml? Does this tool have a command-line interface?

View 5 Replies

ActionScript 2.0 :: Load A Swf File Into A Movie Clip On Stage / UnloadClip?

Sep 3, 2007

this is what i'm using to load a swf file into a movie clip on stage. (mainAnimationHolder)

[Code]...

this works perfectly. Now what i want to do is, UNLOAD/DELETE the swf file from mainAnimationHolder. The function runs on _root

View 1 Replies

ActionScript 2.0 :: Load Movie To A Specific Frame In External File?

Nov 7, 2007

The title of my main file is "Gabriel96.fla". Inside this file I have a movie clip called "home movie". Inside this movie clip i have a button called "Symbol 32". Once this button gets clicked, I'd like it to go to frame "joe" which is inside a movie clip called "porrtfolio", which inside a separate file called "portfolio55.swf".

View 4 Replies

ActionScript 2.0 :: Connecting Preloader - Once The File Is Done Loading, Put It Away And Load A New Movie?

Mar 30, 2008

I have created a preloader, and I want to tell the action script of the preloader once the file is done loading, put it away and load a new movie, or even a new flash file if i have to.here is the action script i have on the loader right now. Its just numbers counting from 1-100% and a .gif clip that plays but they are not connected in any way.

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;[code]...

Also, my preloader ends on Frame 3 and movie would start on frame 4.

View 1 Replies

ActionScript 2.0 :: Load Variable From Text File To Main Movie

Jan 14, 2004

i want to load variable from text file to my main movie (swf file).what should i put in the second parameter of the function loadVariables ("target" parameter) - should i insert _this? _parent? _global? (nothing works...)

View 3 Replies







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