Professional :: Sound Duplicates On Top Of Itself When Returning To Home Page?
Apr 27, 2011
i have a question about loading an mp3 in flash. the mp3 is loading & playing fine, but if i click a button to go to a new frame, and then click another button to return to the home page, a new copy of the same audio clip is loaded over the one that is already playing, thus causing two audio files to play at the same time. it will keep loading a new copy of the audio clip every single time i return to the home page. how do i go about correcting this? the following is the code i am using:
I have a project for a site that sells fishing lures.I want to have an animated index page before moving on to the home page. My idea is to have a boat sitting on a pond fishing lines in the water, when a fish jumps out of the water, the water ripples, the next time you see the fish it's got a hook in it mouth and jumping out of the water.how do I go about it? How to I create the water rippling? I think with the fish I can do easily enough with it jumping on and off stage. Would I do the water with shape tweens?
I have 10 buttons for various pages on a website I am building. I am only dealing with the first 2 buttons so far: home and about (laborLaw). On my about page, I wanted to have buttons to navigate to another frame where the viewer can Read More Details. In order to get my button to work, I had to type about_mc. before the event listener of that button. Here's the code that worked.
about_mc.laborLaw1_btn.addEventListener(MouseEvent.CLICK, laborLaw1); function laborLaw1(evtObj:MouseEvent):void{ gotoAndStop("laborLaw1_fl"); }
So I am now able to navigate to frames from buttons inside the mc. My next task was to build a close button to navigate back to the about page from the "Read More Details" page on a 101. Here's the code I used on frame 101:
(stop); // the following is to navigate back to "about" (Labor Page) closeLabor1_btn.addEventListener(MouseEvent.CLICK, returnLabor); function returnLabor(evtObj:MouseEvent):void{ gotoAndStop("about"); }
That worked great BUT, once I navigate BACK to the about page using the closeLabor1 button, I am no longer able to navigate to any other button such as the home button. Here's a video showing exactly what happens. [URL]
Let's start with the following XML: Code: <swatches> <swatch> <swatchName>Plaid</swatchName> <swatchColors> <color>black</color> [Code] ..... I want to return a list of the <color> values without having any duplicates.
I am an html/css programmer and don't know much about Flash. I've just been asked to update this site which has many Flash elements. I just dissected the site but can't figure out where the slideshow is coming from on the home.html page. I opened the index.swf object and there are no images just a background. I believe the original designer used Flashbox for the slideshow and Flash as the backdrop? I think I have the other galleries (click View Rings portfolio or another portfilio) figured out.
It looks like it's pulling in a Flash file and the Flash file is pulling in images for the slideshow (at the bottom) from the images.xml file. I opened the Flash file (image gallery.swf) and the full pop up -- background and large photo and slideshow -- are included in the .swf file unlike the index.swf file. Am I correct? Not sure if a Flash file would pull in images from an images.xml file. How do I edit the Flash file if it's not pulling the images from the images.xml file? When I open the file it just shows me the .swf file in design view.Is this over my head and should I hire someone with Flash and Flashbox experience?
I want to add skip intro button to open home page otherwise I want the intro jump to home page when finish.so i add button on intro (skip intro) and write the following:
this.createEmptyMovieClip("homee",1); by the way i cant understand what this number meanhomee.loadMovie("home.swf");but what happened is that the intro still looping in home page
I have a home page in that their are 4 buttons which lead to 4 different pages, I essentially need mine to be able to click on a button and then have it go to that page, oh and Im working with Flash CS4 in AS3
I have a flash template in Flash AS - 2 , with a initial sound that triggers at the very beginning in full sound. Now what I want to slowly mute the sound gradually step by step up to the loading of the home page. How can I do that? Worthless. I attached a very simple fla with sound. There is a stop action and at this point the home page is loaded.Now how can I mute the sound slowly upto this point.
I am working on an iMAC running 10.6, and Flash CS5. I created a flash file with a list button ( with 10 inner sellections) on the main page. Each sellection within the list button loads a separate movie file from the library. Everything works great unitl Iinsert the Home button. If I install the home buton the main page, the list button does not work. If I install the home button in a movie, I don't know how to write the action script to go back to the main page, and I woul have to install a home button into each movie.
So I am doing a flash intro page, but the intro becomes the home page, as in all the pieces come together to create the Flash home page, so that there is just one file for the home page that includes the intro from Flash..how do I make it so that all the parts on the page stay there indefinitely, because right now after a certain amount of time, they disappear due to using the timeline in Flash.
I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.
I have a problem with a preloader on a slideshow. The preloader works perfectly the first time the slideshow is loaded but if you move to another frame and then return the loader bar loads in the top left hand corner of the stage and does not function, it just duplicates every time you navigate back to the page.
I am trying to create a flash headline gallery animation for a web site and I am having a bit of trouble. I am trying to get something similar to what you see on many websites today. Example 49er website ( [URL].. Typically the animation starts with one headline for a story "Click here to learn more" . After 7 seconds or so it goes to the next.I want mine to utilize the horizontal sliding effect between stories. underneath the stories are several buttons for navigating to a specific headline.
Many example sites i've seen use javascript or something else, but i was attempting to use Flash. I borrowed some code from a tutorial and I have some of it done. I have the button nav working, and the headlines slide horizontally when clicked. What i can't seem to add to this is the auto-play, wait 7 seconds then go to the next.
There is always really cool special fx on the kirupa home page banner. But I can never find out where I can find FLA's with them. Can someone give me a link to where I might be able to find them...If not. This would be a perfect place to put banner ef ex. So post them if you have them!
I am having trouble preloading my .swf files. Can anyone tell me how to create a "index" Page that says page loading while all of my .swf & .png files upload?
I am making a drag and drop game using AS2 in Flash CS5 where mc items are duplicated and enlarged from a menu and can be placed anywhere on the stage to create a custom robot. Each part (arms, head, feet, etc.) is it's own mc with unique instance names. I have the drag and drop part all figured out, and I even have the duplicateMovieClip part working...
HOWEVER... Whenever I move from the current frame that an object was duplicated in, to another frame and then back, the clips dissapear one by one if you try to create a new one. Each list of menu items are in their own frames (heads, torsos, arms, etc.). As the duplicates are made, they remain on stage no matter what frame you go to and can still be dagged around, which is good, but as I said previously, they dissappear when you create a new duplicate. Not all disappear at once, only older created duplicates disappear as you bring in new duplicates.
I'm trying to display a message on my web pages home page to notify all viewers on some info, I need it to open automatically when the page is accessed then disapper or fade automatically.I'm trying to avoid making this a pop up because most people deativate thier pop ups.
I would like to know if its possible to create a background flash that is dynamic while keeping the bars static?for an example checkI would like someone to build a home page for me to be exactly like the samsung site above except using my images. Is this possible?
I have a 843 pixel x 181 px SWF file that is in a Dreamweaver CS4 HTML table. It plays but the Flash files actual location on the web page is off.It is shifted about 1 or 2 pixels down and 1 or 2 pixels to the right on IE 8, Firefox 3.6.12 and Safari 5.0.1 on the PC.[url]...
[URL]I want to play the home page animation once only - and when visitors come back to the home page - it would ideally go to the last frame (or?). I have seen 'mentions' of Flash objects (cookies) and other scripts but have yet to see the actual script to make this work.I'm using Flash MX 2004 (version 7.2)?
I have a Flash 8 site that plays music in the background. When I click on one of the menu choices, the timeline jumps to another frame where the selected page is. Once at that page, I want the background music to stop and the page's music to start. Here is what I have:
Attached to frame 1: var s:Sound=new Sound(); // to initialize a sound instances then attached to each page keyframe: stopAllSounds(); s.attachSound("thelinkageidofthesoundthatcorrespondstothispage"); s.start();
When the timeline jumps to the page frame, the background music stops but the page's music doesn't start.
I have just created a website in Flash MX and I would like to have a youtube video on the home page. I see in youtube where it gives the embed code for html sites, but what do I put in flash and what is the action script?
Is it possible to create an xml slideshow that runs .swf files for my home page?and does anyone know where to find some good tutorial on creating xml slideshows that run the .swf files.
I am using the following code for my Navigation in a FLash CS4 file:
stop (); function buttons(event:MouseEvent):void{ gotoAndStop(event.target.name); } home.addEventListener(MouseEvent.CLICK,buttons); services.addEventListener(MouseEvent.CLICK,buttons); about.addEventListener(MouseEvent.CLICK,buttons); contact.addEventListener(MouseEvent.CLICK,buttons);
It works great when I am on the home page, but stops working once I navigate to any of the other pages. I have an Actions layer and that layer extends the full length of all pages/frames of the timeline.
I have the frames labeled as such: home, services, about, and contact. (All are "Type:Name")
each button is named as such: home/ instance of "home", services/instance of "services", etc.
I have integrated sIFR3 and it shows perfectly in my home page but not on any other pages. I never changed anything only the name of the font. Here is my sifr-config.js: