Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing HTML values to FLASH dinamically??????

Status
Not open for further replies.

FlatHead

Programmer
Oct 13, 2000
50
0
0
GB
Hello everybody!

Can enybody help me on how (if possible) to import HTML values in to my flash moovie?

EG imagine we have:

<form action=Catadmin.asp name=ffaiolCDD>
<SELECT NAME=&quot;Site&quot;>
<OPTION VALUE=&quot;1&quot; SELECTED>One</OPTION>
<OPTION VALUE=&quot;2&quot;>Two</OPTION>
</SELECT>

Is There any possible way to make flash to get (catch) the values (1 or 2) from my select box and use them within flash dinamically???????????????????????????????????????????????

Please Help
Regards
 
You most probably could do it using Flash methods, with the SetVariable method.
See this for details:

Regards,
mywink2.gif
ldnewbie
 
Ok thansk for your help.

But the link doesnt explain anything about how to configure my form action within the HTML
What do i have to do? Do i have to point the action to the Flash movie????
Eg my movie is called: Myattempt1.Fla
Do i have to use it this way?

<form action=Myattempt1.Fla name=ffaiolCDD>
Please correct me if im wrong?


Also say im using this function as jS to sumbit all the values:
function send(formobj)
{
formobj.R1.value = formobj.R1.value
formobj.R2.value = formobj.R2.value
formobj.submit()
}
</script>

Additionally can you please tell me how do i Request the values for R1 and R2 to my flash movie?

Regards



 
If you want to use ASP i can email you a file...

Sharky99 >:):O>
 
Yes ASP is a solution which i wouild like to see my friend.

What about the jS solution without ASP just HTML jS and flash? Im really interested in this way. Imagine that most free ISPs does not offer you ASP... I can only use ASP in my work but i want to solve this problem for a project out of work and will be hosted on a free ISP. This means no ASP no PHP and nothing similar:((((

I hope you understand :)))

Regards
 
Ok it'll go in a min. i included info about ASP on free ISP

Have fun...

Sharky99 >:):O>
 
Thanks a lot mate :)))))

Please (anybody) send more on my requirement passing values from HTML and jS to FLASH.

It will be really appreciated and im sure there is a way.

For more details see the examples illustrated.
SHARKY99 thanks ill check the email after 6.00 to go through it.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top