variable pass from rollover buttons to AS on frame

This is a discussion on "variable pass from rollover buttons to AS on frame" within the Flash & Multimedia Forum section. This forum, and the thread "variable pass from rollover buttons to AS on frame 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 5th, 2007, 02:40
New Member
Join Date: Nov 2007
Location: delhi
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
variable pass from rollover buttons to AS on frame

Hi
I am creating a weather forecast in which i have to create many rollover buttons by which i can pass different URL(i.e. file path which has the zip code & other code) which goes to action script on frame 1 which has all other coding for weather. I know it sound confusing kindly help.
Reply With Quote

  #2 (permalink)  
Old Nov 5th, 2007, 03:19
New Member
Join Date: Nov 2007
Location: delhi
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: variable pass from rollover buttons to AS on frame

i have made a button with rollover which should pass a value like sanjose which goes to path("http://61.16.10.25/_flash/sanjose.aspx") on layer 1 frame 1 which have the action script. below is working fine if i pass the whole path in feedURL, but dont know how to pass city name while rolloover


feedURL = "http://61.16.10.25/_flash/sanjose.aspx";

#include "scripts/content.as"
// fire event to display current weather conditions
dispatchEvent({type:"containerInit", target:this});
// when button is pressed, shift it's position
function btnPressed(btn) {
btn._x += 1;
btn._y += 1;
}
// when button is released, put it back
function btnReleased(btn) {
btn._x -= 1;
btn._y -= 1;
}

Last edited by shwnew; Nov 5th, 2007 at 03:40.
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
buttons with variable lenght and curvy corners thosecars82 Web Page Design 5 May 14th, 2008 16:09
EASY PEASY Displaying frame address in another frame question molotov JavaScript Forum 3 Nov 20th, 2007 17:29
css rollover buttons lostyboy Web Page Design 11 Oct 22nd, 2007 15:08
Buttons disappear on Rollover ONLY on PC zoelinn Web Page Design 5 Jun 26th, 2006 23:42
Rollover buttons Brooksi Web Page Design 3 Jun 26th, 2006 16:18


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


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