ActionScript 3.0 :: Load External Swf File In A New Window?

Apr 6, 2009

I've got a few .swf files with video tutorials I've created using Captivate 4.I wanted to link them so I've created a main screen with menu with buttons in Flash.I've added AS to load the external swf files but they load in the same window. How can I load these .swf files in seperate window so that you could get back to the main window after you've finished watching?[code]...

View 8 Replies


Similar Posts:


Load External SWF App In A New Air Window With Resize Functionality?

Mar 8, 2010

I'm trying to load a local SWF Application in my Air Application via the SWFLoader class. The SWFLoader class is displayed in a new Window. Therefore, i'm trying to resize the window automatically, when the Flash Application is resizing. But here's the problem. The SWFLoader does not get any events when the loader App has been resized.

The Problem seems to be the Sandbox Restrictions. I'm able to call methods in the childSandboxBridge and parentSandboxBridge Objects that i've set in the LoaderInfo of the SWFLoaders content (the loaded SWF Application). But i cannot listen to any ResizeEvents or something like that when i'm resizing the loaded App.

View 2 Replies

ActionScript 2.0 :: Load External Swf In New Flash Window?

Dec 8, 2009

I want to load external .exe or .swf in new flash window.I do not want to open it in an internet window.I want to open an .exe and click on a button that will open another .exe or .swf.I want to keep both flash windows open.I want to have the new one on top of the first one and I want it full screen.I am using Flash CS4 Action Script 2.0.I am using this code for full screen of second .exe or .swf

fscommand("fullscreen","true");

I am using this code to close the second .exe or .swf

on (release) {
fscommand("quit", "true"); }

View 0 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

ActionScript 3.0 :: Remove / Unload External Swf File(s) From The Main Flash File And Load A New Swf File And Garbage Collection From Memory?

Sep 12, 2009

I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?

View 15 Replies

Flex :: Style The Alert Window On An External File?

Sep 15, 2011

I am trying to style the Alert window on an external file but I get the following warning and the style won't be applied, keep in mind that the Alert is being called from an external AS file as well so the code is not embedded in the MXML.

The CSS type selector 'Alert' was not processed, because the Alert was not used in the application.Type alert in CSS selector 'Alert' must be qualified with a namespace.

Alert{
color : #124332;
background-color: #ffffff;
header-colors : #243322, #243322;

[code]....

View 1 Replies

ActionScript 3.0 :: Opening And Saving To A File Through The External Window

Jun 29, 2011

I'm trying to write a tool in flash that lets you open and save to a xml file. Currently, I let user type in the xml url in a textfield and load it straight from that but that's un-intuitive. So I need a way to open the window/explorer that allows user to navigate to a file that he wants to save to or load from on the local hard drive just like all other software.

View 2 Replies

ActionScript 1/2 :: Load A URL In .exe Flash File Without Popping Up In New Window?

Apr 1, 2010

I have developed a full screen .exe flash file in actionscript 2. It controls physical lights (e.g. turn on and off) by simply calling a URL for each action. However, I don't want the called URL's to open in front of the interface. Is there a way to call a hidden URL in flash?

View 3 Replies

ActionScript 2.0 :: Calling SWF File To Load Into Its Own (Separate) Window

Dec 2, 2011

My code doesn't work.I use flash 8 (AS 2.0). When I click a button, I want it to load another flash file but not into the same parent/web page. I need the file to load in it's own window.
on (release) {
loadMovie("MyAccountPage.swf", "_blank");
}
After this, I still do not get a respond when I test run the script.

View 2 Replies

ActionScript 2.0 :: External Text Files Wont Load Into External Swf File?

May 28, 2007

Structure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.

View 4 Replies

Actionscript 3 :: Load An External Swf File Using Loader.Load?

Sep 19, 2011

When i try to load an external swf file using Loader.Load(); The swf starts playing even before the init event is fired. Is there any way to stop the swf from playing atleast until the init event or complete event is fired?

View 1 Replies

IDE :: Load Mp3 From External Xml File And Make To Load Random?

Dec 24, 2009

How I can make this script lo load mp3 files via an external xml file like music.xml and if is possible to load random

Code:
music = new Sound();
music.onSoundComplete = function() {

[code]....

View 1 Replies

ActionScript 2.0 :: Load Images & Test From External File " Text File?

Jul 27, 2011

i have banner with 5 images fad in fade out effecti need to load images & test from external file " text file or xml file " with keeping fade effects on imagesall ways i know can't keep fading effect on images so

View 4 Replies

ActionScript 1/2 :: Load An External .swf File Into A Precise Location On The Stage Of Existing Flash File

Nov 20, 2009

All I'm trying to do is load an external .swf file into a precise location on the stage of my existing Flash file. I've spent an hour and a half on this site search and found nothing. What do I add to my loadMovie command to place the file at specific x,y coordinates?

View 3 Replies

ActionScript 3.0 :: Load The External Swf File And Unload The Parent Swf File?

Aug 17, 2011

i have a question. let say i have file1.swf , file2.swf, and file3.swf, how can i link this 3 files together,let say suppose file1.swf is the main content file, but as i load file2.swf, i want the file1.swf get replaced by file2.swf. How could i unload file1.swf at that time, so that my file2.swf will become the main content file?and again, when my current position at file2.swf, and i want it get replaced by file3.swf by clink on a button. so that the i can unload the file2.swf and let the file3.swf become the main content file.

View 13 Replies

ActionScript 3.0 :: Playing Flv File And After That Load External Swf File

Apr 7, 2009

i have a button that when it is pressed plays and loads an external flv file. this part works fine but directly after the flv video is finnished i want to load in an swf file. does some one have an idea how to do this? first show flv and then load swf?
this is the code as it looks now..

[Code]...

View 16 Replies

Actionscript 1.0 :: Load External Swf File To Parent Swf File?

Mar 27, 2011

i'm building a website using flash. i have a external swf file that i want to import into my website. i thought this would be an easy task but for some reason when i load the movie, it flickers. my website (parent swf) was build using 1.0. The external form swf was build using 3.0. My approach:

1.create an empty movie clip called mcForm

2.go to the mc clip page i want to pull the external movie into

3. within my actions layer, I call the following function loadMovie("main.swf", mcForm);

If i write:

LoadMovieNum("main.swf",0);

then the my main.swf opens correctly but closes the parent swf file. I wan the main.swf file to be embeded within the parent file.

View 1 Replies

ActionScript 2.0 :: Load An External Swf File Into Another

Mar 8, 2009

I'm trying to load an external swf file into another with a loading that shows exactly the progression of the download. I tried to look at the loadClip and MovieClipLoader commands but I'm a newbie in AS, I don't really understand.

View 14 Replies

ActionScript 3.0 :: Load External SWF File Into Another?

Mar 4, 2011

I've tried loading a .swf file externally into another .swf file on my  local drive, and it works. Now, when I try to Simulate Download, the  preloader in the 2nd file doesn't get played and the images in there  take a while to get displayed. I need to load a .swf file from a server into the parent .swf file(I'm  working on using a "thin flash file" for added security for the company I  work for - blank file which loads the content from another file on  their server).[code]...

View 2 Replies

Actionscript 3 :: Load In A .swf From An External File?

Apr 20, 2010

I know how to load in a .swf from an external file. However, I don't know how to run one that's already in the library. Is it possible to have a .swf nested within a .swf? I want the final thing to be just one file.

View 3 Replies

ActionScript 3.0 :: Load External .css File?

Jul 13, 2009

I have a .css file and an .as file. I want to set the style name of a component in the .as file to a property defined in the .css file.Style name defined in Test.css

Code:
.imgRendererSkin {
stroke-color: #00ff00;

[code]......

View 0 Replies

ActionScript 2.0 :: Getting An External .swf That Load A XML File?

Sep 12, 2009

I have my swf video, that load an other swf in a empty movie clip with the LoadMovie("...") function.And this work perfectly.But one of the video that I want to load refere to an external xml from were it takes the images (is a slide gallery). The swf work pefecty wen you play it "alone", but dosen't show anything when it is uploaded in the other video.

View 1 Replies

ActionScript 3.0 :: Load An External .swf File?

Mar 16, 2011

How can I load an external SWF file? For example, I press the button "About", it will close the active window (where the button is located) and opens the file about.swf)

View 1 Replies

Actionscript 3.0 :: Load External SWF File?

Dec 9, 2011

I'm new in this comunnity, and i try yo make some flash page based on xml, with a dynamic menubar.

I try to load a externel swf file but i can do it.[code]...

View 1 Replies

ActionScript 2.0 :: Load XML URL From External File?

Jan 24, 2008

[code]...

in this code- is there anyway i can load the URL from an external file? Here: xmlData.load(myURL);can "myURL" be loaded from an external source.. may be from another XML file which i can keep locally and change the URL when needed.

View 9 Replies

ActionScript 2.0 :: Load An External .txt File?

Jul 30, 2003

I've used this AS to load an external .txt file

[AS]
loadText = new loadVars();
loadText.load("company.txt");
// creating the loadVarsText function

[Code]....

it works fine when the company.txt file is in the same folder as my swf file. (in my computer) the problem arise when i upload both of this files into my website. flash does not display the data in company.txt file.

View 12 Replies

ActionScript 3.0 :: How To Load An External Swf File

May 31, 2009

I know how to load an external swf file with the following AS3[code]...

However, I want to load an external swf that is triggered by a mouse click. I have a button with an instance name if photogallery_btn and I want to apply AS3 to this so when this button is clicked, an external swf is loaded. Can some one please show me how to right this code?

Also, how do you unload a external swf? For example, say I get the code working for the photogallery_btn so when it's clicked, an external swf file is loaded. I would like to know how to unload another external swf file once the photogallery_btn is clicked.

View 4 Replies

ActionScript 3.0 :: Load External Swf File Through .as?

Apr 2, 2010

I tried to load external swf file through .as..

Note: create "blue_box.swf" . I can't upload it.

View 2 Replies

ActionScript 3.0 :: Load External SWF File Into Another SWF?

Mar 4, 2011

I've tried loading a .swf file externally into another .swf file on my local drive, and it works. Now, when I try to Simulate Download, the preloader in the 2nd file doesn't get played and the images in there take a while to get displayed.

I need to load a .swf file from a server into the parent .swf file(I'm working on using a "thin flash file" for added security for the company I work for - blank file which loads the content from another file on their server).

So far, I have:

Code:
try
{
var myLoader:Loader = new Loader();

[Code].....

When I replace the "newBook.swf" with the URL of another .swf, there's just a blank page.

View 2 Replies

ActionScript 2.0 :: Load External Swf File With ComboBox?

Apr 25, 2011

I have a combobox (comboBox) on the stage and an empty movieclip (holder_mc).

I want to load 3 external swf files in the holder_mc once the values in the combobox has been selected.

there are only three values in the combobox(Red, Black, White).

I have also this code on the first frame of the main time line:

function change(evt){
trace(evt.target.selectedItem.label);
}
comboBox.addEventListener("change", this);

View 2 Replies







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