Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-01-2006, 10:38 AM   #1
Daktau
Registered User
 
Join Date: Oct 2001
Location: Bath, UK
Posts: 11
Default Is it possible...

I dunno if I'm barking up the wrong tree here but is it possible to use a dynamic text box with it's nice auto scroller AND place events on the text so that I can click a line of text and have something happen?

If as I suspect this is not possible is there a way to acheive this?

Daktau.
Daktau is offline   Reply With Quote
Old 08-01-2006, 12:01 PM   #2
Cota
Super Moderator
 
Cota's Avatar
 
Join Date: Jul 2001
Location: NYC
Posts: 10,175
Default

Another method is with a scrollpane...create a movieclip of the a "line" in that text field you talked about....if building the list dynamically, just call the data you need and use attachmovie to put all the stuff in the scrollpane..
__________________
Color Wars | (kul′ər wrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote
Old 08-01-2006, 12:47 PM   #3
Daktau
Registered User
 
Join Date: Oct 2001
Location: Bath, UK
Posts: 11
Default

Cool thanks.
Another question though,
Can I reference the movie inside the scrollpane once it has been attached from the library.....and then add stuff dynamically to that??

like this....
_root.scrollPane.contentPath ="EmptyMovie";
_root.scrollPane.EmptyMovie.attachMovie("foo", "bar", 20);
_root.scrollPane.EmptyMovie.bar.whatever = whatever;

Ii seems logical enough...but it doesn't work.
Daktau is offline   Reply With Quote
Old 08-01-2006, 06:27 PM   #4
Cota
Super Moderator
 
Cota's Avatar
 
Join Date: Jul 2001
Location: NYC
Posts: 10,175
Default

you can do,
_root.scrollPane.content.bar._y = whatever;
__________________
Color Wars | (kul′ər wrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:48 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.