Trying to get a target to a movie stored to a variable

hope i can make myself undestandable
i have several movieclips in flash that are being trigged by
clicking on them
i'm using 2 variables to store what movieclip is playing and
another to store it's path. in the main timeline i declare them and
make the 2nd to evalute as a path, using eval(). this works fine,
but when i try to use this when i click on the movieclip, the eval
dosen't work, making my 2nd variable evaluting to undefined...
code:
### on main time line: ###
var variavel = a;
var variavel2 = eval(variavel);
trace (variavel2); //---> results _level0.a
variavel2.stop();
### on a clipmovie ###
on(release){
_root.variavel = b;
_root.variavel2 = eval(variavel);
trace (_root.variavel2); //---> results undefined
variavel2.play();
can anyone explain me why? and any solution to this?
thanks in advance

a lil modification in ur movieclip code ll ve ur code working
for u ..As u r using ur code on ur movie clip or clips u ve to b
very specific about targeting em...for eg u r using _root.variavel
= b; in on(Release) the flash wont understand that...either write
_root.variavel = _root.b or _root.variavel = this.b...change
ur movie clip code to the following code n u r done
on (release) {
_root.var1 = _root.b;
_root.var2 = eval(_root.var1);
trace(_root.var2);
//---> results undefined
_root.var2.play()
i ve used var1 and var2 instead of variavel and variavel2
respectively..hope wid this ur problem ll get solved

Similar Messages

  • Trying to get a return value from a Stored Procedure

    Hi folks,
    I have been tasked with something I thought was simple, but apparently its not that simple.  I am trying to call a Stored Procedure in UCCX that will do some calculations and returns back an integer value.  The stored procedure call I have is:
    DECLARE @return_status int
    EXEC @return_status = dbo.CTTLoginPhone @CTTId = $EmployeeID , @PIN = $EmployeePIN , @PhoneNumber = $CallingPhoneNumber ;SELECT 'Return_Status' = @return_status
    When I run this in this the editor, I get back one row.  If I run this in the debugger, I do not get any errors back and the stored procedure runs fine, however the Return_Status is not set either.  What am I doing wrong?
    I have defined Return_Status with intial value of 0 and the stored proc should be returning back 1 or 2, but the Return_Status remains as 0
    Can someone please let me know if I need a DB GET after a DB READ or can I just use the DB READ standalone when calling stored procedure.
    All help will be really appreciated.
    Thank you.

    I am having the same issue here... any help would be greatly appreciated. I am on UCCX 8
    I am getting 1 row returned when I click "TEST" in the READ step but the DB GET step is going into the SQL Error branch.
    Here are some details and I have attached screen shots of my script DB steps.....
    I have a Stored Procedure that is very simple...
    CREATE PROCEDURE sp_test AS
    Select 'N';
    GO
    Ive created a dummy table with 1 field..
    TABLE: testTable
    FIELD: code
    Let me know if there are any more details I can provide....

  • How do i get rid of old rented movies that are a week over due when it was only a one day rental?

    hi, i have been trying to get rid of my rented movies that keep wanting to download and they are using up all my space on the ipod. because of this i have to restore my ipod every time i try to use it because of the two movies "The Proposal" and "Me, Myself, and Irene" and it is keeping me from watching a newly rented movie "Beowulf". i would like it if the two movies "The Proposal" and "Me,Myself, and Irene" were wiped off of my account so that i mat proceed with watching my other movies. this has been a hassle for me long enough. so please take the first two movies i mentioned off of my downlods list on my itunes account but not "Beowulf". thank you.

    Favicons usually expire after some time, but I don't know how long this takes.
    See also:
    *Bookmark Favicon Changer: https://addons.mozilla.org/firefox/addon/bookmark-favicon-changer/
    Try to remove all data stored in Firefox from that domain via "Forget About This Site" in the right-click context menu of an history entry (Show All History or History sidebar) or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.
    You can't recover from this 'forget' unless you have a backup of the affected files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

  • How do I get a refund for my movie. Tried to connect my rented movie to the LCD through an apple adapter but said unauthorized.

    How do I get a refund for my movie from iTunes that I rented for ipad2? Tried to connect my rented movie to the LCD through an apple adapter but said unauthorized.

    Probably can't get a refund, but.........
    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
     Cheers, Tom

  • HT3775 I have a bunch of .MOD files I cannot play from our Canon video cam. I tried renaming the files as MPEG or MOV, I get the message "The document "001.MPEG" could not be opened. A required codec isn't available." Any advice on getting these to play?

    I have a slew of .MOD files I cannot play from our Canon video cam. I tried renaming the files as MPEG or MOV, I get the message "The document “001.MPEG” could not be opened. A required codec isn't available." Any advice on getting these to play? Thanks!

    Try installing Perian or VLC. Some AVIs require a codec which simply isn't available for Mac OS X.
    (85018)

  • I'm new to iPad mini and uv I'm trying to get a movie I purchased to where I can watch it offline but when I click the option to download and watch offline it keeps giving me and error with download try again later I have a good wifi connection ??

    I'm new to iPad mini and uv I'm trying to get a movie I purchased to where I can watch it offline but when I click the option to download and watch offline it keeps giving me and error with download try again later I have a good wifi connection ??

    You have a "good WiFi connection". What does that mean exactly? Can you send and receive email and are other internet related activities working OK for you? Have you tried restarting or rebooting your iPad? Sometimes that helps. If nothing else, it's a good place to start.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Everytime i go on safari numerous ads pop up and when i go to "X" them off it loads up about 3 other tabs with like movie streaming or trying to get me to buy products etc. what should i do?

    Everytime i go on safari numerous ads pop up and when i go to "X" them off it loads up like 3 tabs with things like movie streaming or trying to get me to buy products? what should I do?

    You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How do I export my iMovie '11 video and burn it to a DVD? I've tried 'Share' - 'Media Browser', 'iDVD', and 'Export Movie' but always get an error message indicating that my movie is too long to publish. Thoughts?

    How do I export my iMovie '11 video and burn it to a DVD? I've tried 'Share' - 'Media Browser', 'iDVD', and 'Export Movie' but always get an error message indicating that my movie is too long to publish. Thoughts? Additionally, what does 'File' 'Finalize Project' do?

    Instead of Share to Media Browser, what happens if you try Share Menu > Export Movie... (choose Large size) and save it to the Desktop?
    If that fails try Share Menu > Export using QuickTime...
    Then pick Movie to QuickTime Movie, then click on Options... which is just to the right of Export
    Under the Video section click on Settings...
    Then in the pulldown menu at the top, titled Compression Type: Choose Apple Intermediate Codec. Then click OK. And click OK again, and save it to the desktop. Once the .mov file is created, you can import that into iDVD and most likely it will work in Wondershare Creator if you prefer to use that instead.

  • Trying to get .mov files to iMovie. Help?

    I'm trying to put some NASA videos in a montage I'm creating. Trying to get them from this site: http://www.nasa.gov/multimedia/hd/apollo11.html
    They are .mov files. I've tried a file converter website. I've tried opening in iPhoto first and resaving (won't save). I've tried MPEG Streamclip, which everyone said was the way to go. It says "File Open Error: Can't Open File."
    Any ideas?

    See if they will open in QuickTime Player X. If so, click Command-I to open the Inspector. Tell us the dimensions of the clip and everything mentioned next to the word "Format:"

  • I'm trying to get a song from iTunes to Windows Movie Maker

    I'm trying to get a song from my iTunes library to Windows Movie Maker so I can use it in a video. I've tried importing it, copying it and pasting it, and clicking and dragging it, but each time, it says that it could not be impoted... Does anyone know how I can fix this?

    What file format is the song in, Lauen?
    To check, right-click on the song and select Get info. In the Summary tab, what is it saying next to "Kind"?

  • Hi, I have Mac with Snow Leopard and was trying to purchase Lion , so I can move to I cloud, when trying to buy the app I get a message that a minimum 2gb of memory is required. I went check the hard disck info and it says available memory 20gb :-(

    Hi, I have Mac with Snow Leopard and was trying to purchase Lion , so I can move to I cloud, when trying to buy the app I get a message that a minimum 2gb of memory is required. I went check the hard disck info and it says available memory 20gb :-(

    Apple Logo, left hand side of the menu bar, About this Mac. It should be right there. If not then More Info, Sys Info.
    But it would seem you don't have 2GBs installed and more then likely both RAM slots are already filed. So you just need to buy more RAM in a pair. That could be 2 1GBs chips or if your Mac can have more then that then 2 2 GB chips or 2 4GB chips.
    Get your model # and go to Crucial.com and use their memory search to find out how much your Mac can have installed and the price for it. I suggest you install as much as it can take. Cost is very low on RAM these days.

  • When trying to make a purchase for a movie I get a security information required field then I select continue and it brings me back to original screen to purchase movie. Please help.

    When trying to make a purchase for a movie I get a security information required field then I select continue and it brings me back to original screen to purchase movie. Please help.

    It's telling you to verify your billing information (credit card, address, security code), which needs to be done in iTunes via computer.

  • HT1725 How do I get a refund on a movie i tried to download when it didn't?

    How do I get a refund on a movie i tried to download when it didn't?

    You can try here:
    http://www.apple.com/emea/support/itunes/contact.html

  • Hi, I have downloaded some avi files and mov files. i am not getting audio while playing the movie. i tried to play with iTunes, QT, DivX player. but I am getting audio in mp4 files. can u help me to fix this

    Hi, I have downloaded some avi files and mov files. i am not getting audio while playing the movie. i tried to play with iTunes, QT, DivX player. but I am getting audio in mp4 files. can u help me to fix this

    First, back up all data and then uninstall "DivX" according to the developer's instructions.
    Then try this:
    VideoLAN - Download official VLC media player for Mac OS X

  • Getting a prompt: Error compiling movie Unknown error when trying to export

    Running Premiere Pro CC 2014 and when I try to export I get that prompt.

    Error compiling movie can be anything from gap to bad clip, transition, effect, nest, you name it.
    Export from AME with preview open and watch were in the timeline it goes wrong.
    That is the place to fix it.

Maybe you are looking for

  • To which field budget  refers to

    i have given the SAP field name as budget and in the comments it is given as 'select with the field pspel of the service order in the database 'psj' and select the budget of the current year total. in the second filed budget description is given. can

  • Javascript onClick EJB method call problem

    Hi, I am using JDeveloper to develop a supermarket comparison tool. I have a JSP page called index.jsp which consists of a shopping list (shopping cart type thing) and an iframe which displays my search.jsp page. The search.jsp page is a list of all

  • Labview class data read node problems

    I've been noticing some odd things when i use read\write nodes on labview class objects.  It seems like at some point the link between the read node and what it's supposed to be doing gets broken - so that it reads out the 'default' value of the data

  • Is java worth learning for game developement?

    Please dont take this as an insult to the java language, im having a blast learning this language and love it more than any other that i have learned so far. I just have one creeping issue, ive heard that the game development aspect of java isnt quit

  • MapViewer - Generating Tile Layer problem

    Hello I am having problem while generating tile layer. It is working perfectly, it generates folders and images inside them but the pictures are empty (the base map is rendering ok). What could be the problem? MapViewer is deployed on WebLogic 10.3 s