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


Similar Posts:


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

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

Flash :: New To - Method Of Loading External Files?

Sep 6, 2011

i have been working with a few basic flash presentation to learn the ropes. However, I am working on a flash file which, when compiled, pulls in flash content from elsewhere in the Parent folder. I have read through the FAQ and cannot find the answer, as there doesn't seem to be any Actionscript which handles the importing of these external files.

Are there other methods that I am unaware of? I need to edit these other files, however I find it more beneficial to first understand how the Flash file is compiled before editing.

View 2 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 :: Slide Link To A Webpage Error #1009 "Cannot Access A Property Or Method Of A Null Object Reference"

Feb 21, 2011

I am new to Flash and am working on a banner slider where there are 5 different images (slides) that come onto the scene about 8 seconds apart. Each slide I am trying to link to a web page but am getting the error; TypeError: Error #1009: Cannot access a property or method of a null object reference. at NLE_fla::MainTimeline/frame1() I'm sure it has to do with the link on the second slide not being found since the slide doesn't load right away. Am I supposed to be loading some variables first or something? Here's my code;

[Code]...

View 5 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 :: Call Method From JS Without Loading SWF?

Sep 27, 2011

Well yeah, it sounds funny, but all I want is to read the value of Capabilities.version to get the right version of the Flash player? I have tried getting the version info from swfObject library, but it doesn't give the complete version info:[URL]..

FP version info have 4 numbers: major, minor, release and build. I couldn't find an API which can give me all four on all browsers without loading SWF. Hence I am looking for help here.

View 2 Replies

ActionScript 3.0 :: Loading A Video Using The URL Method?

May 7, 2010

I am trying to load a video using a URL, and I keep getting this error:

Code:
VideoError: 1005: Invalid xml: URL: "http://pegasus.dev.webriverinteractive.com/API/Resource.ashx?ResourceID=16&FLVPlaybackVersion=2.1" No root node found; if url is for an flv it must have .flv extension and take no parameters

[Code]....

View 5 Replies

ActionScript 3.0 :: Loading Video Through AddChild Method?

Mar 21, 2010

I have a main SWF e-learning tutorial and want to have video pop up on certain screens. over the main area.It would be like a person walking over a screen shot of a program.

1. Should I do an load the video through an Add Child method or load it to another level? User would click a button to see the video.

2. Can you pull out all the back ground in a program like Adobe Premiere and have a transparent background or will I need to put some form of a background in like the screenshot.

View 2 Replies

ActionScript 3.0 :: Setter Method - Loading Images In SWF Using XML

Sep 30, 2010

I want to use setter method for my xml object which is contain Images path. Actually I want to load images in swf using xml so for this purpose I make a xml object using URLloaing class and I want to setter and pass these object to other class ........like ImageLodingClass. My question is how to receive this object in ImageLodingClass IS it is String so how to Convert in Array for storing All path of images?

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

ActionScript 2.0 :: External XML Or TXT : Use That Data For A Specific Method?

Nov 1, 2011

I've learned recently that you can use txt file for simple data too, so I include it here as well.TXT contains (not sure if correct, should have same data kind as the xml):

point1&x=1&y=2
point2&x=1.5&y=2.5
point3&x=5&y=-5

XML contains:

<?xml version="1.0" standalone="yes"?>
<points>
<point1 x="1" y ="2"></point1>

[code]....

What I have:

- I have 2 dynamic textfields: text1 (variable: outPut1) and text2 (variable: outPut2)

- I have 1 input textfield: (variable:inPut)

- I have 1 button

What I'm trying to do:

- When typing point1 in the input textfield and then pressing the button,(onRelease), outPut1 textfield should show the number 1 and outPut2 textfield should show 2.

- Similar, when typing point3 in the input textfield and pressing the button, outPut1 should show the number 5 and outPut2 should show the number -5.

-It is not only for these three points, it should be applicable with say 50.000 to 200.000 more of such points, each with different x and y values.

To sum it up:So Flash (with AS2) should screen the nodes or txt (for those point names) on what was inserted in the input textfield, then fill the corresponding attributes (XML) seperately in the textfields and all that after the button was pressed. The same deal if it was done with txt, if possible (have read that with txt, loading of data would be faster?).

View 4 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 :: Static Utility Method Requires Loading?

Jun 29, 2010

I have a bunch of functionality which is going to be used throughout the application.I already have some utilities which work ok such as changing an AS3 object into XML.public static function convertMyObjectToXML(o:Object): XMLThis can go in a UTIL class somewhere.nother thing i would like to do is create a "createDirectory" via php. public static function createDirectory(name:string, path:String): voidThe problem is, in order to get the response from the server, i need to listen for the load to complete (or fail).So am i right to think that static methods are not possible or desirable here? How else can i solve the problem of reusing such a method throughout an application?

View 0 Replies

ActionScript 2.0 :: MovieClipLoader's LoadClip Method Is Loading Swf Before Its Downloaded 100%?

Aug 27, 2008

I created a MovieClipLoader a few days ago that is reuseable. I will be using the same preloader graphics when I am loading in external swf on my stage. My MovieClipLoader functions fine with jpegs and smaller sized swf files. But whenever I load a larger sizes swf it loads the movie before it has fully downloaded in simulation mode. The odd part is that everything works fine with smaller swf files but not larger ones . I have tested a few movies and that seems to be the common theme.

In the example below main.swf is the clip I am loading into "mcBackground".

[Code]...

View 7 Replies

ActionScript 3.0 :: Method - Loading Thumbnail + LargePic - Matching Them To Another?

Aug 13, 2010

I am loading 20 thumbnails. I am loading 20 large pictures of the thumbnails. Large pics load second, pushed into largePicArray They all load at different times. So I can't just throw them in their own array, and them call upon them by their elements. So I can't push 20 thumbs to array1, and 20 large pics to array2, and hope that their elements are in the same order. It won't happen.

So my Q is this. What is the easiest way to place them in the same element order after they all have loaded? So that, for example, "thumb17.jpg" can be in any element of its thumbArray, and then "largePic17.jpg" would be in the same element position, in largePicArray. If "thumb17.jpg" is in element 5 of thumbArray, I need largePic17.jpg to be in element 5, in largePicArray.

I have a few ideas, but I want to hear ideas. Maybe you know a nice, easy route?

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







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