Target using the VAR String and number

This should be simple, how to target a VAR using a string and a number, the idea is that I can change the number to target this VAR.

var gogo1:Number = 12

var gogo2:Number = 89

trace ("gogo" + 2)

I'm after the trace to be 89 NOT gogo2

trace(this["gogo" + 1]);

--

Kenneth Kawamoto

http://www.materiaprima.co.UK/

Tags: Adobe Animate

Similar Questions

  • I use the MODBUS library and can receive data, but I can send it very well?

    Hello

    I use the Modbus Library to communicate with a VFD to control a fan. I use the master write and read vi. I can write data to the drive mechanism and get the fan to do what I want. The VFD is supposed to send a package of confirmation after I told him to do something and I can also read its records. When debugging the VI it shows that the problem is that the buffer always reads zero and the VI timesout. If I look at the USB adapter lights to RS 485, I use to interface with the drive mechanism, I see that the flashes of light RX immediately after I send a message. So I should have something in the buffer. Does anyone have any suggestions?

    Aaron

    OK, here's what has happened to those who have this problem. In the series Receive.vi MB The bytes to the Port of property node has been reading 0 even if there was something in the buffer. Executing the program was then stuck in a loop until it expired and never went to read anything of serial port buffer. I didn't spend too much time wondering why that VI has not worked and created my own. Within a period appropriate after writing to the serial port, I used the same bytes to the Port property node and was able to get the exact number of bytes to the stream and then VISA vi the number of bytes to read. I received the message of the right answer and everything seemed good. But of course that NO! Then I experimented with different speeds of writing to the drive mechanism to get the fan to operate at different speeds. I found a small range of speeds where I get no response to the VFD, either in operation or by sending me a response packet. After a while, I found that there is a mistake in the LRC-8 code in the MODBUS library OR. It does not prescribe that the LRC will be a two-character value. So if your LRC is proving to be a single character such as F value (which should be 0F) you get an incomplete MODBUS message. This has been easily corrected in the vi LRC8 saying "number in hexadecimal string" vi to produce output with a minimum width of two. Then everything worked fine. Moral of the story, it's the MODBUS library is awkward.

  • How to open .tif files using the Windows fax and picture viewer

    I have the file open options set to use the viewer photo and fax Windows, however, it is always opens the .tif file in a window of IE. In reading the other posts regarding this problem, I think it may be a number of MIME, but nobody published how to fix this. Can someone send please how to change the MIME type so I can open the files in the right way. I REALLY appreciate it.

    Windows XP SP3 with all updates and IE8.
    Thanks in advance,
    Eric
     
    Original title: how IE8 to open a .tif file by using the Windows fax and picture viewer?

    Hello

    I suggest that allows you to remove any CLSIDS listed under location:

    HKEY_CLASSES_ROOT Type\image/tiff
     

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ )

    How to back up and restore the registry in Windows.

    I hope this helps.

  • I WISH THAT ALL PAGES TO FIT ON MY SCREEN SO I CAN'T USE THE ARROW LEFT AND ARROW RIGHT! THANK YOU VERY MUCH FOR YOUR HELP!

    MY PAGES HAVE BEEN VERY WELL UNTIL I DOWNLOADED SOMETHING, I DON'T KNOW EXACTLY.   I THOUGHT I TRY TO DELETE WHAT I DOWNLOADED ARRIVE TO WHERE I WAS, BUT I DON'T THINK IT WORKED OR I DELETE ANYTHING!  SO I'M GOING TO STILL USE THE ARROW LEFT AND ARROW RIGHT TO VIEW ALL PAGES.  I WENT TO CONTROL PANEL, DISPLAY, SETTINGS, WENT TO A HIGH NUMBER TO THE PIXEL NUMBER LOW, CE WHICH WAS THE ONLY SOLUTION POSSIBLE, AND ALL GROW.  SO I PUT IT BACK TO THE LOT WHERE HE WAS!  DON'T KNOW WHAT TO DO, SO HERE I AM ASKING FOR HELP!  Thank you!!!  MY email * address email is removed from the privacy *.

    First remove everything you have installed, check if it works.

    In case of failure and then update the display on the computer drivers

  • Using the touch screen and the touch pad at the same time on Windows 8

    How can I use my touchpad and my touchscreen Windows 8? I use Acer and it seems that whenever I get I have TO use the touch screen and my cursor is non-existent. I'm sure there will be a setting I can change to be able to use both at the same time, but so far I can't find answers online or elsewhere.

    Help, please!

    Hello green,

    Thanks for posting your question on the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    What is the model number of your PC Acer laptop?

    Thank you for your query details.

    I also like the fact that you want to use the touch screen and press the key at the same time.

    Unfortunately, it is not possible. However, you can use touchpad of precision which uses a variety of touch gestures to get around your computer. Touchpad different gestures are provided in this article.
    Reference:
    With the help of a precision touchpad
    http://Windows.Microsoft.com/en-us/Windows-8/touchpad

    You can also make changes to its settings to adjust the duration that your touchpad stays off as you type so that you can avoid accidentally tapping the touchpad with your thumb and move the cursor.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Oracle FTP adapter - possibility of using the public key and the password

    Hi all

    One needs to connect to a target SFTP server using the public key and password using the Oracle's FTP adapter. Is it possible and feasible?

    I think it's usually one of them that would be used (the password or public key).

    Could someone help me with this please?

    Thank you

    Kind regards

    Nanan

    Hi all

    We checked it with Oracle and it happens that this feature is not available in the product. It is probably considered to be an improvement.

    Hope that this update would be useful at all.

    Thank you

    Kind regards

    Nanan

  • Is it possible to embed a slide show in a slideshow? I use the lightbox slideshow and one of my samples is an e-brochure that I would like the Viewer to be able to get away.

    Is it possible to embed a slide show in a slideshow? I use the lightbox slideshow and one of my samples is an e-brochure that I would like the Viewer to be able to get away.

    As slideshow in Muse Widgets can contain images, it is not possible to place another slide show within a slide show.

    However, you can achieve the desired effect by placing a slideshow inside a widget of composition. The widget of composition also offers lightbox, as well as the possibility of placing any content within their target containers (similar to the hero of the slideshow Image).

    Hope that helps.

    See you soon,.

    Vikas

  • I use the random function and he know instructions 'case' must end with a ':' but it is!

    I use the random function and he know instructions 'case' must end with a ':' but it is! I put

    case 10000 timer += 2; popupName._visible = true; :

    then I put

    case of 10000 {timer += 2; popupName._visible = true ;}:}

    but he still know it.

    What I am doing wrong?

    First of all, whenever you have more than three similar lines, you should probably refactor something.  Especially when you have 10,000 lines. This should have sounded the alarm, but I guess you are new to this.

    Second, when you have such a long code, paste everything here. Please, I beg you. It's a pain to navigate the thread.

    And here's what I * think * you really want:

    If (random (10001) == 10000) {}

    timer += 2;

    popupName._visible = true;

    }

    It simply means: "take a random number between 0 and 10001 (exclusive). If this number is 10,000, do something. If not, ignore this code block. »

  • Example to use the query string in the Oracle Access Manager policy.

    Hi all

    Can is there any one please tell me what is the value of the query string and Query String Variable OAM political?

    If possible, please explain with an example of the sample.

    Thanks in advance.

    Siva NAKI.

    Let's say I have an application that has logout URL as http://abc.com/app.cgi?function=logout&user=LOGGED_USER.
    In this case, logged in user will always be different, but you want the user to sign out when this URL is hit. In this scenario, you can use query string variables and specify the function = disconnect it.

    In other scenarios where you know all the query parameters and you want to protect these URLs then the query string can be used.

    Thank you
    Kiran Thakkar

  • I have an Apple computer, use the browsers Firefox and Safari, use Comcast for my email. Lately, when the Firefox, my email does not work correctly. Why?

    I have an Apple computer, use the browsers Safari and Firefox. I use Apple mail and Comcast to my email. Lately, in the case of Firefox, my email does not work correctly. I get a message "your server license has expired. While usually, I can access my emails, I can't delete the unwanted emails. This problem will not occur when I use Safari and Apple mail. Is this a problem of Firefox or Comcast? Do you know what license is expired?

    Hello

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

  • Using firefox 14.0.1. Load a link using the right click and "Open link in new window", translates into a new window opens but doesn't show URL address bar...

    Using firefox 14.0.1. Load a link using the right click and "Open link in new window", translates into a new window opens but doesn't show URL address bar. However, if I click with the right button on a link and select "Open link in a new tab", the tab displays the URL in the address bar. If it works when a new tab it's not in a new window.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • Portege R500-11Z: how to use the external mic and hear the internal speakers

    We have a Portege R500-11Z running XP and want to use Skype with an external table microphone and the internal speakers.

    When connect us the microphone to the Jack MIC the Portege, built-in speakers cut out!

    How to use an external mic and still hear the internal speakers?

    Hello

    > When connect us the microphone on the Portege, built-in speaker MIC Jack cut!
    Are you sure you used the microphone port and no headphone port?

    Have you checked your settings Audio from Skype?
    There is an option called ring through the speaker too or something like that.

    Please also check the Realtek HD audio Manager in Control Panel.
    There is a tab called Audio i/o.

    Usually, you can change the connector settings, by clicking on the small key-tool icon.
    Disable the option called Mute rear output when plugged headphones before

    As you can see is called headset and not so I m confused a little bit why the speakers are turned off when you connect an external microphone.

    By the way; There is also a tab called micro.
    Check if the two options that reduce the echo and noise are OFF

  • How do I auto detects the target using the trigger VBAI mode

    Hello world

    I had a vision system of machine ready to take choose using VBAI 2013 sp1.  Also, I use a sensor switch to trigger the camera to take pictures.

    When I type the loop running, it just won't continue to take photos no matther switch sensor triggers the camera or not.  I think it's the step that I used for the recording of the image, in the stage of registration of the image, I used picture newspaper still, but I don't want to use which is only what inspection status allows no other choice.

    So, how can I let the unit wait until he got the trigger of the alarm switch signal, and then take a picture and save the image?

    the stage of inspection to acquire the image, I used the trigger mode and everything worked fine, except the time error settting upward, I used 5000ms and if I put bigger like the 50000ms, VBAI turned really slow and showed time out error.

    If anyone can help me on this matter?

    Thank you

    You can use the diagram States-transitions to go only in a State based on the result produced by some steps.

    First, remove the registration step of the image of the State to check with you get the image

    Press Ctrl + E to turn the main view on the state diagram.

    Right click and create a new State.

    Right click on the State to inspect and create a new transition to this new State.

    Double click on the transition to edit it.

    Choose to acquire the Image - waiting time and set the condition false, to spend in this state when there is no timeout.

    Move the default transition from that State to the final State.

    Click on the new State to select it, and then add the image registration step.

    Using a state diagram, you have programmed an inspection that will record the image when there is no timeout.

    The State-transition diagram is a powerful tool to add a logic, branching and looping of your inspection.

    Open the tutorial 5 - state diagram Branching.vbai and tutorial 6 - State chart Looping.vbai for examples on how to use it.

    I hope this helps.

    Christophe

  • Hide icon Label step using the API Testand and LabVIEW

    Hello

    can someone tell me how it is possible to hide the icon of a step label using the API Testand and LabVIEW?

    In the Teststand sequence editor, under the Label Edit tab there is a checkbox called "Hide icon". Is there something similar in the API?

    Thank you

    Yes you can, you must set the stage "ni_blank.ico" IconName property

  • How to use the OS Android and Windows on the same shelf?

    Original title: is it possible I ca use the OS android and mircosoft OS?
    Is it possible that I can used both ANDROID OS and MICROSOFT OS at the same time in my Tablet?

    You will not be able to install the Windows operating system on an Android device.

Maybe you are looking for