Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Button Sound)

Button Sound)

2004-02-11       - By Marc Hoffman

 Back
When the Flash is running, if you change the browser's address window from
the current html file to 05_HRAssist.html, does it play correctly? I'm
wondering if the file is located in the same directory as the Flash.

At 01:02 PM 2/11/2004, Chad Gray wrote:
>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?

<html>
<font size=3>When the Flash is running, if you change the browser's
address window from the current html file to 05_HRAssist.html, does it
play correctly? I'm wondering if the file is located in the same
directory as the Flash.<br><br>
At 01:02 PM 2/11/2004, Chad Gray wrote:<br>
<blockquote type=cite class=cite cite>I have a bunch of buttons and I
want a wav file to play on the down or<br>
press of the button.<br><br>
Then I want the button to send the user to a HTML page.<br><br>
I have the following AS on the button and the wav file inside the
button<br>
on a layer for the down frame.<br><br>
on (release, releaseOutside) {<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>getURL(&quot;05
_HRAssist.html&quot;,
&quot;_self&quot;);<br>
}<br><br>
For some reason the sound plays but the HTML file is not loaded.&nbsp;
How do<br>
I run both a sound and getURL at the same
time?</font></blockquote></html>

Earn $52 per hosting referral at Lunarpages.