Sound Coding for advert



  • 1. Can Progressbar component show DataSet or XMLConnector load status?
    Can anyone who's used the Progressbar component that ships with MX2004 to display the load status of XML describe what approach they used to accomplish this? I'm interested in using the Progressbar component that comes with MX2004 to show the status of XML data that's being loaded from an external file. Googling around suggests that the XMLConnector component does NOT work with the Progressbar component that ships with MX2004. Can anyone confirm or refute this? I'm wondering if a workaround is to somehow attach the progressbar to the load of a Dataset component rather than the XMLConnector...but I suspect this won't work. The XMLConnector probably completes its load before passing data to the DataSet component. Thanks....
  • 2. Setting Different value on different states of checkbox
    Salam, hope you are fine, i have a little work with you i am stuck to solve a little problem in Flash Actionscript. My problem is with Checkbox component, when i select checkbox ( True state) i want '1' to be displayed in OUTPUT window and when i later deselect it (from True to False state) i want '0' in OUTPUT window, i wrote following code (suggested by a guy from here) but what it does it simply display '0' in output window on both selecting and deselecting actions. here is the code. function a1_1(){ /// a1_1 is checkbox handler name if (cbox.selected) { ///cbox is component name a = 1; } else { a = 0; } a = cbox.selected ? 1 : 0; trace (a); } i'd be really pleased if someone solve my problem
  • 3. Get URL command on Mac browser?
    Anyone having trouble with Get URL command (projector) on Mac browsers? A browser window opens, but it displays home page rather than URL in actionscript. Could this be an issue with the latest OSX security update? I am working on an enhanced CD project and have never had a URL command issue. I am using Flash MX version 6. Tommy

Sound Coding for advert

Postby NecroSaint » Wed, 14 May 2008 02:04:20 GMT

Ok i'm making an advert with music in background atm, i have music playin on 
its own layer on the timeline, which works ok, but i want some more functions. 
Could someone please supply me with codes to: Play the music at start of 
animation, mute and unmute the music on a button press (i played aorund with 
this one but couldnt work it out), and also get an ending screen with buttons 
to restart animation and go to a website(i can't work out how to prevent 

 Thanks in advance,


Re: Sound Coding for advert

Postby NecroSaint » Thu, 15 May 2008 02:48:32 GMT

please guys i kinda need this desparately for friday

Re: Sound Coding for advert

Postby kglad » Thu, 15 May 2008 02:56:45 GMT

check the flash sound class and remove your sound from the timeline.  you must use the sound class to control your sound with actionscript.

Re: Sound Coding for advert

Postby NecroSaint » Thu, 15 May 2008 04:40:05 GMT

I understand most of the basic codes for using sounds like how to start and 
stop :P

 But i just need help with some of the other commands needed to get some of the 
other effects i mentioned in the first post, sorry kglad but i think this is 
gonna be another of my "20 replies and still don't quite understand"  posts. 
I'll try my best :P

Re: Sound Coding for advert

Postby kglad » Thu, 15 May 2008 10:57:22 GMT

for a one button mute toggle:

 this.vol = s.getVolume();  // where s is your sound instance
 } else {

Re: Sound Coding for advert

Postby NecroSaint » Thu, 15 May 2008 15:06:53 GMT

cool that one works :)

Re: Sound Coding for advert

Postby kglad » Thu, 15 May 2008 23:32:32 GMT

you're welcome.

Similar Threads: flash adverts being displayed

2.Transparent Flash adverts

Ok i'm sure you guys have seen these flash adverts that appear on sites as an 
overlay.  They appear to be transparent and appear over any part of the 
website.... they are on the main yahoo page alot.  Car adds etc...  can someone 
tell me how i can use one of my own flash ads in this way?  I have searched on 
google and can't find anything to help me.  

3.Flash Advert Expanding onto HTML page

Hey guys, I was wondering if one knows a tutorial on the flash adverts that you 
get and when you rollever them , the flash movie extends onto the rest of the 
page. When you rollout it disapear into its original smaller area?

 thanks, Nick

4.Remove flash adverts from webpages!

5.Flash Adverts

6. 5 Flash/Actionscript books - ADVERT

7. Pop-up advert

8. makeing and advert to stream on tv or LCD screens

Return to FLASH


Who is online

Users browsing this forum: No registered users and 96 guest