How do i load a swf and take snapshots of that loaded swf?

hey guys, so i have a multitude of swf's that i need to load into my application, and after loading them i need to take image snapshots of those swf's, to create a slides list.
i know i can do somehting like this:
var imageSnap:ImageSnapshot = ImageSnapshot.captureImage(source);
but the problem is, how do i know if the swf has loaded all the data within it???
thanks in advance!

OK.
Here is the starting point:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
<![CDATA[
import mx.controls.SWFLoader;
private var swfLdr:SWFLoader;
private function startSWF():void
swfLdr = new SWFLoader();
swfLdr.horizontalCenter = 0;
swfLdr.verticalCenter = 0;
swfLdr.source = "youFile.swf";
addElement(swfLdr);
]]>
</fx:Script>
<s:Button x="50" y="50" label="start" click="startSWF()" />
</s:Application>
If this code gives you an error, you want to check that the swf address is correct and the swf itself is not corrupted.
From that point,  you start build your custom functionality - one step at a time!
Sorry, HTH,
FTQuest

Similar Messages

  • TS3276 How do I send an email and get a receipt that they opened it? I have seen this before, but don't know what setting to go to.

    How do I send an email and get a recipt that they opened it?

    Additionally, even if Mail supported it, the recipient would have to allow/consent to sending you the receipt - if I were the recipient, I would certainly not allow it. If you are sending legal or other very important files, use the "return receipt required" feature of US Mail - you will get a receipt that it was accepted with a signature.

  • Just after closing games installed on my computer, my firefox browser is automatically activated and takes me to that company's website; how can I disable this

    These games are downloads from various websites (myfreegames.com; gametop.com; freeridegames.com; others) and the action is always the same - as soon as I exit or close-out a game, Firefox immediately opens, and connects me with that particular game company's website. There must be some way to disable this. Please help.

    To Tylerdowner - thanks for the info; I was afraid there'd be nothing in the Firefox program itself. I'm guessing there must be something embedded in the game program file that is triggered when I close the program. Anyway, thanks again for the help.

  • How do I shorten one region and take up slack keeping later regions intact and in synch in short story spoken word reading

    I import one track which is one region and it is a little more than one hour long. It is the import from the master, It is a spoken word short story and the reader makes a a few flubs/miscues in reading. He repeats to redo text where he makes reading mistakes. So, I have a story in one track-spoken word. Now, I edit out mistakes and finish the first draft.
    There are now 100 regions in the track. I go back to fine tune the edit and recheck for reading mistakes and editing mistakes. In region 10 I realize I must cut a portion out because of an extraneous word mishap. This spilt makes region 10 shorter. Now I must move ALL regions, 11-100, up to take up the unwanted gap. How do I get all, 11-100 regions to move up and keep the story intact, in synch?
    Then, in region 20 I realize I must lengthen it, part of a sentence is cut off. I re-import the original to a new track and find the sentence I need and spilt the track so I can replace the faulty region 20 with the new and longer region 20. Now, region 21-100 need to move downstream to make room for the longer replacement region.
    How do I get 21-100 to move as one unit, downstream so I can add 20 and keep everything in sync?
    I do not think, or at least hope, I have to select each 21-100 regions individually.

    jackerle wrote:
    How do I get all, 11-100 regions to move up and keep the story intact, in synch?
    the most obvious way is to zoom out and drag select them all.
    a less obvious way would be select all the regions (click in the track header) and choose the Join menuItem to create one large region out of all the peices, then you're moving only a sngle region after your edit point
    jackerle wrote:
    Then, in region 20 I realize I must lengthen it, part of a sentence is cut off. I re-import the original to a new track
    you created extra work for yourself, edits are non-destructive:
    http://www.bulletsandbones.com/GB/GBFAQ.html#nondestructive
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    just grab the bottom right corner of the region and drag to the right to bring back the missing section

  • Time zone support help: how do I enter an event and have it keep that time regardless of time zone?

    I consistently enter events in one time zone, because that is just easier. I would prefer it KEEP them as entered, not revise them as I travel. IE, I live overseas and constantly travel. It is very difficult to keep track of my schedule if I must always calculate the time zones when entering or viewing events. How do I set it up to leave them as entered, even as I travel, without changing the ipAd clock to stay in one time zone?

    Hi karlsf!
    It sounds like you may need to adjust your time zone support settings. An article about doing this can be found here:
    iOS: How to adjust Time Zone Support for calendars
    http://support.apple.com/kb/ht4576
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • How to use Lightroom from iMac and Macbook Air so that I can edit any/all photos in my catalog?

    I have lightroom catalog setup on my desktop (iMac).  But, I would like to edit photos from my new MacBook Air when I have the free time.  How do I set this up so that any edits done on my laptop sync with my desktop catalog?

    Craig:
    In the future you might look into an external FW hard drive from which you can operate the library.  Then, if you need to move it to another machine just unplug the drive and and plug it in to the other Mac.  For the MacBook Air you'd probably want a small (physical size) buss powered drive that would be an easy travel mate.
    For future projects, particularly books, consider creating a separate library for it.  You can assemble the photos you want in it in an album in your primary library and use iPhoto Library Manager to copy that album to the project library.  They are often small enough that then can be copied to a flash drive for transfer to other Macs. 
    OT

  • How to create wave pick document and transfer order from that document

    Hi All,
    I want to create wave pick document based on delivery and correspondingly want to create transfer order for that. My requirement is that if in 3 delivery i have to pick material M1 as 100, 50, 100 qty then when i create wave pick for these deliveries and create Transfer order by this wave pick doc it should pick from single bin of warehouse , currently it is picking from 3 different bins though qty in each bin is more than 250 in each bin. Also suggest me the configuration requred for this.
    Thanks in advance:

    Hello Gordon, tha is working perfect now I finaly get the forecasted items in my MRP window If I click on show recommendations I see he recommends he wants to order some pcs, and Indd what I split in to Buy or Make is separated in an Production order. But how do I change the recommendations into orders?

  • HT3275 When external backup is complete, how do I safely disconnect usb and not lose anything that has been backed up

    When my GoFlex external backup is complete how do I safely remove usb from MacPro without losing anything ??

    And yet another... drag the drive icon to the Trash 

  • How to link  web dynpro screen and R/3 ,so that I can build a workflow.

    Hi all,
             I  have to build a workflow for Personnel Administration(PA) in HR module. The document is not standard, so I have to build my own Bussiness object. But the senerio, screeens for particular document are designed in web-dynpro which will be there in separate portal and we suppose to link this in R/3 system. Whenever user fills that particular document (a form or a document in a portal) and clicks on submit button which is provided in the document workflow should get trigger. Also this screen should be used as workitem to a persons SAP inbox as well as in the portal inbox.
      <b>Please help me</b> for what should be my starting point in designing workflows.
    It would be helpful if anyone provides me with detailed describe step for each and everything along with few links and examples. As i m new to sap
    Thanks in advance.............Do reply......]

    /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
    I think this maybe helpful to you.

  • How do i restore an ipod and not lose pics that are not saved

    Restore an ipod 4th gen & not lose pics that are not saved

    What is the current operating status of the iPod?
    - Maybe from the restored iPod via How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      
    http://www.pcrecoverytools.com/ipod-data-recovery.html

  • How can I customize window size and have it stay that way? It automatically maximizes the moment I click anywhere on the page.

    I have added a large widescreen monitor and now have a two-screen set up. This taxed my old video card, so we replaced that, too. Then I updated Firefox. Now my window automatically maximizes. "Restore" is the same size as "Maximize", and I can resize it if I carefully drag and drop all four corners. But if I click on the top bar to relocate the resized window, it re-maximizes. I can't find any options or settings that allow me to fix the window size, lock a customized window size, etc. IE8 is not doing this, so I don't think it's the monitor or desktop settings.

    Window sizes and positions are stored in [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].<br />
    <br />
    Delete localstore.rdf or rename the file to localstore.rdf.sav in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to test if the file is corrupted.<br />
    See http://kb.mozillazine.org/Corrupt_localstore.rdf<br />
    (caution: do not delete the localstore.rdf file in the Firefox program installation folder)<br />
    <br />
    Note:<br />
    Deleting the file [http://kb.mozillazine.org/localstore.rdf localstore.rdf] will reset the customizations of the toolbars to the defaults.<br />
    You can rename "localstore.rdf" to "localstore.rdf.sav" to test if that solves it.<br />
    Then you can restore the customization by copying "localstore.rdf.sav" to "localstore.rdf" if it didn't work.

  • How to completely turn off Bluetooth and Wireless

    Hey everybody,
    I'm running Windows XP SP3 via Boot Camp and I was wondering if anyone can assist me in how to completely turn off Bluetooth and Wireless connectivity so that I can reserve as much batter life while being in class taking notes without a plug-in source, but not uninstall. I know there is a Bluetooth control panel and I disabled it there but under "connect to" its still remains there. Basically I want to have the Bluetooth and Wireless turned off completely when I startup and still have the icons shown in the taskbar to let me know that they are still there.
    Thanks!

    Joergen Thomson, I can see that you have the same thoughts like I do, I wish they could release a software that is stable and better then this.
    I dont have the energi or time to report all flaus back to cisco, this product have taking to much of my time and frustration already. Thank you so much for all the time you spend to try get this product stable and hopefully a good product.
    I have a costumer that have a webservice that is IP restricted, For now I have to define more then 93 policys openening for the same service because this doesnt handle address list and groups. And all the times I had to set it back to factory default becasue of HTTP Admin server stopped, VPN Problem, Firmware Upgrades, "Packet Loss" and so on takes alot of time becasue I need to reconfig policies back.
    For now to they release a firmware is stable I have take this piece off the network and put the back a old Fortinet 60 box.

  • How can I have multiple accounts and only one library

    How can I have multiple accounts and only one library that all the purchased items feed into?

    ask your wireless provider.

  • How to set the PSSigGetSigValueParams.sigMode and subfilter for a PubSec plugin

    Hi,
    My PubSec plugin, based on DocSign sample, has its  PSSigGetSigValueParams.sigMode value to kPSSigMethodPKCS1 by default. I am creating PKCS7 signatures, but due to this default value i cannot.
    My questions:
    1 - My understanding is that to create PKCS7 signatures my subfilter should be adbe.PKCS7.detached or sha1. And i assume that PSSigGetSigValueParams.sigMode value in sigGetSigValue() is also related, but its constant and cannot be set. how can i set the subfilter and sigMode values so that my plugin starts creating pkcs7 signatures?
    2 - I cannot find a documentation which would describe the detailed process of creating and validating signatures using PubSec, in the same way it is described for DigSig. Can you point out such a document so i dont have to ask these basic questions?
    3 - Is there any sample available which creates PKCS7 signatures?
    thanks in advance.

    OK... i am answering myself again.
    1 - Ans: How can i set the subfilter value for a PKCS7 signature in my plugin
    2 - Ans: I still cannot find any detailed documentation. I just debugged the plugin and found out answers for myself.
    3 - Ans: And i still dont know if there is any PKCS7 signature creating sample. but if u use the DocSign sample and follow the steps described in 1-Ans above, then you can easily create PKCS7 signatures.
    So, i am considering my question answered. hope it helps others aswell.

  • How do i get a refund and cancel my upgrade ?!, How do i get a refund and cancel my upgrade ?!

    So I just bought the 10MB storage on my ipod, and realised that it doesnt increase the storage on my ipod, so i still have no room for music etc.
    How can I fix this, or how can I get a refund and get rid of that 10MB that I dont need cus I dont know how to use iCloud.
    Thanks

    Try then number shown in this post: https://discussions.apple.com/message/21002309#21002309#21002309.

Maybe you are looking for