[flexcoders] Loading an external swf

2009-05-18 Thread Shabir Gilkar
Hi,

Project is in: Flash AS2
I have Main.swf, which is main swf of the website, in which i am loading
external swfs in content area with in loader. for example when i click on
about menu it opens about.swf. With in the about.swf i have set three button
one  is services, products, portfolio. Now when i click on the services
button with in the about.swf which is in turn loaded in loader which is in
main.swf.

but the services.swf is not loaded in the main.swf's loader. which i am
calling from about.swf

can any body tell me how to load the external swf with in the same loader
from any other external swf.

-- 
With Regards

Shabir Ahmad Gilkar

Srinagar Kashmir JK

Voice: +91 9419942501
email: shabirgil...@gmail.com
Skype: shabirgilkar


[flexcoders] Loading an external swf screws up the layout (f2)

2006-07-10 Thread rigidcode

Anyone who tries to use the Loader class to load a large (in pixels)
Flash 7/8 swf into a Flex app would probably run into this.  But I
couldn't find it in the archives...

If you load an external Flash 8 swf into a Flex 2 app, with the Loader
class, it will spill out of whatever container you put it in.  Really
looks like a bug.

In other words, say you want to load a large (say 1000 pixel) swf
file, into an HBox that's 100 px wide.  If you put the Loader into a
UIComponent, and then put that UIComponent into an HBox, and the width
of the swf that you loaded is larger than the width of the HBox, the
swf will just spill over the edges of the HBox.  And spill over pretty
much anything else in the Flex app too, while it's spilling. 

What do I do here?






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Loading an external swf screws up the layout (f2)

2006-07-10 Thread JesterXL
I've had the same problem and couldn't figure out a fix.  The problem is you 
can't talk to non-Flash 9 SWF's via conventual methods, so maybe build an 
API that you can call via LocalConnection, or wait for the Loader to load, 
and beat the loaded content into submission; there are some methods you CAN 
mess with such as width, height, etc.

- Original Message - 
From: rigidcode [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 10, 2006 1:46 PM
Subject: [flexcoders] Loading an external swf screws up the layout (f2)



Anyone who tries to use the Loader class to load a large (in pixels)
Flash 7/8 swf into a Flex app would probably run into this.  But I
couldn't find it in the archives...

If you load an external Flash 8 swf into a Flex 2 app, with the Loader
class, it will spill out of whatever container you put it in.  Really
looks like a bug.

In other words, say you want to load a large (say 1000 pixel) swf
file, into an HBox that's 100 px wide.  If you put the Loader into a
UIComponent, and then put that UIComponent into an HBox, and the width
of the swf that you loaded is larger than the width of the HBox, the
swf will just spill over the edges of the HBox.  And spill over pretty
much anything else in the Flex app too, while it's spilling.

What do I do here?







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/