Sitemap

Amicuk Programming Answers

Loader component loading swf bigger as it is?

2015-10-11   Views:0

Advertisement

Im loading second.swf in main swf using a loader component, second swf is has a stage size of 800*85, i load it in a component with the same size, and scaleContent = true This goes wrong, after investigating second.swf it actualy has a stage size but

Im loading second.swf in main swf using a loader component,
second swf is has a stage size of 800*85, i load it in a
component with the same size, and scaleContent = true
This goes wrong, after investigating second.swf it actualy
has a stage size but some components on the size like a textfield
goes beyond the stage (which is necesarry to be able to load enough
text in it (it starts scrolling then to be visible on stage), when
i test second.swf, i get a 800*85 swf.
But when i include it in an other swf and autoscale it, it
seems like flas includes the objects outside the stage from
second.swf to do the scaling.
Ideas to avoid this fenomenon ?

The replay answer
Advertisement
the loaded swf will include objects that are off-stage. it
wouldn't be satisfactory if those objects were "omitted".
if you want second.swf to appear the same in main.swf,
main.swf will need to have the same stage size as second.swf or
you'll need to mask second.swf's target to make it appear the
same.

Go to See the other 2 answers

Loader component loading swf bigger as it is?

Category:DefaultRelease time:2015-10-11Views:130

Im loading second.swf in main swf using a loader component, second swf is has a stage size of 800*85, i load it in a component with the same size, and scaleContent = true This goes wrong, after investigating second.swf it actualy has a stage size but[More]

Loaded SWF not displaying

Category:DefaultRelease time:2015-10-11Views:130

I've created a 'plugin' SWF file in CS3 using actionscript 3. The purpose of this file is to be included as a postroll in the open source flash media player JW FLV/Media Player ( http://www.jeroenwijering.com/?item=JW_Media_Player). I have heavily cu[More]

How can I get stage width of an loaded swf?

Category:DefaultRelease time:2015-10-11Views:130

Is there any way to get the real stageWidth of an loaded swf? The problem comes when the loaded swf has some elements outside the scene. In this case content.width becomes bigger then the scene. My code looks like this: var request:URLRequest = new U[More]

Using the DateField in an Externally loaded SWF

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have been having major trouble trying to get a basic PHP contact form to work within an externally loaded SWF file inside of a parent SWF. When I test the movie on its own it seems to work fine (example: I'm able to select a date from the Da[More]

CellRenderer is not displaying icons in a loaded swf, throws null child addChildAt

Category:DefaultRelease time:-0001-11-30Views:130

I'm working with a component that extends List.  It works fine unless it's loaded into another swf. It cannot find the library symbols.  I know the symbols exist in the loaded swf.  Is there a quick fix to this?I have the component in the top level a[More]

Calling a function in a flex app from a loaded SWF

Category:DefaultRelease time:-0001-11-30Views:130

How can I call a function in a flex application from a loaded swf file?Two ways: Application.application returns a reference to the top-level application scope. You can access any public member, var, function, component, etc through that reference. D[More]

Loaded swf file alignment

Category:DefaultRelease time:-0001-11-30Views:130

when i i design something in a file i have it aligned how i want it, however when i load the page into another, although the loader component is aligned, the content inside the loaded swf file is no longer where it should be. why is that? how can i f[More]

How to access dynamic movie clips in a loaded swf

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I have a main movie file that loads a swf through loadclip. There are several dynamic movie clips in the library of the loaded swf (all set to export in first frame). I'm trying to create a popup window (using the Window component) by using co[More]

Problem in loading swf within Flex 1.5

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I'm working with a flex project.The logo of that project is a spinning wheel created with flash tweens. I ve loaded that swf file into Flex using a Loader component. But despite of whatever framerate i ve specified, the wheel spins in a const[More]

Scrollpane all screwy  inside loaded swf

Category:DefaultRelease time:-0001-11-30Views:130

I have had this problem using both the scrollPane component from Flash 8 and an open source code scrollpane that I found in Flashkit. I have an swf in which I'm using a scrollPane which works fine when I test the movie. However, I'm loading this swf[More]

Applying an onDrag actionscript to a loaded swf

Category:DefaultRelease time:-0001-11-30Views:130

I want to make a loaded swf file dragable within the main stage. Can someone point me to a tutorial or show me how to do it? Thank you!This one took a few tries to get right. But I think I figured it out for yuh'. I assumed you were using a "ScrollPa[More]

Hot
Hi, I've have configured three domains of WLS8.1sp4 on unique ports namely 6001, 7001 & 8001 but only one domain can be started on the port 7001 but there is a problem starting the other ports. All the three domains WLS were able to be started withou [More]
I was told my support on live chat to try downloading the newest version of the firmware for my wireless router WRT54G. I had 3.something from 2004. I now have 4.21.1 and I STILL cannot see my router in my View Available Wireless Networks list. I see [More]
Try to get BPEL PM 10.1.0.2 working on JBoss 4 and everything is fine till deployment. But when I try to logon to BPELConsole, it doesn't give me the default domain to logon to. Then check the log file under $orabpel.home/system/log, the log file onl [More]
Following a recent upgrade to OS X Mavericks I'm having problems with using the file browser when trying to upload a file - example, facebook or Google+ upload image. I click on the appropriate button to open the browser, it opens for a short while, [More]
Does anyone know how to create an automatic Google product feed in Business Catalyst? Plenty of other eCommerce solutions offer Google product feed plugins. Alternatively, is there a way to use the API integration or RSS feed to do this?Hi Jane PRETT [More]
Hello, I have some bad performances in a web interface. I could correct some of them help to aggregates, but I am facing a bizarre situation. I have one variable for 0EMPLOYEE. I fetch the characteristic values help to an exit function, and this work [More]
I have a Premiere Pro sequence with Encore Chapter markers.  Can I export a single file so that the navigation and chapter info is encoded?  I am trying to simply share this video, and do not want to share the large amount of files created when I exp [More]
Hi there, i've been having problems opening a load of images ive got for a while now and i just can't seem to get photoshop to do it right. So ive come here for some advice/tips. Basically i have some micrographs ive taken which consist of 4 stacked [More]
hi i am subbu , i need some to give me different tickets which are handled during support project and some soft copies if possible Please search the forums before postingHi, Can you please tell your requirement in details, why you required it. Cheers [More]
Hi All, Im not sure if this is the correct forum, but it has been very useful while we wrote these games, so I invite you all to come play our new games at: http://www.crystalsquid.com/Games.php Any feedback would be greatly appreciated. We've had a [More]