Solved

How load full page external swf in fixed size swf

Posted on 2011-02-23
3
553 Views
Last Modified: 2013-11-11
I have centred flash webpage 980px x 480px, but now I need on button click load external full pages swf (resizable photo gallery as3, xml )

How can I load it?
 
0
Comment
Question by:robizs
3 Comments
 
LVL 5

Accepted Solution

by:
gingermoleman earned 125 total points
ID: 34966274
Hi,

2 methods. You can add a UILoader in the GUI. Under the button click you need:

var url:URLRequest = new URLRequest("http://pathtoswf");
loader.load(url);

where loader is the instance name of the UILoader

or you can add the loader dynamically by not having the UILoader at all by having this under your click:

var loader:URLLoader = new URLLoader();
var url:URLRequest = new URLRequest("http://pathtoswf");
loader.load(url);
addChild(loader);

GMM
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 35221217
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question