?
Solved

How load full page external swf in fixed size swf

Posted on 2011-02-23
3
Medium Priority
?
562 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
gingermoleman earned 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.
Suggested Courses
Course of the Month15 days, 15 hours left to enroll

743 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