Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / June 2006



Tip: Looking for answers? Try searching our database.

Boolean values with Flash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mikpara - 05 Jun 2006 07:44 GMT
can anyone please help me.

i'm using Flash 8 and have made my connection to a coldfusion database using
components.
There is a section of my project where im calling the database to return a
true or false value into a text box.

My problem is that i want the value to show as a tick or cross. Does anyone
know how to do this. Or even change the value to an image.??

thanks

mik
:confused;
jag57 - 09 Jun 2006 19:37 GMT
I don't know how to put images in a textbox, but if you do find out I think the
code would be something like this:

if (value == true)
{
   textbox.text = (code to display tick image);
}
else
{
   textbox.text  = (code for cross image);
}

I just searched and found an article on putting images in textboxes:

http://www.actionscripts.org/tutorials/intermediate/load_images_via_XML/index.sh
tml
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.