Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Extensions and Plugins > JSFL - Extending Flash

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-11-2005, 06:17 AM   #1
Sunny13
Senior Member
 
Sunny13's Avatar
 
Join Date: Jul 2005
Location: India
Posts: 1,021
Default Display the properties of the selected object

I have made a component to set the properties of a selected text box. But while calling the JSFL file, using xml based dialog box, it is ready to set the new values to the text box , but does not display the current properties of the text box. Can we display the propertoes of the selected object in the dialog box in JSFL? .. Please help!!
__________________
I like such scripting....

Last edited by Sunny13; 07-11-2005 at 09:23 AM..
Sunny13 is offline   Reply With Quote
Old 07-11-2005, 11:08 AM   #2
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

if you mean in the dialogue from you xml file it will be possible via FLFile, but i don't know of anyt other way
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 08-04-2005, 08:37 AM   #3
Sunny13
Senior Member
 
Sunny13's Avatar
 
Join Date: Jul 2005
Location: India
Posts: 1,021
Default

hi hangalot... I read this post after a long time... I need the method you are talking about..................
__________________
I like such scripting....
Sunny13 is offline   Reply With Quote
Old 08-04-2005, 10:04 AM   #4
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

its not a method specificaly, using FLFile you can change file level stuff, so just parsing the xml file would do the trick
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 08-04-2005, 11:40 AM   #5
Sunny13
Senior Member
 
Sunny13's Avatar
 
Join Date: Jul 2005
Location: India
Posts: 1,021
Default

confused...!!!!!... not able to understand what you want to say... I need to pass the current parameters in the dialog box...
__________________
I like such scripting....
Sunny13 is offline   Reply With Quote
Old 08-04-2005, 11:42 AM   #6
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

yes. i understand that. do you know what FLFile is? if not read up about it.
xul is just a file containing text, meaning it can be parsed, and with flfile you can change the actual text data in the file in order to adapt it to your needs
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 08-04-2005, 11:54 AM   #7
Sunny13
Senior Member
 
Sunny13's Avatar
 
Join Date: Jul 2005
Location: India
Posts: 1,021
Default

Yeah..i have used the FLfile .... but still not able to get it...?
__________________
I like such scripting....
Sunny13 is offline   Reply With Quote
Old 08-04-2005, 11:59 AM   #8
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

lets say your xml file looks like this
<dialog buttons="accept, cancel" title="Embed ranges of text">
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<label value="Ranges" />
<textbox id="range" value=""/>
</row>
etc

then you load this into a flFile stream
use string functions to split it
var arr = str.split(" id=\"range\" value=\"")
and then go str+="id=\"range\" value=\"" + myValue + ...

you get the idea now?
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 08-04-2005, 12:05 PM   #9
Sunny13
Senior Member
 
Sunny13's Avatar
 
Join Date: Jul 2005
Location: India
Posts: 1,021
Default

Hope I am not irritating you...plz let me understand with an example...plz do post one whenever you have time.....tnx a lot .....
__________________
I like such scripting....
Sunny13 is offline   Reply With Quote
Old 08-04-2005, 02:12 PM   #10
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

i take from the thank you on the other msg my lat post helped you enough?
__________________
oi poloi
http://www.memorphic.com/news/
hangalot 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 08:01 PM.


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