rollover

This is a discussion on "rollover" within the Flash & Multimedia Forum section. This forum, and the thread "rollover 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 Nov 6th, 2007, 03:29
New Member
Join Date: Nov 2007
Location: delhi
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
rollover

is it possible to pass cityname from rollover to x something like below

on button rollover

b1.onRollOver = function()
{ var cityname= Delhi}


AScript:-

x=cityname

feedURL = "http://61.16.10.25/_flash/" & x & ".aspx"
Reply With Quote

  #2 (permalink)  
Old Nov 6th, 2007, 09:24
marSoul's Avatar
Moderator
Join Date: Sep 2007
Location: Tehran - Iran
Age: 28
Posts: 411
Blog Entries: 2
Thanks: 3
Thanked 4 Times in 4 Posts
Send a message via MSN to marSoul Send a message via Yahoo to marSoul
Re: rollover

if you mean POST and GET methods, yes you can use these methods in flash action scripts to pass variables
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Reply With Quote
  #3 (permalink)  
Old Nov 6th, 2007, 11:16
New Member
Join Date: Nov 2007
Location: delhi
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: rollover

any help

i have created global variable on button

_global.cityname="Delhi"

and pass it to AS2

feedURL = "http://61.16.10.25/_flash/" +_global.cityname+".aspx";

this is working fine my problem is i want to pass _global.cityname="Delhi" on roll over
Reply With Quote
  #4 (permalink)  
Old Nov 6th, 2007, 11:25
marSoul's Avatar
Moderator
Join Date: Sep 2007
Location: Tehran - Iran
Age: 28
Posts: 411
Blog Entries: 2
Thanks: 3
Thanked 4 Times in 4 Posts
Send a message via MSN to marSoul Send a message via Yahoo to marSoul
Re: rollover

what u mean pass to roll over ? please describe more in details
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Reply With Quote
  #5 (permalink)  
Old Nov 6th, 2007, 17:22
New Member
Join Date: Nov 2007
Location: delhi
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
F8 - rollover variable

i want when rollover the button a value as "Delhi" something like

(_global.cityname="Delhi") this goes to action script within the line

feedURL = "http://61.16.10.25/_flash/" +_global.cityname+".aspx";


i have to create many button which on rollover send the value of different cityname in the Action script URL

like button1 = Delhi

button2= Sanjose

Last edited by shwnew; Nov 6th, 2007 at 17:35.
Reply With Quote
  #6 (permalink)  
Old Nov 6th, 2007, 17:45
marSoul's Avatar
Moderator
Join Date: Sep 2007
Location: Tehran - Iran
Age: 28
Posts: 411
Blog Entries: 2
Thanks: 3
Thanked 4 Times in 4 Posts
Send a message via MSN to marSoul Send a message via Yahoo to marSoul
Re: rollover

I think the simplest way is to pass the names with dynamic text boxs, i mean create textboxes for buttons and put the city names in them, then get the city name by clicking the buttons.
_global.cityname=this.text;
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Reply With Quote
  #7 (permalink)  
Old Nov 6th, 2007, 18:09
New Member
Join Date: Nov 2007
Location: delhi
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: rollover

good idea but this is not working!!!!!!!!!!!
Reply With Quote
  #8 (permalink)  
Old Nov 6th, 2007, 19:34
marSoul's Avatar
Moderator
Join Date: Sep 2007
Location: Tehran - Iran
Age: 28
Posts: 411
Blog Entries: 2
Thanks: 3
Thanked 4 Times in 4 Posts
Send a message via MSN to marSoul Send a message via Yahoo to marSoul
Re: rollover

_global.cityname=_root.textboxname.text;
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 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
Rollover Please!! Gareth Starting Out 1 Mar 2nd, 2008 10:04
Rollover and disjointed rollover on same items? jtyoungs Web Page Design 37 Oct 1st, 2007 14:05
Caption rollOver help typeofdoug Flash & Multimedia Forum 2 Mar 12th, 2007 22:40
Rollover buttons Brooksi Web Page Design 3 Jun 26th, 2006 16:18
Need Help with a Rollover Geeky Girl Graphics and 3D 0 Nov 16th, 2005 00:09


All times are GMT. The time now is 07:46.


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