View Single Post
  #2 (permalink)  
Old Nov 5th, 2007, 03:19
shwnew shwnew is offline
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