Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-23-2003, 06:11 AM
Senior Member
 
Join Date: Feb 2003
Posts: 209
Default FlashPlayer.setVariable

I don't know if it's a bug.
But I did have difficulties finding out what was wrong
I tried to transfer the recordcount of a query to the Flashplayer like this.

Code:
totaal = rs.RecordCount;
trace(totaal);
FlashPlayer.setVariable("totaal",totaal)
But In Flash, the textfield containing the variable totaal stayed empty
Seems like you can only transfer strings as a variable
So the code should look like that

Code:
totaal = new String(rs.RecordCount);
trace(totaal);
pla.setVariable("totaal",totaal)
Maybe this can be helpful for someone
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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



All times are GMT. The time now is 07:30 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.