• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

How load full page external swf in fixed size swf

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
robizs
Asked:
robizs
1 Solution
 
gingermolemanCommented:
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
 
CyanBlueCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now