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've noticed that in the new version of Firefox that you cannot save multiple tabs at one time like the previous Firefox 3.6.or so and I wanted to know if I can find that feature again? In the previous versions of Firefox when you went to you Bookmar [More]
How to undo "This solved my question" on this "Using iPhone" forum? new to this forum... how do you undo this?**** lol, In that case they should give a warning or some type of "You sure?" yes/no. I clicked completely by mista [More]
Hi, I just finished refurbishing my Toshiba Tecra M3 (64MB Nvidia 6200 model) which had been dead for 6 months. Basically it had the mainboard changed (applied new daimond thermal grease over GPU/CPU due to overheating issue), new screen installed, n [More]
Hello gurus, I am working on the PP and PM module. the standard extractor 2LIS_04_P_COMP is already in use in the development system . I have made the changes to the Production Order (PO) and check the delta for the BW load the changes in the field r [More]
After I browsed a page in a websit, I could not close that page by using the X in the rt. hand top corner as when I did this Firefox told me that it would close all tabs. It was the only way out so I closed them and started from scratch.mratlasdreamz [More]
I need an advice, i need to choose between 2 alternatives to add ajax behavior to my JSF application. What is the best, ajax4jsf framework or IceFeaces framework..?It's posible, i don't know yet. But i would like you tell me based on your experience, [More]
hi, I got a 1.67Ghz G4 power book w/ airport extreme card. (firmware version 405.1) been connecting to the web via my airport extreme base station (802.11n) recently the power book start to have problem maintaining the internet connection, it would c [More]
Currently, in our 11.5 instance, we run translation within each non-USD set of books at month-end, prior to transfer into our consolidation set of books. The rates used seem "normal" to me: - P&L activity at month-end average rate - Assets/L [More]
Hi , my name is Luck , I will explain : - I have created java script which execute commands from cmd level - In java script I'm starting *. bat file which retrieve information from system example : hostname > C:\test and then I'd like to load from th [More]
Hi, i'm using Crystal Reports for Visual Studio 2010.  I'm grouping my report by TenantID column.  When i generate the report, it shows the TenantID in the TreeView (on the left side).  Is there a way that i can group by TenantID, but show TenantName [More]