Passing a Variable to ASP

This is a discussion on "Passing a Variable to ASP" within the Flash & Multimedia Forum section. This forum, and the thread "Passing a Variable to ASP 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 12th, 2006, 12:46
New Member
Join Date: Sep 2006
Location: Newcastle
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Passing a Variable to ASP

I'm having a problem passing variables to an asp page. I've never done this before so i'm not sure how to go about it.

I've created a slider that allows me to slide from left to right giving an output of 0-100. All i want to is pass this output to an asp page.

My action script is as follows

<This works out the number to output>

this.perc=0 ;
handle.onPress=function(){
this.startDrag(true,0,0,rail._width,0);
this.onEnterFrame=function(){
perc=Math.round(this._x*100/rail._width) ;
}
}
handle.onRelease=stopDrag;
handle.onreleaseOutside=stopDrag;

<This displays the output in a label>

this.onEnterFrame=function(){
sliderValue.text=slider.perc;
}

Any help would be much appreciated!
Reply With Quote

  #2 (permalink)  
Old Sep 13th, 2006, 14:05
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Passing a Variable to ASP

Have you checked the ActionScript Dictionary?
Reply With Quote
Reply

Tags
flash, asp, passing variables

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 a value through forms then using it? wayned16 PHP Forum 1 Feb 9th, 2007 16:51
passing an ID field through to PHP Colm Osiris PHP Forum 2 Nov 20th, 2006 08:24
Variable passing VanderBOOM JavaScript Forum 20 Nov 2nd, 2006 21:39
[SOLVED] Passing my variable, help please Anonymous User PHP Forum 0 Feb 12th, 2005 13:37
Passing form variable between pages rhoov Classic ASP 8 Dec 16th, 2003 14:59


All times are GMT. The time now is 17:04.


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