Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in PHP only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
PHP
Can you add dynamic text from php to a flash button?
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
monomaniac21
#1
Can you add dynamic text from php to a flash button?
Feb 25 '06, 10:05 PM
Any ideas? Im looking to give the flash button a name based upon the
variables in php.
Marc
ZeldorBlat
#2
Feb 25 '06, 11:55 PM
Re: Can you add dynamic text from php to a flash button?
monomaniac21 wrote:[color=blue]
> Any ideas? Im looking to give the flash button a name based upon the
> variables in php.
>
> Marc[/color]
<http://www.php.net/swf>
Comment
Post
Cancel
Chung Leong
#3
Feb 26 '06, 12:05 AM
Re: Can you add dynamic text from php to a flash button?
monomaniac21 wrote:[color=blue]
> Any ideas? Im looking to give the flash button a name based upon the
> variables in php.
>
> Marc[/color]
Just print out the variable as FlashVars, then dynamically set the
label of the button with ActionScript. See this TechNote:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16417
Comment
Post
Cancel
Ciaran
#4
Feb 27 '06, 11:25 AM
Re: Can you add dynamic text from php to a flash button?
Marc:
<embed src="flash.swf? button=<?php echo urlencode($butt on) ?>">
and similar in the correct part of the Object tag.
This will create a var called 'button' in the root context of the Flash
movie.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment