  | |  | Refresh flash in HTML (WAS Button Sound) | Refresh flash in HTML (WAS Button Sound) 2004-02-12 - By Chad Gray
Back I am going to convert to AS.
I found my problem was I was using ctrl + enter to preview my flash and that is when getURL was not running.
As soon as I tried loading up the SWF with an HTML file everything ran fine. I have to get out of the habit of using ctrl + enter to test my movies.
On another note; is there another way of refreshing your flash file when viewed in html? If I publish a SWF and go back to the html page and hit refresh the new SWF does not get loaded. I have to close the browser and reload the html file to see the new SWF.
It is just annoying to close the browser and re-open it.
> -- --Original Message-- -- > From: Jesse Warden [mailto:warden@(protected)] > Sent: Thursday, February 12, 2004 8:25 AM > To: 'flashnewbie@(protected)' > Subject: RE: [Flashnewbie] Button Sound > > Try this: > > on (release, releaseOutside) { > var s = new Sound(this); > s.attachSound("linkageID"); > s.start(); > getURL("05_HRAssist.html", "_self"); > } > > Where linkageID is the linkage ID string you give your sound in the > library > by right clicking on it, and linkage... > > > -- --Original Message-- -- > From: Chad Gray [mailto:chad@(protected)] > Sent: Wednesday, February 11, 2004 04:02 PM > To: flashnewbie@(protected) > Subject: [Flashnewbie] Button Sound > > > I have a bunch of buttons and I want a wav file to play on the down or > press > of the button. > > Then I want the button to send the user to a HTML page. > > I have the following AS on the button and the wav file inside the button > on > a layer for the down frame. > > on (release, releaseOutside) { > getURL("05_HRAssist.html", "_self"); > } > > For some reason the sound plays but the HTML file is not loaded. How do I > run both a sound and getURL at the same time? > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Supported by Fig Leaf Software > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Lower Prices for Certified Training! Check out new lower prices for > Certified Macromedia Training from Fig Leaf Software. Expand your skill > set > with courses in ColdFusion, Flash, Rich Internet Applications and .NET in > the new year. Fig Leaf Software provides > the highest caliber instruction at our training centers in Washington > D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your > location. > > Get the details at http://training.figleaf.com/ > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) > For additional commands, e-mail: flashnewbie-help@(protected) > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Supported by Fig Leaf Software > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Lower Prices for Certified Training! Check out new lower prices for > Certified Macromedia Training from Fig Leaf Software. Expand your > skill set with courses in ColdFusion, Flash, Rich Internet > Applications and .NET in the new year. Fig Leaf Software provides > the highest caliber instruction at our training centers in Washington > D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at > your location. > > Get the details at http://training.figleaf.com/ > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) > For additional commands, e-mail: flashnewbie-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |