AS2 : can main movie have a class?

I know that it's possible to attach a class to a movieclip
symbol.
But how to attach a class to the main movie itself?
What I want is to create a movie called GUI that will be
loaded from a
separate movie called loader:
loader.swf is run by FPlayer and loads GUI.swf
How can I embed a class GUI for the movie GUI so that the
data of the class
GUI is compiled inside GUI.swf and not inside loader.swf?
Thank for your help
Henri

Thanks for your help.
?_lockroot?? Do you mean _root ?
"myIP" <[email protected]> a �crit
dans le message de
news:e9b3or$4ih$[email protected]..
> ?How can I embed a class GUI for the movie GUI so that
the data of the
class
> GUI is compiled inside GUI.swf and not inside
loader.swf??
>
> So I assume you understand that when GUI.swf is compiled
it will have
class
> GUI data in it. And you don?t want to have the symbol to
access class
GUI,
> correct? Then cant you created an instance of class GUI
on GUI?s timeline
like
> below?
>
> var myGUI:GUI = new GUI();
>
> If you have done that and still have problems with it
are you using
> ?_lockroot??
>
>
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.ht
> m?context=LiveDocs_Parts&file=00002482.html
>
> Or?are you thinking that you can compile another SWF
from the
FlashPlayer?
> This I believe can?t be done. FlashPlayer is not a
compiler.
>
>

Similar Messages

  • AS2: Can main movie itself have a class?

    I know that it's possible to attach a class to a movieclip
    symbol.
    But how to attach a class to the main movie itself?
    What I want is to create a movie called GUI that will be
    loaded from a
    separate movie called loader:
    loader.swf is run by FPlayer and loads GUI.swf
    How can I embed a class GUI for the movie GUI so that the
    data of the class
    GUI is compiled inside GUI.swf and not inside loader.swf?
    Thank for your help
    Henri

    Thanks for your help.
    ?_lockroot?? Do you mean _root ?
    "myIP" <[email protected]> a �crit
    dans le message de
    news:e9b3or$4ih$[email protected]..
    > ?How can I embed a class GUI for the movie GUI so that
    the data of the
    class
    > GUI is compiled inside GUI.swf and not inside
    loader.swf??
    >
    > So I assume you understand that when GUI.swf is compiled
    it will have
    class
    > GUI data in it. And you don?t want to have the symbol to
    access class
    GUI,
    > correct? Then cant you created an instance of class GUI
    on GUI?s timeline
    like
    > below?
    >
    > var myGUI:GUI = new GUI();
    >
    > If you have done that and still have problems with it
    are you using
    > ?_lockroot??
    >
    >
    http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.ht
    > m?context=LiveDocs_Parts&file=00002482.html
    >
    > Or?are you thinking that you can compile another SWF
    from the
    FlashPlayer?
    > This I believe can?t be done. FlashPlayer is not a
    compiler.
    >
    >

  • I hava a class that's print out in dos now I want it....

    I hava a class that's print out in dos now I want it to print out in a Gui application or applet instead how do I do.
    Here is the class file:
    import filenet.vw.api.*;
    public class QueueSample extends Object
    public QueueSample(VWSession vwSession, Logger logger, String queueName)
    QueueHelper queueHelper = null;
    VWQueue vwQueue = null;
    try
    logger.logAndDisplay("\n~ Starting QueueSample execution.");
    queueHelper = new QueueHelper(vwSession, logger);
    if (queueName != null)
    vwQueue = vwSession.getQueue(queueName);
    else
    String[] queueNames = queueHelper.getQueueNames(false);
    if (queueNames == null || queueNames.length == 0)
    logger.log("No queues found.");
    return;
    else
    // iteratively get queues until first one with available elements is found.
    for (int i = 0; i < queueNames.length; i++)
    vwQueue = vwSession.getQueue(queueNames);
    if (vwQueue != null)
    if (vwQueue.fetchCount() > 0)
    break;
    // clear our reference
    vwQueue = null;
    if (vwQueue == null)
    logger.log("Unable to retrieve a queue!");
    return;
    else
    // display the contents of the queue
    queueHelper.displayQueueContents(vwQueue);
    catch (Exception ex)
    if (logger != null)
    logger.log(ex);
    else
    ex.printStackTrace();
    finally
    if (logger != null)
    logger.logAndDisplay("~ QueueSample execution complete.\n");
              //{{INIT_CONTROLS
    public static void main(String args[])
    String queueName = null;
    String fileName = null;
    Logger logger = null;
    SessionHelper sessionHelper = null;
    VWSession vwSession = null;
    QueueSample sampleClass = null;
    try
    // did the user supply enough arguments?
    if (args.length < 3 || (args.length > 0 && args[0].compareTo("?") == 0))
    System.out.println("Usage: QueueSample username password router_URL [queue_name] [output_file]");
    System.exit(1);
    // the queue name is optional
    if (args.length > 3)
    queueName = args[3];
    // the file name (for output) is optional
    if (args.length > 4)
    fileName = args[4];
    else
    fileName = new String("QueueSample.out");
    // create and initialize the logger
    logger = new Logger(fileName);
    // create the session and log in
    sessionHelper = new SessionHelper(args[0], args[1], args[2], logger);
    vwSession = sessionHelper.logon();
    if (vwSession != null)
    // create the sample class
    sampleClass = new QueueSample(vwSession, logger, queueName);
    catch (Exception ex)
    if (logger != null)
    logger.log(ex);
    else
    ex.printStackTrace();
    finally
    // logoff
    if (sessionHelper != null)
    sessionHelper.logoff();
    //Newbie

    I might sound stupid now but as far as I can gather you have a class that prints your exceptons out to dos. You would like to apply this class in an Application /Applet so that YOu can print out to a screen that you have designed. If that is the case just instantiate and intialize that class to the Application / Applet where you would like to display it. What is so difficult?
    getYourLabel/textarea.setText("Info that you wanted printed in gui / applet");
    //Don't use System.out.println('"...");Also another thing if it is what I suspect then you have to go and study your theory again.

  • Can an AS1/2 swf loaded via Loader class tell the main movie (AS3) that it has run to the end of its timeline?

    If I load an external swf:
    my_loader.load(new URLRequest("abc.swf"));
    addChild(my_loader);
    abc.swf starts playing - how do I get it to tell the main movie that it reached the end of its timeline and finished playing?  Added bonus: the loaded swf is AS1 and the main movie is AS3.  I'm not sure if I could convert the loaded swf to AS3.
    Thanks,
    Sean

    I have not used this component but it may work for you:
    http://www.jumpeyecomponents.com/Flash-Components/Various/ActionScript-Bridge-91/

  • Main movie in AS2 and MC AS3

    Dear all,
    I have a main movie is coding AS2 which contains a movieClip called MC_header.
    And I have an external movie is coding with AS3.
    My question is :
    Can i loadmovie the external movieclip in the main movie????
    if yes, how?
    thanks
    MELAS

    Nope. If the original movie is AS3 you can load in an AS2 clip and it will run as an AVM1 (ActionScript Virtual Machine 1, which understands AS1 and 2) Movie. But the AVM1 has no idea about AVM2 (which understands AS3) so you can't go the other way.
    Even when you do load an AS2 into and AS3 file the communication between the main file and the loaded AVM1 movie is quite limited and you won't be able to control it the way you would if they were both of the same flavor -- if that is important to your project.

  • Have multiple accounts, how can I move all products into one account?

    have multiple accounts, how can I move all products into one account?

    Backup Software Recommendations
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    Synk Pro
    Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.
    Or you can simply use the Restore option of Disk Utility to clone the drive to the backup:
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • How do I get home video clips from iMovie Mac to iMovie iPad?  Surely there is some degree of cross-compatibility?  I have a load of clips in iMovie on my MBP that I wanna download to my iPad2 so that I can edit movies on the move.  Any ideas?

    How do I get home video clips from iMovie Mac to iMovie iPad?  Surely there is some degree of cross-compatibility?  I have a load of clips in iMovie on my MBP that I wanna download to my iPad2 so that I can edit movies on the move.  Any ideas?  (The clips are in a .mov format, they have been imported / converted into this format in iMovie, original files were from a JVC camcorder in some other strange format.)

    I copied the iTunes file from the external drive and it's in both places.  I thought all I would need is the iTunes program (which I downloaded to new computer) and my iTunes library file.  There must be something else that's missing.  My iTunes library looks the same on the new computer as it does when I open it on the external drive.  If I click on an iTunes library song from my new computer, it will only play if I have the external drive plugged in.
    My back-up drive is a mess.  I have multiple copies of music, video, photo, and document files and I don't know how that happened. ={  Obviously, I don't know how to back up stuff properly and there are back-up files extending over a 6- to 8-year period.  I think all I did was just drag and drop the main folders from the back-up drive to the same main folders on the C: drive.  Also (and I'm kind of fuzzy on this) Windows used to automatically save music files in a folder within my document files (which makes no sense to me).  As my Jewish friends would say, "Oy Vey!" 

  • Hi, can I move my iTunes library to an external hardrive without having to consolidate it as my prehistoric computer just doesn't have the space even though I have deleted everything possible to make room? Please help :(

    Hi, can I move my iTunes library to an external drive without having to consolidate it as my prehistoric computer just doesn't have enough space even though I have deleted everything possible to make room? Please help

    Hi, do you know if this works if I then want to move my library to a new computer as that is my main intention bacause my old computer hasn't got enough space for me to add new albums so I want to ditch the computer (its got to be about 100 years old and doesn't seem to cope well with modern technology!!) and start using my laptop for my iTunes. I am at the point now where i'm ready to throw both my computer and iPod out the window!!!! I might point out as well that in trying to clear space on my computer I accidently deleted the Bonjour programme which is aparently needed to use the home share option, oops!!!!
    Thanks, Kerry

  • I installed my new Apple TV and successfully completed the configuration (Wireless network, Apple ID, and others) yet I am always in the Computers and Setting page- can't move to the main page – any idea on what and how, please?

    Hello, I installed my new Apple TV and successfully completed the configuration (Wireless network, Apple ID, and others) yet I am always in the Computers and Setting page… can’t move to the main page – any idea on what and how, please?

    Welcome to the Apple Community.
    Unfortunately, a number of users appear to have encountered this problem. Some of these users have reported that the problem just disappears the following day or shortly after. Other users have found various other solutions to this problem.
    Firstly, are you receiving any date and time errors when you turn on your Apple TV?
    Check that you are properly connected to the Internet, by ensuring that you have a proper IP address and not one starting with 169. Also check that your location for the iTunes Store is set correctly, if so you might try changing it and then changing it back.
    If the problem persists try restarting the Apple TV by removing ALL the cables for 30 seconds, or resetting it using the reset option under general. You should also try restarting your router, or if this doesn't work you might like to try a restore.

  • How can I move then main text in the San Francisco - CV? I moved my name (the box) and adress by just moving them up. But cant move the text!?

    Hi how can I move the main text in the "San Fransisco CV" up.
    The name thats in the "box" as the "adress" ect, is easy to move up...
    But the main text please...
    BR,
    D

    David,
    The various templates in Pages seem to have been designed by individuals without much guidance or mandate for standard approaches to layout. In a way, tha's good because you have a variety of philosophies to choose from.
    The message is that you can't take what you learned here and assume that all the templates work this way. I answered your question by turning on the Layout View and looking at the Inspectors to see what controls had been used.
    Jerry

  • Bought a movie but all it plays is the main movie menu, I can't get the actual movie to play.

    I bought Scary Movie 5 the other day and it downloaded fine, it runs but it will only take me to the main movie menu where it gives me the options to play, select chapters or go to the bonus features. When you click play nothing happens. Seriously frustrated with this. Any one else have this issue?
    I'm trying to watch it on my windows computer on itunes.

    Hello mecha_girl,
    Sorry to hear that Scream 5 is not playing after purchasing it from iTunes.
    If the movie has completely downloaded, I recommend deleting the video and downloading the show again from your list of purchases. You can find the steps to do this under the section titled "Apps, Books, Music, Movies, or TV shows on a computer" in the following article:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    If you are still not able to play the movie, you can report an issue with this purchase using the steps in this article:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Best,
    Sheila M.

  • The iMovie main screen is hides somewhere off screen? How can I move it back to the middle?

    The iMovie main screen is hides somewhere off screen? How can I move it back to the middle?

    jrod53, that is strange. Displays will always appear under the Hardware tier of the System Preferences. I've never seen it disappear, so I'm a little surprised. Do you have two monitors attached to your computer? It may be the Mac thinks there's two displays and it is send the window for iMovie out to secondary display which you don't have access to. Also is there one side of your display where the mouse will disappear off the edge of the screen, go into a black hole?

  • Can I move the default location of the iPhoto library to an external source, leaving a preview image on my main HDD? Do I need to move to something like Apature to do this?

    Can I move the default location of the iPhoto library to an external source, leaving a preview image on my main HDD?
    Do I need to move to something like Apature to do this?
    I currenlty have a NAS which holds all my images.

    Yes you can, but you really, really don't want to.
    You can store your photos on the External and have iPhoto link to them in that location. It's called having a Referenced Library.
    In this scenario iPhoto creates an alias to the files in the Library and that's why you don't want to do this. Aliases work fin when everything is on the same volume or disk. However, if the alias points to something on another disk or volume and something in the path to the file changes, then the alias is broken. That means you could find yourself fixing each alias for every single photo in your Library, one at a time if something goes wrong.
    And heaven forbid you would ever want to move the files to another disk.
    See why I say you really, really don't want to?
    Also note, that your edited photos would still be on the internal HD as they are always stored in the Library.
    Aperture, on the other hand, can deal with this scenario quite easily, and has tools to reconnect to the original should the link be broken
    Regards
    TD

  • I have itunes on a mac with 2 users but the library only shows on the main user how can both users have the same library?

    i have itunes on a mac with 2 users but the library only shows on the main user how can both users have the same library?

    Hi,
    Have a Look at these Links on Home Sharing:
    http://support.apple.com/kb/HT4620
    http://support.apple.com/kb/HT3819
    Could be what you need...
    Cheers,

  • I have transferred my pictures from a PC to iPhoto but some have remained in a pictures folder. How can I move them to pictures?

    i have transferred my pictures from a PC to iPhoto but some have remained in a pictures folder. How can I move them to pictures?

    what is WP files?
    You want to always use iPhoto with a default referenced library (the preference to copy imported item to the iPhoto library is checked) ad then delete the source photos
    LN

Maybe you are looking for

  • How i can set the selected item of a dropDown component from java code

    Hi Thank you for reading my post How i can set the slected item of a DropDown component from backing beans java code ? it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selec

  • In Firefox 5, Why doesn't New Tab show most recent sites I logged on to?

    In F4, when I opened a new tab I was presented with a screen of the last sites I visited. Now I've upgraded to F5 I just get a blank page. Seems like a retrograde step, can you fix it? (and encourage Google to update their toolbar!) ps "Service Unava

  • Disk Warrior and 'The Folder with the ? Mark'

    Good morning. My MacBook recently crashed and I am left with the dreaded and endlessly blinking 'Question Mark Folder'. I have tried to restart using the System Disk and running Disk Utility but the Hard Drive is nowhere to be found. I have read in t

  • TDS CERTIFICATE (J1INCERT) AMOUNT IN RUPEES SHOWN AS MILLION

    Hi, While printing TDS certificate (J1INCERT) amount in words shown as Rupees one million and three hundred only instead Rupees ten lacs and three hundred only. How we will get amount as lakhs. Thanks christopher.J 9946377990

  • Need help installing Lightroom 5 upgrade on a new computer

    Hi all, On Mac #1 I have Lightroom 5, which was upgraded to from Lightroom 4. I have noted down a full v4.x licence key and a v5.x upgrade key, and these worked on Mac #1. I now want to install Lightroom 5 on Mac #2. I can install and activate v4 but