How can you retieve a list of classes from the Library

Is it possible to retrieve a list of the Linkage or Export
Classes from a swf library dynamically?
I am building an application where I allow the user to load
an asset swf at runtime, then they can choose to load any Exported
class from the library of the swf. Currently it works if you know
the name of the asset, that you want to load, but I would like to
be able to bring up a chooser list of the assets, rather than
having to type the Class names.
So far I have only seen examples where "if you know the class
name you can load it", but nothing concerning pulling the list.
There must be a list somewhere in flash, I just want to tap into
that.

I saw this before and did not have a chance to go through it
completely.
As I was reading it, though it did not seem to be giving me
the answer, as they seem to extend the Export clips in the library
by extending the class.
I'll run through that and see.
It does give me another idea though.
(crazy) Idea:
What if I extend the loader class and add a method, kind of
like what they are doing on the document class of the loaded swf,
to pull the class names. They hard code in the class names into the
array though.... so that is the crux of the issue.
Somehow I think this concept is doomed to fail but, I will
also see if that is possible.
I suppose for the application, I could require that any user
would use a swf with a document class that has the getAssets()
method.... also has some problems .... namely dealing with the
issue of "what if they do not extend" and having it fail
gracefully.
oh well, food for thought... I will leave this open for now
and perhaps I will post some answer.

Similar Messages

  • HT4914 How can you tell which songs are downloaded from the cloud on an ipad

    How can you tell which songs are downloaded on the iPad from the cloud?

    I know ipad albums are more like tagging photos rather than putting them in folders. I just have a nagging feeling I missed some pics and I have too many to try to go figure out one by one. I don't look at my photos from the camera roll, only from albums I tagged just because I imported photos from different sources and the dates and order is really messed up. I just want to know that I am viewing all the photos from like this vacation or that event and there's none I missed that are only in the camera roll.

  • How can I create a list of addresses from the Junk folder?

    I am using TB 24.7 and I have a long list of e-mail addresses in my junk folder. I need to harvest those to add them to my server's black list.
    How can that be done?
    Thanks.

    Trying to filter junk messages based on sender email is hopeless. The sender email changes all the time.

  • How can you convert a large video file from the photo cache  of an iphone3g to a playable file on a pc?

    how does one transfer a large ( 1gb) video file from an iphone3g photo cache to a pc in a playable format?

    The same way you would import any photo/video from a digital camera. Connect the iPhone to the computer and import the file. Then it can be played with Quicktime or any software that supports that file format.

  • How Can You Track Your Ipod If Lost Using The Serial Number

    How Can You Track Your Ipod If Lost Using The Serial Number?

    The find my iphone app has nothong to do with it.
    That app simply allow you to find other devices using your ipod.  It has nothing to do with fining the device on which it is installed.
    If you set up the find my ipod feature that is built into your ipod and the ipod is on and it is connected to wi-fi and it has not been restored, then you may be able to get an approximate street address using icloud.
    Othrewise, it cannot be tracked.

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • How can you take a video including music from IPhoto and put it onto a disk?

    How can you take a video including music from IPhoto and put it onto a disk?

    You need burn software which will author/encode the movie so it can be viewed using any DVD player - there is iDVD (still available as part of the retail 09 or 11 iLife disks at online resellers including ebay and Amazon) or Roxio Toast ($$) or Burn (free, but very basic).

  • TS1135 how can you correct just a few words on the text in the flap of a iPhoto book? do you have to rewrite it all?

    How can you correct just a few words in the text on the flap of iphoto book?

    Select it and change it - exactly like you edit any text on yoru Mac
    LN

  • Email attachments: whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    Is this a particular sender, or all of your attchments?  Google winmail.dat and you will see a number of returns that can explain this, but in short, this is the way some e mail providers deal with attachments.  If all of your e mail is coming that way, you need to change a setting on your isp set up.  Perhaps stary here...
    http://www.nytimes.com/2010/11/25/technology/personaltech/25askk.html

  • How can you search this forum without searching all the other forums

    how can you search this forum without searching all the other forums at the same time which is a big fat waste of time.

    Follow this tip to create a bookmark to a search page that searches only the forum you want or...
    Browse with Firefox and enable this Greasemonkey script, which forces all searches from a sub-forum to be local.

  • How can you view an event's time in the month mode of the calendar without clicking on it?

    How can you view an event's time in the month mode of the calendar without clicking on it?

    bbmca,
    Have you tried enlarging the month view window?

  • How can you start up your ipod if holding the hold and home button does not work?

    how can you start up your ipod if holding the hold and home button does not work?

    Remi,
    How long did you hold these buttons for? Did you try more than once?  Have you tried letting it charge for a bit and trying again?
    If nothing else, see this article for more troubleshooting assistance.
    http://support.apple.com/kb/TS2771
    B-rock

  • I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

  • My apple id is set on France app. Store, how can I buy or rent a movie from the American store??!

    My apple id is set on France app. Store, how can I buy or rent a movie from the American store??!

    You are very welcome.  I lived in France for a couple years and wish I could buy books from the French bookstore but cannot so am very familiar with this issue.
    Part of the problem is concerned with international copyright laws.

Maybe you are looking for

  • Time Out Isssue

    Hi, We have a SQL Azure DB which is about 5 GB & whenever we try to execute an query which takes little more time to process it gives following error. Retrying also gives the same error. (Timeout occurs after executing query for about 5-10 mins ) - "

  • Peformance of a Materialized view

    Hi, I have created materialized view the below CREATE MATERIALIZED VIEW SUMMARY.V_OSFI_FEED_CORE_DATA_ADJ TABLESPACE RCDW_CAD_SUM_1M_DAT01 PCTUSED    0 PCTFREE    0 INITRANS   2 MAXTRANS   255 STORAGE    (             INITIAL          64K            

  • Anytime Call Plan

    I recently signed up to The Unlimited Anytime Plan........and was under the impression that Caller Display was Free......however the caller display has never worked, so I called BT and was informed that it should have been activated and apologised bu

  • Keyword Filtering by number of allocations (or not).

    Another keywording request. I would like to propose a feature that will allow a user to display all images that have a minimum or maximum number of keywords assigned. By implication, this means that a user could show only images that have 2 or less k

  • MOVED: SSD trim support on legacy ATA

    This topic has been moved to Windows 64bit. https://forum-en.msi.com/index.php?topic=135446.0