You guys can help me find where I made the mistake?
Hi guys...
I work in two different settings, where in one of them I a user input field and also I have a button that takes me to the next section.
In the next section, I have the outlet box, but I'm not there what I typed in that entry.
Any help?
That's what I have:
FRAMEWORK 1
import flash.utils.Timer;
import flash.events.TimerEvent;
import flash.text.Font;
import flash.text.FontStyle.
import flash.text.FontType;
to import flash.display.SimpleButton;
var txt_inp:TextField = new TextField();
txt_inp.x = 20;
txt_inp.y = 700;
txt_inp. Width = 400;
txt_inp. Height = 50;
txt_inp. Restrict = '0-9 a - z A - Z';
txt_inp.maxChars = 28;
var myText:String = "type your name here / Escriba su number aqui";
var format: TextFormat = new TextFormat();
format.font = "CooperBlack."
format.size = 20;
txt_inp.defaultTextFormat = format;
var ok: Ok = new Ok();
captureText();
function captureText (): void
{
txt_inp.type = TextFieldType.INPUT;
txt_inp. Background = true;
addChild (txt_inp);
txt_inp. Text = myText;
txt_inp.addEventListener (TextEvent.TEXT_INPUT, textInputCapture);
}
function textInputCapture(event:TextEvent):void
{
OK.x = 450;
OK.y = 720;
OK. Width = 80
OK. Height = 80;
addChild (ok);
}
var str:String = txt_inp.text;
ok.addEventListener (MouseEvent.CLICK, toGameOver);
function toGameOver (e:MouseEvent): void {}
ok.removeEventListener (MouseEvent.CLICK, toGameOver)
gotoAndStop (5);
}
FRAME 2
removeChild (ok);
removeChild (txt_inp);
var myOutputBox:TextField = new TextField();
var GOver:gameOver = new gameOver();
GOver.x = 300;
GOver.y = 337,85;
GOver.width = 1500;
GOver.height = 1000;
myOutputBox.x = 420;
myOutputBox.y = 700;
myOutputBox.width = 400;
myOutputBox.height = 50;
myOutputBox.defaultTextFormat = format;
addChild (GOver);
createOutputBox (str);
function createOutputBox(str:String):void
{
myOutputBox.background = true;
myOutputBox.x = 200;
addChild (myOutputBox);
myOutputBox.text = str;
}
Thank you very much!!!
You need to consider when you set the value of str...
var str:String = txt_inp.text;
The way in which you have indicated as, it will affect the nothing that is in the textfield object, as this line will run before any text is affected.
You want to make this assignment after the text in the textfield changes. You should always declare the variable outside of any function so that it can be available to the framework both in terms of scope, but the assignment must take place in your textInputCapture function.
Also, using the event TextEvent.TEXT_INPUT will probably miss the mark as well because it will raise until the text is changed in the textfield, which will result in the text was missing the last character entered. You must instead use the Event.CHANGE event.
Tags: Adobe Animate
Similar Questions
-
I have this error massage on my problem of upper cover of you guys can help me how to solve this problem...file:///C:/Documents%20and%20Settings/hrajput/Application%20Data/Microsoft/Internet%20Explorer/Desktop.htt
Try the following steps:
Step 1:
Security scanner:
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Step 2:
Reset Internet Explorer:
-
I want to cancel my membership creative cloud, you guys can help me with this? Thank you
This is an open forum, not Adobe support... Click below
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
Cancel https://helpx.adobe.com/creative-cloud/help/cancel-membership.html
-or https://helpx.adobe.com/contact.html?step=ZNA_account-payment-orders_stillNeedHelp
-
I can't find where to change the name of the company.
I already have an account, but I would change my company name in my account. I can't find where to change the name of the company.
Hello
Please visit https://helpx.adobe.com/x-productkb/global/adobe-change-of-name-form-and-procedure.html
Or you can contact our support here: https://helpx.adobe.com/contact.html
Let us know if this helps!
-
I have a trial version of Acrobat Pro DC and can't find where to change the menus of Português to the English, to the Brazil am but my Windows 7 Home Premium is all in English.
If someone could help it would be appreciated. Frankly, the online help is useless, programmers are testing what they do with real users?
Thank you
Darren
Hello
Open Acrobat
Go in Edition > Preferences > language
In the pane on the right language
Click on the drop down to the language of the application
Select the option choose to start the Application
Click Ok and close the Acrobat
Launch Acrobat and it will give you a prompt first select a language.
Choose English and Ok
Thank you
Abhishek
-
About Adobe Reader DC, I can't find where to change the preferences to not check the updates. Can you tell me how to prevent the automatic updates?
Hi bonnies15119755,
You cannot change the preferences to update for Adobe Acrobat Reader DC Adobe Reader and Acrobat updater settings | DC, XI.
Kind regards
Nicos
-
I just bought the photography package, hoping that it would be more storage for backup, etc. in CC. And now I can not even find where to buy them more storage cloud, the 2gig won't be enough for me. Where can I buy more storage?
Currently, there is no option to purchase additional storage through the creative cloud.
-
Hello, last year I bought the cloud for students for R$ 528 (Brazilian money), now, a year later you guys just send a new price on my credit card automatic R $ 700, and you guys don't ask me anything, just sent the new automatic price!
The renewal price you pay is valid for 12 full months. After that, we will renew your contract automatically unless you cancel. The price is subject to change, but we will always notify you in advance.
Any promotional creative cloud pricing is valid for one year and at the time of renewal, the regular price applies.
https://creative.Adobe.com/#plans
For example, customers with a product of CS3 - CS6 can get full creative cloud for £27,34 per month for the first 12 months, then prices would revert to the normal price which is £46.88 / month
You currently have a plan simple app for £17.58 / mth - it is usually price, not an introductory promo price.
Renewal email are sent 1 month before the renewal date, and I'm sorry if this isn't enough time for you. Of course, you can register again at a time that suits you.
Kind regards
Stéphane
-
I train for adobe flash, but it gets stuck in the Middle download saying "close idvault. Cannot find where to close the application.
Click Start, type: Internet Options
Press enter
Select the "Advanced" tab
Under reset Internet Explorer settings, click "reset".
This should restore the Internet Explorer default settings.
Then reinstall Flash Player
http://get.Adobe.com/flashplayer/
----------
Flash Player
Troubleshoot installation of Flash Player for Windows
http://kb2.Adobe.com/CPS/191/tn_19166.html
Troubleshooting player stability and performance
http://blogs.Adobe.com/JD/2010/02/troubleshooting_player_stabili.html
Uninstaller
http://kb2.Adobe.com/CPS/141/tn_14157.html
Flash Player Support Forum
-
I bought PhotoShop Elements 11 several years ago, I have the serial number, trying to download to my new computer. Can someone tell me where I get the download file?
-
I made the mistake to disable all my USB ports in the device (Windows XP Home Edition) my mouse Manager and the keyboard works not because they are connected through USB ports. I need to find a way to get to the system restore through the Mode without failure or normal startup. Can someone please help!
Hi PaulCanik,
- Do you use your laptop or desktop computer?
Check if keyboard works in basic input/output system (BIOS), if it works, then you will need to enable USB port from there.
You will need to contact the manufacturer of the computer to aid in the basic input/output system (BIOS).
If this does not help then you need to connect PS\2 mouse and activate later all USB ports on the computer.
Important: Change (CMOS) BIOS/complementary metal oxide semiconductor settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.
-
My last Firefox no longer works and I can't fix it. I use Windows 8. I made the mistake of downloading DuckDuckGo. He immediately took over as my default browser and it would not allow me to change back. I realized that I had something that I had not needed so I tried to remove it. It took a morning full of accomplish this chore. I went back to Firefox and found that my tabs were there, but they were opaque and would not work. In fact, you could read what was beneath them. No way to get anything wthout return to the start page of Firefox. I uninstalled Firefox and put it back on and it was always the same thing with the non operation of the opaque tabs. Troops you have good ideas as to how I can get my Firefox working again?
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:
- Go to Firefox > help > troubleshooting information.
- Click on the button 'Reset Firefox'.
- Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
- 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!
-
I thought I could uninstall by dragging things to the trash-installing was officially the Director of bureau. I didn't realize that I needed to uninstall officially while I was still a member. I dropped my membership and made the mistake of slipping just apps into the trash. How can I fill completely uninstall process without having to renew my subscription?
Hello
You can use the cleaning tool Adobe CC: use the Adobe Creative Cloud cleaning tool to solve installation problems
Kind regards
Sheena
-
SkyScout come back for the 2nd issue since upgrade to the 9000 "BOLD" to a version of impeller 8000 series:
I transferred my CONTACTS and other PARAMETERS of my 8000 series BB successfully using the SOFTWARE of OFFICE of BB.
With the new sounds available, I would like to change the ALERT TONE I had used on my BB 8000 for a new, different on BB 9000.
How can I do this?
I went in profiles > ADVANCED > NORMAL... where it displays:
BlackBerry Messenger alert
New Message from blackBerry Messenger
Browsers
Calendar
Level 1
etc...
I have modifed the TONES for CASE in and out of the HOLSTER on the first two.
However, the TONES for the arrival of email and SMS remains the same since my 8000 series!
Help!
Where can I find the TONE changes for my e-mail and SMS?
Your help would be most appreciated.
SkyScout... w / less than 16 hours old 9000
DISCOVERY SOLUTION!
Well, I just found the solution myself. FOR FUTURE REFERENCE, I note the following:
In my first post above I wrote:
have been in the School Board Profiles > ADVANCED > NORMAL... where it displays:
BlackBerry Messenger alert
New Message from blackBerry Messenger
Browsers
Calendar
Level 1
etc...
I didn't continue on in the list.
Here's 'Level 1' separate for lines:
Messages: [[email protected]]
Messages: [[email protected]]
By selecting each one, then opening them (by clicking the joystick) - a separate menu returns to each of them. THAT I discovered at the time of my JOY and AMAZEMENT, it's I can create separate TONES for every different email through this!
Nevertheless, I thank those of you who have or hereinafter strives to have helped on this solution!
Thank you!
-
Hi.
Recently my home PC suddenly stopped working. If I was not able to uninstall beforehand. You guys he write off so that I can re install on my new computer.
Running Cs and adobe aftereffects. And I work for the IGT Australia.
Concerning
Dave Spencer
Serial number and activation support (no-Cloud) https://forums.adobe.com/thread/2041990 to adjust the number of activations
-only Adobe can help with serial number problems, nobody here can access the activation server
Remove the license on a computer http://forums.adobe.com/thread/1442423?tstart=0 clouds can help
-read http://helpx.adobe.com/x-productkb/policy-pricing/error-maxium-acitvation-exceeded.html
-or https://helpx.adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html
PS - I like IGT games
Maybe you are looking for
-
9.2 messages will not send any messages on MacBook
I am running OS X El Capitan version 10.11.6 on a MacBook Pro 15 "retina (mid-2015) with 9.2 Messages. I also have an iPhone running iOS 10.0.1 6. A few days ago, I got an alert that someone had logged on to iMessage on iPhone 4S that I didn't own. I
-
Dead button, mini home iPad does not
I left my mini ipad charging for a whole day yesterday and was just dead when I arrived home (connected at about 07:30, got home around 22:00). I tried locking push button and the "home" button and went into account before that, my home button works
-
How to uninstall windows powershell in vista
I'm trying to fix my computer and the cd said I need to uninstall windows powershell. I don't know what it is. Can you help me to unintall Vista Home premium?
-
How to identify which windows is my serial number?
I lost my HD and bought a new.I have the license in my computer, I have the number but where I say which windows is erased (vanished).Have I not any place can I put my serial number and tell me what windows is? See you soon
-
your opinion on the use of auto lab to lab configuration vsphere5.5?
http://www.vhersey.com/2014/03/autolab-with-vSphere-5-5-support/all negative to set up automatic lab for hands-on lab for VCP5 vsphere5.5?