| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jan 2008
Posts: 3
|
hello, i am new to actionscripting and went through many of the tutorials on net. with a basic knowledge now, i want to know how the parameter passing can be accomplished from html to flash.
i wil explain you the problem. let us consider a water tank. the level of the water tank should be set depending on the parameter i recive from a html file. if i get 57%. then level in the tank must indicate as such. pls help me on this. Thanks a lot. regards Abilash |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
look at the flash actionscript bridge on labs.adobe.com
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2007
Posts: 85
|
Do u mean passing a value from javascript (html) to flash function.
ExternalInterface class of flash is the answer. Google it and u will fiind ways to send variable values from Javascript to Flash and Flash to Javascript. |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Jun 2008
Posts: 1
|
.
Quote:
|
|
|
|
|
|
|
#5 |
|
FLEX AND FLASH ARE COOL
Join Date: Oct 2005
Posts: 331
|
Hey, if you are just trying to pass in params, in your embed / object tag you can add them after the name of the flash file like:
nameOfSwf.swf?param=test¶m2=tester and in your flash you can reference them like parameters.param and parameters.param2 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Developing a flash site, Part1: Some thoughts | Bloom22 | Other Flash General Questions | 6 | 09-29-2006 03:10 AM |
| Passing Different Variables in Flash | cheezyfries | ActionScript 2.0 | 7 | 09-06-2005 04:40 AM |
| URL (with query string) not passing into flash | Aaronin | ActionScript 2.0 | 1 | 06-09-2005 09:22 PM |
| CyanBlue's 5000th Post - Useful Threads List | CyanBlue | ActionScript 1.0 (and below) | 104 | 02-25-2005 02:13 PM |
| Passing Flash Variables To/From CF Server | evworldeditor | ActionScript 1.0 (and below) | 8 | 05-13-2002 04:17 PM |