Solved

How load full page external swf in fixed size swf

Posted on 2011-02-23
3
551 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now