How do I use text to open two different flash files?

Basically I want to use a flash file, which requires you to enter text and a button to click. If I typed in 'Movie 1' and clicked enter, it should take me to 'Animation 1.swf', if I typed in 'Animation 2' it should take me to 'Animation 2.swf'.
I don't have the time to relearn flash completely even though I want to, I haven't used flash in about 3 years and really struggling to remember anything, hate being a novice
Thank you so much

Hi ,
As Ned suggested you could use something like this -
function startLoadingSwf()
var mLoader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest(<name of the swf which you are picking up from the text field - text_field.txt>);
mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
mLoader.load(mRequest);
function onCompleteHandler(loadEvent:Event)
        addChild(loadEvent.currentTarget.content);
function onProgressHandler(mProgress:ProgressEvent)
var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
trace(percent);
startLoadingSwf();
Hope that helps!
Thanks and Regards,
Sudeshna Sarkar
Adobe Flash Professional Team

Similar Messages

  • How do I use Home Sharing with two different apple accounts?

    How do I use Home Sharing with two different apple accounts?

    Morning Saintine,
    Thanks for using Apple Support Communities.
    Home Sharing enables you to stream or transfer music, movies, TV shows, apps, and more among up to five authorized computers in your household. To do so, you will need to Turn on Home Sharing on each computer using the same Apple ID.
    Understanding Home Sharing
    http://support.apple.com/kb/HT3819
    Hope this helps,
    Mario

  • How can I use sysnonym to hide two different views?

    hi,
    My question is how can I use 2 different users to login and they point to different views. However, in the program level, the view name always stand for "Test_View".
    I try to meet the requirements and do the followings:
    Step 1: In user A account, it creates two different views and also grant select to User B and User C respectively.
    Step 2: Login User B and create public synonym called "Test_View".
    Step 3: Login User C and create public synonym called "Test_View".
    I encounter the problem in Step 3 which is public synonym called "Test_View" is already exist. So, anyone can tell me once login and it will depend on which view you can see on program level.
    Thanks
    Amy

    As 399811 told you, you have to create private synonyms.
    "CREATE SYNONYM ...." instead of "CREATE PUBLIC SYNONYM ...."
    the private synonym has to created in each user.
    Joel Pérez

  • How can I use iTunes Match on two different accounts on same computer?

    What happens if I enable iTunes Match in a different account on my Mac Pro.  I am already set up with iTunes Match because I was travelling and I wanted to use my iPhone on the road but not fill up the storage.  I turned off iTunes Match in my primary account (user of course) becuase I have all the "original" music in that library. I have another account though that I would also like to be able to use just some of the music at different times.  I have a separate account for using Final Cut Pro X.
    So, would ITunes Match be the solution I am looking for?  iCloud status gives me all of the music I have purchased but it is short about 800 music files.

    I know that.  When I talk of accounts I mean user accounts on the Mac Pro.  I am looking for a solution that wil keep iTunes libraries, playlist, etc insync between two user accounts on the computer.

  • How can i use my iPod on two different computers?

    I recently bought a new laptop and i plugged in my ipod shuffle but i cant add any new music to it because it was originally set up on my old laptop. Unlike other ipods, when i plug it back into the old laptop, there is no box to check like "Manually manage" or whatver. Is there any way for me to set up my ipod on my new laptop without restoring it to its original settings and losing all the other music?

    If there is no Manually manage music setting, it must be a 1st or 2nd shuffle, not a 3rd or (current) 4th gen shuffle.  The older shuffles act like simple playlists.  You can only associate that shuffle with ONE iTunes library at a time (just as a regular playlist in iTunes belongs only to one iTunes library).
    So, the answer is no.  However, you can put the songs on the shuffle currently into the new computer's iTunes library, then sync the shuffle to that library.
    For songs that you purchased from the iTunes Store, you can re-download them on the iTunes Store Purchased screen.  You can also use iTunes to transfer songs you purchased from iPod to computer. 
    For other songs, you cannot use iTunes to transfer song files from iPod to computer.  But there are third-party methods and utilities that can transfer from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your new computer, add them to the iTunes library by dragging the them (or the folder containing the song files) to the iTunes window.  After confirming everything is there, you can sync the shuffle to the new computer's iTunes library.

  • How can I use create/createInsert for two different tables

    Hi All,
    I am showing different fields in the UI from different tables. I am able to fetch the data from all the tables and able to modify and save the data.
    Now, the problem when I want to create/insert some data into those columns(from different tables) I am facing issues.
    How can I proceed further??

    Hi Shay,
    Thank you very much for your quick response.
    Actually I am totally new in ADF world and I am trying to implement some applications in ADF.
    I created an UI based on some 3 tables(there is foreign key relation between them) and some other tables. I am able to modify and save my application if there is any data in all the tables.
    My Actual issues are
    1) I removed all the data from the tables. There is a submit(CreateInsert) button, what I expected is on click of the button I should see all the fields in editable mode. But I was able to see only few fields and also in readonly mode. So here my issue is how can i create and save these data.
    2) Consider on my landing page I have just CommandLink/CommandButton. After clicking that page I should get the above screen in create mode(I mean to say all fields in editable mode). How can achieve this?
    Thanks & Regards,
    Ravi.

  • How can I use an iPad with two itunes accounts?

    How can I use an iPad with two itunes accounts?
    Hi there
    My partner has a works iPad, which has her works Apps on (ones that are specifically made by her company and are NOT available in the App store).
    What I want to be able to do is to ALSO have my itunes account on there so that I can put all the apps I have purchased previously from my iPhone on it.
    This is so I can put on VLC player (thats already in my itunes account) so I can add videos to the iPad.
    How do I do this please?
    I tried it before by connecting it to my mac, but it wiped everything off the iPad completely and also deleted the data settings for using 3G.
    So I want to avoid this happening again the future as it had to be sent back to her head office to be sorted again.
    Any advise please?
    Thanks

    You can't. The iPad is desgined to be a 'one user' device and only really works with one apple ID at a time.
    The only way would be if she, at work and with her work apple id, downloaded your apps (repurchasing them of course).
    It's not meant to be a multiple user/multiple ID device.

  • How can i use text expander with the new Mavericks,

    how can i use text expander with the new Mavericks,

    I regret upgrading to mavericks for the same reason
    ftamez wrote:
    how can i use text expander with the new Mavericks,
    Now I have been searching - and you have to buy an app and it will cost you $34.99 (what a rip off)

  • How can one use Mission Control with two monitors?  Please bring Spaces back

    How can one use Mission Control with two monitors.  With Spaces I could treat each space as a single desktop.
    SyBB

    I use two monitors at work and have no issue. I have my mail set to use Desktop 1 and iTunes set to the second monitor of Desktop 1. I have browsers set to Desktop 2 and Fusion and RDC set to Desktop 3.
    Two things that may help you. In System Preferences > Mission Control, disable the setting "Automatically rearrange spaces...". This screwed with assigning applications to certain spaces. And the other thing is don't use full screen on apps that support it. This just makes your second monitor superfluous.

  • How do I get iWeb to open another iWeb backup file? (I accidentally saved the file iWeb is pointing to, and don't want it.  I want to use a prior back-up iWeb version.)

    How do I get iWeb to open another iWeb backup file? (Made a mistake and don't want current file iWeb is pointing to)

    Thanks Roddy.
    FYI- I downloaded the "Domain.sites2" file from your page (because I deleted mine yeterday)  So now the file is sitting on my desktop in my "Download" window.
    I see the good back-up file I want to use on my desktop, but when I go to drag the file from my desktop and drop it in "Home/Library/Application Support/iWeb", it does not take.  I am not allowed to drop files on that iWeb page directly.  (I tried to drop the the "Domain.sites2" file from the Download window, but that also does not allow me to drag and drop it directly to the iWeb folder.)

  • How to use the same element in different photoshop files?

    It occurs to me often that I use the same element in different photoshop files, a header or footer shown in the example below. So when the footer changes in one document, I need to change this footer in every other single document.
    Is there a possibility to use some kind of template, one single document,  that can be placed in different files , which is still editable afterwards?
    Thanks in advance.
    I'm using Photoshop CS6

    In a single document you can have several pages and these pages may have headers and footers that share smart objects.  If you replace the contents of the an embedded smart object on one page page that is shared on an other page the pages you will see both pages contents are changed. For they share the common object.   It is also possibly to have independent smart object layers. It depends how you create the layers in the single document.
    Example one sharing a smart object hi-light a smart object layer and use menu layer>Duplicate Layer... This will create a second smart object layer that share a common smart object. Each layer has is own associated transform. Do it again and you will have three layers the share a common smart object. So you can use each layer associated transform to position and size the layers contents. Make a picture package for example. When you hi-light any of the three smart layers and you use menu Layer>Smart Objects>Replace Contents... all three layers contents will be replace with the new smart object.  Care must be taken to replace the smart object with an identical size object for only the object is replaced the three associated transform for the three layers are not replaced or changed.
    Example two independent smart objects  hi-light a smart object layer and use menu layer>Smart Objects>New Smart Object via Copy.  This will  create a second smart object layer that has it own embedded smart object copy.  Do it again and you will have three all have independent embedded smart object that are identical.  However they do not have to remain identical.  For example if the first smart object layer was created by using ACR to open a RAW file as a smart object layer the embedded object is a copy of the raw file and its associated RAW conversion settings.  Double clicking on one of the smart object layers and you will see ACR open on its embedded RAW file with the embedded RAW conversion setting.  Changing these settings will update the layer smart object content with new ACR setting and pixel when you click OK in ACR. Repeat for the third and you will find you have three different raw conversions in Photoshop you can mask and blend together to bring out detail.
    I think what your missing is that a smart object contains a copy of the original object.  Changing the original after creating a smart object layer in document will not effect the smart object layer at all. Its independant from the original having a copy of the original. Only changes to the smart object layer and its embedded smart object effect smart object layers.

  • How do I create a bookmark in two different pdfs?

    How do I create a bookmark in two different pdfs

    Provided you only want to go one way, you can change a bookmark to fire the "open a file" action. I 'm not sure you entirely understand the terminology though - bookmarks in a PDF file appear on the left side panel and usually take you to a defined page in the current document. They are not part of the page and so don't change as you move through the file. Links are regions on a particular page that act as click points, and can do pretty much anything (move to a different page, open a file, etc.). Although you can use bookmarks to do something other than switch pages, it's very rare to do so and won't necessarily be supported by third-party software (or obvious to your users).
    If you want to create a bookmark to another document, and both files are going to be distributed together (in the same folder) then you can create a new bookmark (doesn't matter where in the source file you are..) then select it and from the options menu choose Properties. Switch to the Actions tab and delete the "go to a page" entry, then from the dropdown list choose "Open a file" and browse to your destination document.
    If your destination file is an attachment to your source file, you should use the "Go to page view" action, and when the tiny dialog box appears you should open the attachment, then click the OK button.

  • How can I use my Zen Xtra like a flash memory

    Hello, I want to know how can I use my MP3 player like a flash memory.
    I have one and if I conect it with other computers I can't transfer documents and with a flash memory I conect it in all the computers with Windows XP and all of they detect the flash memory and they can transfer documents.
    With my Zen Xtra I connect it and the computer detects it but I can't transfer anything because the computer doesn't have the software.
    My question is.. Do I have to install the software in all the computers that I use ? or there are other forms to conects PC and MP3 Player? ( I want to transfer documents like text, image, etc)

    But some MP3 players do that, why this one can't be connected with all the computers ?
    Message Edited by morfo on 0-22-2005 05:54 PM

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

  • Can I use home sharing with two different Apple IDs?

    Can I use home sharing for two different Apple IDs?

    I have the same sort of problem I want to share two music liberys but my wife dos not like some of the music I do and I don't like some of her's but we like to share the music we both like.
    At the moment we have home shareing on but when my wife buy's music It downloads her's and my laptop and when I buy music it downloads to my laptop and my wife's.
    We want it so we can share music (home sharing) but only my music on my laptop and my wife's music on her laptop. 
    HOW?
    Sorry for the spelling I am dyslex.

Maybe you are looking for

  • Connect Macbook to Sony Bravia HDTV via HDMI?

    I am trying to connect my Macbook to a Sony Bravia HDTV via HDMI, but are unable to get one to recognize the other. I am not sure what the problem is. I have the following set up: - Macbook 13" (2.16 GHz Intel Core 2, 10.4.11) - Apple Mini DVI to DVI

  • Premier Elements 11 Won't Open!

    Hi! I am running a HP Personal Computer with Windows 7. I have been using Elements 11 for months without problem and have been very pleased with the product. I went to open it today and was unable to. It would not load past the "Welcome Screen," whic

  • Pacth EA-APPL 600 in ECC6.0 with enhancement 2

    when I patch EA-APPL 600 with SPAM ( Version 39), it cannot show prerequistion 2. It can only show prerequistion 1. So it require SAP_APPL 600 with patch 4, but my system is SAP_APPL 602. Any one has solution for this issue? Thanks a lot.

  • BC4J, compiling: takes ages to compile when connected to network

    Hi, We have a BC4J project that's almost 100% wizard-generated from an Oracle 8.1.5 database and we have been experiencing a very strange behaviour in JDev. What happens is that it takes ages to load and compile the project when the computer is conne

  • Bought ipad 2 on Ebay

    I bought ipad2 from seller when I tried to upgrade to iOS 7 in promoted me for old owner I.d. An password.apple will not helps...ll.lpu