Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > General forums > Development
User Name
Password
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-07-2008, 07:43 PM   #1 (permalink)
PigBenis
duh
 
PigBenis's Avatar
 
Join Date: May 2002
Location: Boiler Up
Posts: 548
-23 Internets
Send a message via AIM to PigBenis
Pass a flash param via javascript

Hey guys i'm trying to dynamically change the value of a flash movie param via javascript and unfortunately I'm getting no where. Can someone give me some pointers. This is where I'm at now:

Code:
js function getLim() { var blah=32; return "uploadUrl=Upload.aspx&maxFileSizeTotal="+blah+"&buttonBorderColor=#284A0E"); } /js param name="FlashVars" value='javascript:getLim();'
I basically want to dynamically set the value for maxFileSizeTotal. Thanks guys.

grr wont let me put in the param line right, but hope you guys get the idea

Last edited by PigBenis : 06-07-2008 at 07:50 PM.
PigBenis is offline   Reply With Quote
Old 06-08-2008, 07:30 AM   #2 (permalink)
Vorph
Never Go Full Retard
 
Vorph's Avatar
 
Join Date: May 2002
Location: Hell
Posts: 5,341
Have you tried having the JavaScript write the code to the page for the flash movie?
__________________
  
Vorph is offline   Reply With Quote
Old 06-08-2008, 08:47 AM   #3 (permalink)
PigBenis
duh
 
PigBenis's Avatar
 
Join Date: May 2002
Location: Boiler Up
Posts: 548
-23 Internets
Send a message via AIM to PigBenis
I was thinking about that method. I'm not really quite sure how to pull that off though.
PigBenis is offline   Reply With Quote
Old 06-08-2008, 01:25 PM   #4 (permalink)
Sabolin
Registered User
 
Join Date: May 2003
Posts: 229
+2 Internets
Look up some examples using the javascript innerHTML property.. it may be what you're looking for.
Sabolin is offline   Reply With Quote
Old 06-08-2008, 03:35 PM   #5 (permalink)
PigBenis
duh
 
PigBenis's Avatar
 
Join Date: May 2002
Location: Boiler Up
Posts: 548
-23 Internets
Send a message via AIM to PigBenis
Got it, thanks guys
PigBenis is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
uberguilds network



All times are GMT -7. The time now is 10:00 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6