howto use Loadvars for getting variables from asp into flash

This is a discussion on "howto use Loadvars for getting variables from asp into flash" within the Flash & Multimedia Forum section. This forum, and the thread "howto use Loadvars for getting variables from asp into flash are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 19th, 2007, 15:19
Junior Member
Join Date: May 2007
Location: india
Age: 24
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to balaakrs
howto use Loadvars for getting variables from asp into flash

I need to know how to use loadvars class for getting variables from asp into flash.
for example consider there is a button,which is when cliked should pass a variable to asp coding which inturn verifies the variable value and send a value back to flash. how can i use load varsin this and how to program the asp part for this

can anybody give example of loadars object used for getting variables from asp into flash with asp part also
Reply With Quote

  #2 (permalink)  
Old Sep 20th, 2007, 14:59
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: howto use Loadvars for getting variables from asp into flash

The code in the param/embed file would look like this:

Code: Select all
<param name="FlashVars" value="info=<%myaspvariable%>"/>
And int he embed this:

Code: Select all
FlashVars="info=<%myaspvariable%>"

The code needed in the flash file would be this:

Code: Select all
var info:String = _level0.info;
Then, in your AS, do whatever you want with it....dynamic text fields, manipulate images/content being shown, whatever you need!

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
Reply

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing variables from PHP to Flash tox0tes Flash & Multimedia Forum 4 Dec 29th, 2007 06:46
Flash and PHP Session Variables saxy46 Flash & Multimedia Forum 0 Jan 27th, 2007 18:21
Passing Flash variables between frames lostnights Flash & Multimedia Forum 0 Jan 22nd, 2007 17:09
Passing variables from Flash to PHP LostProphet Flash & Multimedia Forum 6 Aug 31st, 2006 14:05
help needed for flash variables gwx03 Flash & Multimedia Forum 3 Sep 1st, 2003 10:59


All times are GMT. The time now is 15:13.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43