Play Sound Clip From Swf Only Once Per Visit To Site?

Dec 11, 2011

I have a swf animation that plays a sound on the main home page. People are happy to hear the sound upon first entering the website but it starts to get annoying after that (people go to different pages on the site then come back to the home page).

Just wondering what would be a good way to do this? I can set it up so that he same swf file is used on every webpage.

I understand that I could do a cookie or something like it/ session variable, but is that over kill? Can I do something via actionscript / the swf by itself?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Only Animate On First Visit To The Site?

Aug 20, 2009

how i would go about only preloading / making mc's animate in ONLY on first visit to the site

i have a banner where i want to animate the logo, but only on first visit, as it will get annoying if it does it every time they navigate to another page

im aware its probably something to do with cookies, but have no idea how i would go about doing this

View 5 Replies

Slow To Load Up (3-5 Minutes) When Visit The Site?

Jul 11, 2009

My problem is this: I built a Flash website, but it is painfully slow to load up (3-5 minutes) when I visit the site (via Firefox, etc). Once it does load up, everything is fine with navigation, etc. I'm having a hard time figuring out why its taking so long to load up on the web because, basically, I don't know how to trouble shoot.Details: the site is just a portfolio site with pictures and a few motion-things, no complicated animations. The swf file is about 9MB. I do have a flash preloader, but it doesn't show up until after the 3-5 minute "load-up" time. When I do the testing via Flash, its Ok and doesn't show the lag. But once I upload the website files and try to visit my website, the load time problem occurs.My thoughts: do I have to purge my Flash file/library of unused images before creating my swf file? Is there a problem with my html code in my index fil Just in case, here is the html code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

[code].....

View 7 Replies

Flash8 :: Replay Intro Or Visit Site Button?

Nov 5, 2009

I tried searching this but could not find. I am complete newbie to flash intro and I bought a Flash Intro template.At the end of the flash movie, i was able to auto-redirect the page to my homepage by using getURL function but what I am looking for is that:At the end of the movie there should be two buttons:"Replay Intro" and "Visit Homepage" so that visitor can click on replay to see intro again or click on visit homepage which will take him to homepage.

View 3 Replies

ActionScript 2.0 :: Detect If A Visitor Has Flash When Visit Site?

May 22, 2003

Could anyone get me to a tutorial that will show me how to detect if a visitor has Flash when they visit your site?

View 6 Replies

ActionScript 3.0 :: FLVPlayback Cannot Play On First Visit

Jul 14, 2009

I have a strange problem that I was hoping someone might resolve. I'm a new visitor to the Flash world from other development platforms, so the language seems pretty straightforward, but I have now spent a week and a half on this one bug.

Basically, I'm trying to play an F4V using an FLVPlayback component.  However, it seems that the video only plays if the f4v is already in the client cache. If the cache is empty, or disabled, then the FLVPlayback component throws an Error 1000, which seems to suggest it's having trouble connecting/pulling the video off the server.  But since it does work on the second visit, then I suspect that it does indeed perform the download -- it just THINKS it can't. [code]...

View 2 Replies

Flash :: Swf File Play Only Once Per Session / Visit?

Jan 25, 2012

I have a flash logo on my website but I don't want it to play every page load.I'm a total newbie in actionscript but I've gone as far as I have with the logo by googling and asking questions. I hope someone can please tell me how to do this one last thing I need on my logo since I can't find it anywhere! :)I'm using AS2 but I guess I can use 3 as well.

View 1 Replies

ActionScript 2.0 :: Play Animation Only In Index Page Or When User Visit 1st Time?

Mar 2, 2007

I'm creating a banner navigation with quick animation and I just want to PLAY the animation when user visit the page for a first time OR only in homepage (index page).Basically when visitor go to another pages, they won't see the "banner" animation over & over again. How to accomplish this ?

View 3 Replies

ActionScript 2.0 :: Create A Section For A Site Where Mousing Over A Button Will Play A Certain Frame Of A Movie Clip?

Dec 10, 2009

Flash CS4/Actionscript 3 I am trying to create a section for a site where mousing over a button will play a certain frame of a movie clip, which is sitting next to the button. Mousing over different buttons will play (and stop) different frames in the movie clip.

View 1 Replies

ActionScript 3.0 :: Change Tint Of Movie Clip On Rollover, Play Sound File When Clicked?

Nov 9, 2009

Drag and drop game. I'd like the instance to tint red when rolled over after it's been successfully dropped. I'd also like to play a sound file when clicked after successful drop. Here's the code:

ActionScript Code:
addEventListener("dropped", dropper);
function dropper(e:Event):void {

[code]....

View 6 Replies

ActionScript 3.0 :: Create Dynamic Sound To Play Sound-file?

Oct 14, 2009

It's possible to play a sound file through AS, either by loading it from a folder or import it to flash. It's also possible to play a dynamic tone with flash.media.Sound + writeFloat.

But... is it possible to play a sound file with flash.media.Sound + writeFloat in some way? I want to play a sound file without having to deal with any files except the .swf!

View 9 Replies

ActionScript 2.0 :: Play Sound/stop Sound Button?

Feb 13, 2007

i want to make a single button to play a sound, and if pressed again, stop the sound. and if pressed again, play the sound, and so on...
i know it has to be made with a boolean variable, true/false, but i just can't figure out how.

View 13 Replies

Sound In A Site Template?

Mar 10, 2010

I downloaded a flash template for a website and it includes a looping .wav soundclip that starts automatically when the page is loaded. There is an ON/OFF button that stops it, then starts it again.What I want to do is change the soundclip to a soundclip of my own. The instructions that came with the template say that to change the music, all I need to do is change the sound_Bar movie clip.

When I double click the sound_Bar movie clip, and select the "music" layer in the timeline, in the properties tab I see the following options:

Name: OLDclip.wav
Effect: -- (blank)
Sync: -- (blank)
Loop

I've imported my custom sound to the library, but when I select it, the values change to this:

Name: NEWclip.wav
Effect: -- (blank)
Sync: Event (<-- I can't change this back to being blank)
Loop

Anyways, what happens when I change the clip is that when I click the OFF button, the sound does not stop. Then if I click the button again to turn it ON, it starts the clip again, but overtop of the one that's already playing.Does anyone know why this is happening and how I can fix it? I don't really know too much about flash, that's why I bought the template pre-made...so far I've been able to edit everything else, and the music seems to be the last step but is giving me the most problems.

View 1 Replies

Sound Looping At The Moment On Site?

Jun 23, 2010

i'm having a sound looping issue at the moment on my site. I'm trying to make it so i have sparks shooting out of something, and at the same time the sparks shoot out i have a electric type sound. BUT the graphics all seem to work, but the sound for some reason, just keeps looping even when i'm not moused over. I put stops for the sound all over the place on like every frame and still doesn't work. Is there a bit of code I can use somewhere that will just mute the stupid thing after you take your mouse off the button?

here you can see what i'm talking about. I don't have it on loop. [URL].. the way i'm getting this animation to work, is by having one big movie clip and inside that movie clip i have the sparks movie clip, and the blue fade movie clip, then i just dropped in the sound where the sparks movie clip is.

View 1 Replies

Professional :: Site Sound When .FLV Plays

Apr 18, 2011

I have a Flash 8 site that plays a music clip throughout the site.  I have a flv video on one of my site's pages and would like to know if there is a way to stop the site's music when the user clicks on the "Play" button of the video and to have the site music start again when the video either ends or the user clicks on stop.

View 1 Replies

IDE :: Add Sound - Sound To Play On The 'Over' State

Mar 6, 2009

I'm trying to add sound to some buttons. It's just a little metallic 'klink' sound that plays on rollover. I only want the sound to play on the 'Over' state. So I've set up a layer (just for sound) for the button and I add my sound in the 2nd frame (the Over state). Everything is cool. All is good. And the sound plays on rollover. But the sound also plays when I click the button (i.e. it also plays on the "Down" state). Why? The Down state keyframe is completely empty. What's going on here? I've only put the sound in the "Over" keyframe, why does it also play in the "Down" frame (or when I click)?

View 1 Replies

Actionscript 3.0 :: Music/Sound Player On HTML Site?

Nov 24, 2009

I have a Mp3 player that plays or mutes the sound depending on if you click it or not.Now where i need help is that the site is a PHP based website and the player is obviously flash.Is there some way to create a cookie or session variable that stores whether you have muted the sound or not from page to page?

View 2 Replies

ActionScript 2.0 :: Playing Sound In Flash Site Background

Oct 10, 2002

How do I get a sound to play throughout the entire flash site in the background? Go to [URL] and you will see what I mean. Its a great site by the way! In this "crucial limit" site, he has tunes playing in the background, and they keep playing despite how deep you navigate through the site, no matter what button you press, the song continues to play without stopping. [URL]

View 2 Replies

Actionscript 2.0 :: Movie Clip Play, Stop And Play On Mouse Event?

Sep 1, 2010

I want a movie clip (let's call it homecontent_MC) with 100 frames play to frame 80 and stop.Then when someone clicks a button on the navigation bar (home, about, services, contact, etc...) homecontent_MC would then begin playing from it's position (frame 80) til it reaches 100, at which point it wouldn't be on screen, and the movie clip that corresponds to the navigation button press (say services_MC...) would start from frame 1 and continue til it stops at it's frame 80...

View 7 Replies

ActionScript 2.0 :: Play Sound Like "stop All Sound" Option In Flash?

May 17, 2003

I want to use a sound loop in my flash movie. The movie has many scenes. And the problem is that when I go to next scene or different scene I hear the sound repeating twice. I mean sound does not stop from first scene and begins from the different scenes.Is there any way to play sound like "stop all sound" option in Flash.

View 6 Replies

ActionScript 3.0 :: Play A Sound File And Show The Progress Of The Sound File Being Played

Mar 16, 2009

I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.

View 3 Replies

ActionScript 2.0 :: Swapping - Play The Client Side Mp3 First Then Only Play Server Side Sound Object Alternately

Aug 9, 2004

I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:

[Code].....

View 2 Replies

Play Mp3 Continuously While Browsing Site?

May 16, 2010

I would like to have it added with controls and play while the user is browsing the site. I don't want it to start playing automatically I want the user to be aware there is a song for them to listen to. I don't have any images for buttons.

View 2 Replies

Customers Should Not Be Able To Download And Play Them Anywhere Off Site?

Jun 25, 2010

However, I need to protect them in several ways... customers should not be able to download and play them anywhere off my site, or on their hard drives, and they should not be able to decompile them and grab the contents (jpegs).I realize that a first rate hacker can probably hack through anything, but they don't worry me. Second-rate hackers worry me more, as there are many more of them, and they tend to go after smaller stuff like this

View 1 Replies

Moved Site To GoDaddy & Now .swf Will Not Play?

Oct 29, 2009

on previous host, .swf played in Flash Player. I moved the site to GoDaddy & found the movie would not play. I learned about .htaccess & put this file in the site folder:now the page prompted me to download shockwave player. Instead of playing the .swf, the Shockwave logo shows. I would rather the movie play in Flash player.

View 6 Replies

Flash :: Professional - Won't Play On Site

Apr 27, 2011

I bought a Flash Portfolio program from Flash Components and followed the tutorial for setup and when I click index.html within my flashport folder, from my local PC it works perfectly. Now when I upload it to my website and try and run [URL], or [URL] a small portion of it loads (just my name and a blank screen really) and stops. So it works when I run the it from my local machine, but doesn't work from my website. Can anyone provide and thoughts or comments?

View 5 Replies

ActionScript 3.0 :: MC To Loop That Is Inside A MC - Play Head Of A Movie Clip To Return To A Certain Frame Of That Clip

Nov 2, 2010

I would like play head of a movie clip to return to a certain frame of that clip so a MC inside it would loop. I now have: stop(); as the action.

View 2 Replies

ActionScript 2.0 :: Showreel To Play Within Flash Site (not Pop-up)?

Oct 9, 2009

I need a showreel to play within my flash site (not pop-up)It's important that the quality remains pretty good, and i've tried converting it to FLV with no joy (bad quality)Is there anyway round this? Quicktime? Vimeo?

View 3 Replies

Safari Doesn't Play Flash Site

Apr 8, 2010

[URL]Currently, it doesn't not come up on any version of the Safari browser. What am I doing wrong?

View 4 Replies

Professional :: Flash Site Video Won't Play?

Dec 8, 2010

I built a website using flash.  I have two videos that play directly in flash CS5, i published the site and everything worked great including the videos.  now the videos won't play.  my website is [URL]

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved