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
I downloaded Ericsson H5321gw/C5621gw Mobile Broadband Driver for Windows 8.1 (32-bit, 64-bit), 8 (32-bit, 64-bit) - ThinkPad (http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS032425) because I occasionally have an issue with resuming. I [More]
I want a PDA like device, but need it to interface to my Mini...but here's the wrinkle...my music is a playlist on my husband's windows based Itunes. I listen to about 10% of his music. So can I have my music from his I-tunes, and my contacts and cal [More]
How do you watch netflix from your macbook to your hdtvHave you selected the appropriate input from the TVs perspective using the TV remote? If that isn't enough, check the settings in System Preferences > Displays, and if you don't have sound, Syste [More]
I'm having trouble with getting quotation marks to display correctly, they look like 2 stacked >> symbols.  They change slightly depending on what font I'm using, but they all ride at the base of the text.  I cannot acheive normal looking curly or s [More]
Hello, does anybody used any of the se3000 family storage under red hat linux , model 3310 or 3320 or 3510 ? There are any documents around for the setup or any howtos ? Any info apreciated . Thanks, PatrizioWhat are you looking to find out? What HBA [More]
Hello, I was asked to post info about this by an iPhone support rep. I initially had lots of trouble setting accounts for use with both my WiFi home and office networks and for use through the ATT cell network. If you have a question as to how to set [More]
Hi All, my systems has the following Linksys products: modem - ADSL2MUE wireless router 1 - WRT54GS (1st floor) wireless router 2 - WRT54G (2nd floor) switch - SR2024 (for cable connections) I was able to connect all the PC to the internet. My proble [More]
Hello, All, Does someone have the experience to register a schema use a .xsd file which contains several tags like <xs:include schemaLocation="../dt/somedatatypes.xsd"/>? I tried both the OEM and command line dbms_xmlschema.registerSchema( [More]
I have a few questions regarding best practices for implementing Azure Search, I am working on loading Titles and Usernames into Azure Search with a unique ID as key, search would be on various matching words in Titles or Usernames: - Is there a deta [More]
I have iPhoto, regular finder files, and adobe Bridge.  I loose photos all the time because of the automated functions in iPhoto, and am wondering if I ought to bite the bullet and give up organizing my personal picture files on my external hard driv [More]