Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Cant transfer the value of my text input to another scene

Cant transfer the value of my text input to another scene

2005-11-18       - By Randy Poole

 Back
On frame 1 you have a text Input control. The action script for the frame is:
var myVar="";
stop();
The action script on the actual control is:
on(change)
{
_parent.myVar=this.text;
}
On frame 2 you have a text Input control with an instance name of myTextInput.
The action script for the frame is:
myTextInput.text=myVar;
stop();

Although if you want to transfer data between frames, I would suggest using a
standard text field and set the type to Input Text.  Then use the
var property.  Variables will transpose across frames,  controls will not
unless they are on a layer that spans multiple frames.

Hope this helps.
Randy Poole
CIO
Telsim, Inc
http://www.telsim.com <http://www.telsim.com/>
813-908-1660
Yahoo IM (telsim_inc)
-- --Original Message-- --
From: pro_flash@(protected) [mailto:pro_flash@(protected)]On Behalf Of
Randy Teng
Sent: Friday, November 18, 2005 2:14 AM
To: pro_flash@(protected)
Subject: [Pro Flash Users] Cant transfer the value of my text input to another
scene of the same file....TY



Hi to all,

How can I transfer the value of my text input from scene 1 to my text
input on scene 2?

Thanks.

By the way, I already tried _root.txt2.text = _root.txt1.text

But it does not work, undefined. How will the object be recognize.. if
the case is undefined object. Please help.







=========================
Pro_Flash: Professional Web Developers Using Macromedia Flash
To subscribe: mailto:pro_flash-subscribe@(protected)
To UNSUBSCRIBE: mailto:pro_flash-unsubscribe@(protected)





SPONSORED LINKS
Macromedia  <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flash+training&w1
=Macromedia+flash+training&w2=Professional+web+developer&w3=Computer+internet
+security&w4=Macromedia+flash&w5=Macromedia+flash+mx&w6=Training+computer+and
+internet&c=6&s=178&.sig=LWQNuIngNXg0_rGnNPjsXQ> flash training   Professional  
<http://groups.yahoo.com/gads?t=ms&k=Professional+web+developer&w1=Macromedia
+flash+training&w2=Professional+web+developer&w3=Computer+internet+security&w4
=Macromedia+flash&w5=Macromedia+flash+mx&w6=Training+computer+and+internet&c=6&s
=178&.sig=qunwndiWTs83GkZkZOIirQ> web developer   Computer  <http://groups.yahoo
.com/gads?t=ms&k=Computer+internet+security&w1=Macromedia+flash+training&w2
=Professional+web+developer&w3=Computer+internet+security&w4=Macromedia+flash&w5
=Macromedia+flash+mx&w6=Training+computer+and+internet&c=6&s=178&.sig=aft6
_j6PBjNtvoNcTP_jyg> internet security  
Macromedia  <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flash&w1=Macromedia
+flash+training&w2=Professional+web+developer&w3=Computer+internet+security&w4
=Macromedia+flash&w5=Macromedia+flash+mx&w6=Training+computer+and+internet&c=6&s
=178&.sig=jULpxaclwGFzpSwgLAjr1g> flash   Macromedia  <http://groups.yahoo.com
/gads?t=ms&k=Macromedia+flash+mx&w1=Macromedia+flash+training&w2=Professional
+web+developer&w3=Computer+internet+security&w4=Macromedia+flash&w5=Macromedia
+flash+mx&w6=Training+computer+and+internet&c=6&s=178&.sig=8
-ExiPYQdd1f8s5fiertFg> flash mx   Training  <http://groups.yahoo.com/gads?t=ms&k
=Training+computer+and+internet&w1=Macromedia+flash+training&w2=Professional+web
+developer&w3=Computer+internet+security&w4=Macromedia+flash&w5=Macromedia+flash
+mx&w6=Training+computer+and+internet&c=6&s=178&.sig=1It8APBUqEiE_imk5hjk-g>
computer and internet  

 __ __  

YAHOO! GROUPS LINKS


 
*   Visit your group " pro_flash <http://groups.yahoo.com/group/pro_flash> " on
the web.
 

*   To unsubscribe from this group, send an email to:
 pro_flash-unsubscribe@(protected) <mailto:pro_flash-unsubscribe
@(protected)?subject=Unsubscribe>
 

*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http:/
/docs.yahoo.com/info/terms/> .


 __ __  




[Non-text portions of this message have been removed]



-- ---- ---- ---- ------ Yahoo! Groups Sponsor -- ---- ---- ---- --~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/IHFolB/TM
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----~->

=========================
Pro_Flash: Professional Web Developers Using Macromedia Flash
To subscribe: mailto:pro_flash-subscribe@(protected)
To UNSUBSCRIBE: mailto:pro_flash-unsubscribe@(protected)

Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/pro_flash/

<*> To unsubscribe from this group, send an email to:
   pro_flash-unsubscribe@(protected)

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/




Earn $52 per hosting referral at Lunarpages.