selecting a TextInput from within a symbol

This is a discussion on "selecting a TextInput from within a symbol" within the Flash & Multimedia Forum section. This forum, and the thread "selecting a TextInput from within a symbol are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 22nd, 2007, 09:11
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
selecting a TextInput from within a symbol

I can't access my TextInput...

I have a symbol, inside contains the following code:

createClassObject(mx.controls.TextInput, "subscribeInput", 1, {text:""});
subscribeInput.setSize(198, 27);
subscribeInput.move(18,9);

This produces an input field in my movie symbol.

Problem: I can't set focus on the TextInput, as though I can't access the elements inside the symbol.

what am I missing? how can I make that TextInput able to be interacted with while its inside that clip?

Last edited by cosmicbdog; May 22nd, 2007 at 12:33. Reason: ease of reading
Reply With Quote

  #2 (permalink)  
Old May 22nd, 2007, 09:46
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: selecting a TextInput from within a symbol

I've tried:

subscribeInput.onRollOver = function() {
subscribeInput.setFocus();
}

And:

createChildAtDepth("subscribeInput", DepthManager.kTop);


No cigar! It seems to work when I don't try this inside a symbol and just print the input from the first frame above everything else. this just isn't convenience for how I envisage my form that can move around, not just appear.
Reply With Quote
  #3 (permalink)  
Old May 23rd, 2007, 14:18
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: selecting a TextInput from within a symbol

my subscribe widget is like the search link on this forum. only its like going to click on that input field and it doesn't start blinking with the typing curser *sad face*
Reply With Quote
  #4 (permalink)  
Old May 23rd, 2007, 14:46
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: selecting a TextInput from within a symbol

Link or a file you could show us?
Reply With Quote
  #5 (permalink)  
Old May 23rd, 2007, 14:55
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: selecting a TextInput from within a symbol

[link sent in private]
Reply With Quote
  #6 (permalink)  
Old May 23rd, 2007, 15:10
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: selecting a TextInput from within a symbol

Alright!
I'll take a look at it when I get off this crappy computer...
Reply With Quote
Reply

Tags
textinput, unselectable

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copyright symbol displayed as junk character ahujadeep Web Page Design 12 Jan 8th, 2008 18:49
symbol vs. button beginneratbest Flash & Multimedia Forum 2 Nov 14th, 2007 11:10
Selecting certain XML elements fogofogo Other Programming Languages 3 Dec 5th, 2005 12:49
symbol accessman Databases 2 Sep 27th, 2005 12:27
Symbol accessman Databases 1 Sep 20th, 2005 03:21


All times are GMT. The time now is 07:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43