|
-
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.
-
some more clarification
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;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|