ActionScript 3.0 :: Loading External SWF On Webpage

Mar 25, 2012

So here's our project hosted by our school. [URL] We dont have a preloader so you have to wait til it's loaded. After the dialogue, you will enter the first GAME (training phase). We call it MEMORY MATRIX. The game is an external swf so it is expected that it will load right away after the button is clicked. The problem is it wont function the way it is expected to and the sound wont load also.

Actually we have 6 external SWFs all in all to be loaded by the main swf. 2 external sounds and 2 external JPEGs and memory matrix is just one of the external files. The paths are correctly set. There are no sub folders. The index.htm is placed together will all the files needed for the game. If I run this using my files here on my desktop, it functions well.

View 1 Replies


Similar Posts:


ActionScript 1/2 :: Method Of Loading External Webpage?

Apr 20, 2010

What method is used to load a flash web in to another flash webpage? Something like Iframe do in HTML. Will loadmovie do it?

View 3 Replies

ActionScript 2.0 :: Loading External Webpage In Flash Swf

Oct 21, 2010

Is there any way I can load external webpage (eg. [URL] or [URL]) in flash swf using actionscript2.0?

View 1 Replies

CS3 Loading From DVD/Webpage

Apr 6, 2009

i'm working in CS3, with AS2

I'm taking a website i put together, and plopping it on a DVD.

There are 3 parts to it.

One, is the flash .exe, which brings up a small splash page with general info on me. At the bottom there are two links to webpages i made. I would like to keep all the websites files ON the DVD, and not have the end-user need to have an internet connection, although in these times, i guess i could get by that way.

2nd part, is the webpage's main page. The main page contains a flash frame, in which there are six buttons, each with AS(2) looking to a folder on the DVD, to bring up another URL in the same window. Ru:


Code:
on (release) {
getURL("D:/main/1/index.html","_self");

weird thing is, this works when on the hdd, but as soon as i put it on the DVD and try to run it from there, the main page doesn't connect/open the link I specified. I've also tried it:

Code:
getURL("1/index.html","_self");

and that doesn't work either. i'm not if i'm missing something small, but if need be, i can post a chopped down zip or rar with the files needed for someone to take a look at.

View 3 Replies

Flash Movie Does Not Loading In Webpage

Nov 3, 2010

I found a flash movie on the internet and I modified it to meet my needs and works perfectly, but when I uploaded to my website it doesn't load correctly: it should have load the spiral carousel photoslide but instead it loads only the background photo. The flash movie is inside a folder with all the flash files included including the actionscript files, I uploaded that folder to my website and in my index.html page I've put my flash movie.

View 3 Replies

Loading A Webpage Within A Flash Document?

Dec 26, 2009

load a webpage withing a flash document,
 
this is what i want to happen, i want the flash to stop animating/looping (i already have that done) and then instead of opening a seperate page to load a website i want it to load within the swf. CS4 ActionScript 3

View 2 Replies

ActionScript 3.0 :: Loading A Webpage In Flash?

Oct 21, 2009

I am trying to load the contents of a web page into flash, however I keep getting undefined when I trace the data. For example:

var api:URLLoader = new URLLoader();
api.dataFormat = URLLoaderDataFormat.TEXT;
api.load(new URLRequest(this._api_url + 'logged_in?key=' + this._api_key));
trace(api.data);

It points to the right address, why isn't my data loading though? Do I need to have a crossdomain policy?

View 2 Replies

Going Directly To A Scene From An External Webpage?

Dec 6, 2005

I have a Flash website with an online shop. The shop part uses javascript and cgi in separate html pages. I want to insert a link to a URL from these web pages back to "scene 3.0 (home)" in my main .swf file. The .swf is embedded in an index.html file so a link to the URL [URL] starts the flash movie back from the start with the intro and everything. I want it to skip the intro (scenes 1.0 and 2.0) and go directly to the "scene 3.0 (home)" scene.

View 2 Replies

IDE :: Play An External .flv In A .swf And Embed In A Webpage?

Apr 24, 2009

I'm trying to play an external .flv in a .swf and embed in a webpage. I feel like I'm doing everything correctly and everytime I create it, it works offline. When I upload all the files online, nothing shows up. When I right click on the live webpage where the file should be playing it sees the swf, it's just playing and/or displaying anything.

View 1 Replies

ActionScript 3.0 :: Loading A Webpage Within A Flash Document?

Dec 26, 2009

is it possible to load a webpage withing a flash document,this is what i want to happen, i want the flash to stop animating/looping (i already have that done) and then instead of opening a seperate page to load a website i want it to load within the swf

View 1 Replies

ActionScript 2.0 :: Link To External Webpage - Using Movieclips

Aug 30, 2009

I am using movieclips as buttons and i want to navigate through my website using the movieclips. I am using AS2.

View 1 Replies

ActionScript 3.0 :: Loading Info Variables And Arrays From A Webpage?

Mar 31, 2011

I am trying to load variables from my webpage onto my .swf

ActionScript Code:
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, loading);

[code]....

This code works perfect for loading variables in a &var1=1&var2=2& etc...But how can I load variables from the page?like do I need to put in &array_name[incrementing_var]=value& and then when i go to access it it should be loader.data.array_name[0] but this doesn't work for me? I realize my URLLoaderDataFormat.VARIABLES is for variables but can i still pass arrays with this? or do i need a new format? or do i need to pass the values as variables and convert them into an array in my AS?

View 5 Replies

ActionScript 3.0 :: Created 5 Buttons To Load 5 Different External Swfs Into Webpage

Jan 23, 2010

I've created 5 buttons to load 5 different external swfs into my webpage. I use the following script. How do I unload it when the next button is been clicked. [code]

View 3 Replies

ActionScript 3.0 :: Flash Not Loading On Webpage After Navigating To Diff Page Then Returning?

Jun 11, 2009

I seem to have an issue with a flash I have written. The person who I made it for is telling me that first time he loads the page with the Flash in it, it loads fine. However, at this point if he navigates to another portion of the site, then goes back to the Flash page, he says it freezes on the loading bar. Consistently everytime, but only on his work computer, not home computer or lap-top. I think it might be a caching issue in IE, but I am kind of stumped, anyone ever experience this?

View 9 Replies

Flash :: IDE - Webpage - Load First External Movie Clip The Mouse Scrolling Function Disappears

Apr 9, 2007

When page is loaded I can scroll it with mouse, But when I load first external movie clip the mouse scrolling function disappears. Is there anything I can do? I have search in flash mx 2004, and tryed to use // Mouse.onMouseWheel but nothing

View 14 Replies

ActionScript 3.0 :: Loading External Assets - Screen Stops Until The Loading Is Finished?

Oct 11, 2009

I have a movieclip clip that plays when the movie starts, the movieclip is a visual assets that show's that the application is loading some information but it's not showing any loading progress, just playing while the assets are loaded.I created a for loop that will load the assets using a simple loader, and then when the object is loaded the application push the object to an array.Problem is that when the loading starts all the animation that i have on screen stops until the loading is finished.The whole point is that the animation will play while it's loading.

View 10 Replies

Flash :: Loading / Unloading External SWF Using Buttons From Loaded External Files

Feb 23, 2011

I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:

[Code]....

View 1 Replies

ActionScript 2.0 :: Loading External XML On An External Server Into Flash Movie When It Is Uploaded

Jun 4, 2004

[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.

View 2 Replies

ActionScript 3.0 :: Loading In And External Swf And Unloading It From A MC Button Inside The External Swf?

Nov 2, 2010

I used to do this fine with AS2 and now i'm struggling to get it to work in AS3.my code is as follows:

PW1.addEventListener( MouseEvent.CLICK,loader1 );
//==================== PS function =============================================
var ldr:Loader = new Loader();

[code].....

View 3 Replies

ActionScript 3.0 :: Loading External SWFs From Another External Swf Into The Main SWF Container?

May 4, 2011

I have created a main "site.swf" file that loads a "default.swf" file into a container after a preloader. On this default.swf file I have buttons that needs to load new external SWF files in its place in the container. All of the external SWFs contain buttons and navigations that will also call up other external SWFs into this container. So, I would like to know how to program each button (some are movieclips as buttons) to unload itself and load the respective SWF into the container (eg. AboutUsButton to call up aboutus.swf into the container). I do not have a main navigation on the site.swf file bacause the navigation changes on each SWF that needs to be loaded into the container.

View 2 Replies

ActionScript 3.0 :: Loading External Pngs And External Text With Html?

Jul 19, 2009

I want to load external png's through this code:

(for this code, check the mcBandPreloader in de .fla file)

Code:
var imageLoader:Loader;
var RespJpeg:String = "images/arch1Proj.jpg"
function loadImage(url:String):void {

[Code]....

Here the problem is that I can't type html in my external txt file. (I did checked the html button in Dynamic Text Properties. What am I doing wrong here?

.fla can be downloaded at [URL]

View 2 Replies

ActionScript 2.0 :: Loading A External Swf Into A Movie - Its Loading Only A Part Of It?

Mar 16, 2004

I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player

View 3 Replies

ActionScript 2.0 :: External Swf Loading Into Target Movieclip Loading

Apr 20, 2005

I'm trying to load a SWF movie into a target movieclip called blankmc. The SWF movie is loaded from an absolute URL (eg. [URL]/img/20042005113934movie3.swf ) My Loading Progress code fails to detect the SWF file size. However the same code works perfectly for a JPG! Essentially the .getBytesLoaded() and .getBytesTotal fail to work. Why is this and how can I get it to work for loading SWFs?

[CODE]...

View 3 Replies

ActionScript 3.0 :: Stop .mp3 And .flv In External Swfs When Loading A New External Swf?

Apr 10, 2009

Specifically, I am building a flash page that loads external swf files and inside some of the external swf  files, I would like to add audio and flash video (flv) streaming from the Flaash Media Server. In some of the external swf files, (using a FLVPlayback component) when you press a button on the main timeline to unload the current playing swf the audio/video continues to play after loading the new external swf file.So I believe that my approach is all wrong and I should be working to dynamically load the .mp3 and.flvs in the external swf ... my questiion is how to unload those assets when loading the new external swf

View 1 Replies

ActionScript 3.0 :: Loading External Swf Which Attached With Its Own External Class?

Jun 27, 2009

Lets say I have Main.swf and sub.swf, and I wanna load sub when I press a button from Main, but sub.swf has its own external class file attached, so here is the problem, when I load sub using loader class and I would get this message from the output panel:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at subScript()

seems loader class can not access sub.swf's external class when sub is being loaded.

View 1 Replies

ActionScript 3.0 :: Loading External Swf That Loads Other External Files?

Apr 24, 2010

Lets say I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any limitation or setting preventing external swfs loading other content?

View 2 Replies

ActionScript 2.0 :: Loading An External .swf Inside An External .swf?

May 24, 2005

I created a site using Kirupa's external .swf loading tutorial. Now in one of my externally loaded .swf's, I am loading another external .swf. I've gotten this to work fine, but the second external .swf (loaded into the first) contains buttons that will swap this second external .swf with another external .swf. I can't seem to get the AS references to the variables set up correctly in order to swap the swf's. The initial .swf loads fine, but the button control gets complicated inside it. It sounds rather confusing, so I've included a link to the .fla's and .swf's below.

[URL]

The file structure:

-band.swf load's profiles_main.swf

-The buttons in profiles_main.swf are trying to load chris.swf (swapping it entirely with profiles_main.swf)

View 3 Replies

IDE :: Loading External Swf That Loads Other External Files?

Apr 24, 2010

I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any security limitation or setting preventing external swfs loading other content?

View 3 Replies

Professional :: Loading External Swf From Within An External Swf?

Dec 20, 2010

everything was going fine on a website project I've been working on, until yesterday. I'll try to explain the whole scenario first, and I'll put the code in here too so anyone can try to figure out what is wrong. Here's the breakdown of the site:
 
1) There is a MAIN SWF file that plays an intro and then stops on the last frame with the "Main" Navigation buttons.
 
2) Inside the Root folder where the MAIN SWF resides, there is another folder called "swfs" which contains six main external navigation pages, as well as another folder called "galleries" which contains additional external swf files for six gallery pages.
 
3) On one of the layers of the MAIN SWF, there is a movie clip called "mySWFLoadingClip" that the "Main" Navigation buttons load and unload the external  swf pages onto. These all work perfectly. The problem start on the next step. This is the code I used for the navigation buttons on the MAIN SWF timeline:

[Code]...
 
If anyone can help me figure this out I would be really grateful. This is a very important project and the deadline is coming up very soon. Please help me figure out how to load an External SWF onto the main time line and then load an additional external swf from within the first external swf. I'm stumped.

View 3 Replies

ActionScript 3.0 :: Loading External SWF From Within An External SWF?

Dec 20, 2010

Ok, everything was going fine on a website project I've been working on, until yesterday. I'll try to explain the whole scenario first, and I'll put the code in here too so anyone can try to figure out what is wrong. Here's the breakdown of the site:

1) There is a MAIN SWF file that plays an intro and then stops on the last frame with the "Main" Navigation buttons.

2) Inside the Root folder where the MAIN SWF resides, there is another folder called "swfs" which contains six main external navigation pages, as well as another folder called "galleries" which contains additional external swf files for six gallery pages.

3) On one of the layers of the MAIN SWF, there is a movie clip called "mySWFLoadingClip" that the "Main" Navigation buttons load and unload the main swf pages onto. These all work perfectly. The problem start on the next step. This is the code I used for the navigation buttons on the MAIN SWF timeline:

var Xpos:Number = 0.0;
var Ypos:Number = 0.0;
var swf:MovieClip;
var loader:Loader = new Loader();

[Code]......

how to load an External SWF onto the main time line and then load an additional external swf from within the first external swf.

View 2 Replies







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