IDE :: Runs While The Flash File Is Playing?

Apr 15, 2006

I 'm working in a flash website and I used a background music that runs while the flash file is playing, I used action script codes to run this music. Also, I used some simple sounds that plays when the user move his mouse over a button or some items, but I imported these sounds to its frames directly and I didn't use action script to run it.The problem is that I want to make a "MUTE" button to stop all sounds, but the background music only stopped because it was runned through Action Script, other buttons will produce the same sounds when moving the mouse over them Does anybody have an action script code to mute all sounds even if they were imported to frames directly??

View 2 Replies


Similar Posts:


Flash :: .asc File Runs In The Flash Media Server?

Jan 26, 2011

I would like to know if it is possible to run Action Script Communication Files(.asc) on an red 5 server, just like how a .asc file runs in the Flash Media Server.

View 1 Replies

ActionScript 3.0 :: Textinput Runs On Swf But It Doesn't On Exe File?

Dec 18, 2011

i created textinput. i cant input data textinput after published the codes. But it runs on swf file.

View 9 Replies

ActionScript 2.0 :: When Click Link 1, It Runs *behind* The Other File?

Feb 17, 2005

As you can see from the attached load.swf, when I click on link 1, a blue movie 'runs in', and when I click link 2, an orange movie 'runs in'. Alls well right? Unfortunately, when I click link 1, it runs *behind* the orange file, so it can't be viewed.What I want to achieve here is that with every link I click, it overlaps the prev file, but the method I tried here only works if the user *nicely* clicks from link 1 to link 8, and not randomly. Any ways to go about this?

View 1 Replies

ActionScript 3.0 :: Projector File Runs Super Slow In Fullscreen Mode

Apr 25, 2009

I have created a flash application that runs crisp and smooth normally. However, when I set it to fullscreen using
Code:
fscommand("fullscreen", "true");

Then it runs slow as heck. My cpu usage shoots up to the 90%'s on all four cores. Strange thing is, however, that if I manually resize the projector chrome to take up the full screen size it runs smooth and crisp. It's not playing any videos or sounds, and there are minimal images. The swf file itself is 7 megs, and that's almost entirely because I have to embed the chinese alphabet. Could it be from running dual monitors? It still only "fullscreens" to one monitor's size, so I don't think its's twice the size without me noticing... I'm really not sure what's causing it, but it gets super slow...

The swf and fla files are located at: [URLs]
.fla is only 448kB, but the swf is 7megs.
Again, it runs fine when not in fullscreen, no matter how large I make the window, but if you play the swf file in flash player (i.e. not in browser) it will run slow until you press esc and exit fullscreen mode.

View 11 Replies

ActionScript 3.0 :: Detect When A Playing Audio File Has Reached The End (stops Playing)?

Aug 31, 2009

I have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer

View 3 Replies

Professional :: Playing AS2 SWF File In Flash CS4

Feb 23, 2010

How adobe plays the AS2 SWF file so beautifully, including being able to go to next frame or prev frame or zoom functions? I have tried many different ways to play an AS2 SWF in my flex (AS3) SWF loader and it is a very difficult problem. I use a AS2 Shell as a proxy and I use local connection to communicate between the two AVMs. The result is quite a horrible one because, I am not able to scale the swf very well and also have a torrid time with the debugger. Any special methods used by Adobe to achieve that in CS4 Flash or do they also use LocalConnection to play the AS2?

View 2 Replies

Playing A Flash File In Android?

Dec 11, 2009

Does Android support flash? If yes then i need an example code to play a flash file. Wonder if we can play a flash file in WebView?

View 5 Replies

Flash :: Loading And Playing More Than One .mp3 File?

Oct 25, 2010

I'm trying to set up a .flv file that will have buttons for two different pieces of sound.I've been able to get the first piece to load and to play and stop, but when I try to load the second piece, I trip up.I'm still a novice, but do think I understand the basic problem -- Actionscript can't distinguish between one sound request and another. The question is, how to fix this and get actionscript to understand that I'm trying to load and play two different sounds associated with two different buttons?I get error codes such as "1151: A conflict exists with definition s in namespace internal." , "duplicate function" problems and "duplicate variable" warnings. I've seen some discussion on this site of a recyclable sound object. I think I'm asking a similar question, but although the person who posed that question also posted a solution, I haven't been able to make it work.Here's the code:

var s:Sound = new Sound();
s.load(new URLRequest("http://www.website.com/Water.mp3"));
wellsplay_btn.addEventListener(MouseEvent.CLICK,playSound);

[code].....

View 2 Replies

Flash :: Playing Swf External File?

Dec 19, 2011

I want to play a external SWF file (which is in server) in client side. It is working when I run through flash, but when double click on .swf it shows a dialog box:

Adobe Flash Player Security To let this application communicate with the internet click Settings.

So what settings do we need to change to play the swf file?

View 1 Replies

Professional :: Flash Crashes After Playing MP3 File

Feb 2, 2010

I use Hikari a C++ library which allow to display flash control in a texture for the Ogre 3D Engine. I have a flash control which play a sound (.mp3) when I set a param (param = 0 with arg = 1022). The string I sent to raw_CallFunction() is:
"<invoke name="SetParam" returntype="xml"><arguments><string>0</string><string>1022.000000</st ring></arguments></invoke>"

It works very well. But when I close the application, it crashes, even if the sound of the .mp3 is finished. It crashes only is an .mp3 sound have been played (all other setparams and getparams do not crash the application). I have the same problem with different flashes, and with different sounds. I don't think the source of the problem come from the Hikari library, but I think it come from the way i close the flash control. Is there something to do when I close the application after having played an mp3 in a flash control? A function to call?

View 1 Replies

Professional :: Requirements For Playing Flash Exe File?

Jul 26, 2011

I have exported a flash file as exe which works fine on my machine but when it is delivered to the client it does not work. Does a exe file require that the machine have a browser flash environment. I that everthing was packages in the exe.

View 2 Replies

ActionScript 2.0 :: Import An External .as File To The Top Of Script So That When The Movie Runs The Script Is There?

Dec 15, 2007

I'm working on an ActionScript heavy file and the amount of code is starting to make it difficult to find my place.Im wondering if its at all possible to import an external .as file to the top of my ActionScript so that when the movie runs the script is there but I dont have to actually look at it. I'm wanting to import is not a class file.It's interactivity code that is very re-usable and therefore placing it in an external file and importing it would make sense .

View 3 Replies

Flash :: .swf File Stops Playing (ends Prematurely)

Sep 30, 2008

I have uploaded an .swf file to my site but when I embed it into my site page it won't play all the way through, it just freezes about half way. But the same .swf file will play fine in Flash.. I am using a content management system called Teamsite.

This file is not especially large only 377KB, I have tried removing images to reduce the size down to 96KB and it will still freeze. The file is just rotating images and uses no fancy effects just a simple fade.

View 2 Replies

Javascript :: Detecting When A Flash File Has Finished Playing?

Apr 27, 2010

I'm using Javascript to embed a flash file into a website which I then need to remove once it's completed playing.

Is there a way to do this in plain Javascript? Or will it require a callback type function to be added into the Flash file itself?

How do I code this? ._.

Javascript:

jQuery('body').append('<embed id="flashIntro" width="100%" height="100%" type="application/x-shockwave-flash" src="' + flashIntro + '" pluginspage="http://www.adobe.com/go/getflashplayer" />');

View 1 Replies

Flash - Firing Events When SWF File Ends Playing?

Jun 15, 2011

What I want is to play a swf file in my site. And when that swf animation file ends that is fully watched by the User, I want to call a PHP page.

View 1 Replies

Flash Player Not Playing External Flv File In IE And Chrome?

Aug 27, 2011

I am trying to play an FLV file in a flash player but it is not working in IE9 and Chrome. Works in firefox though.url...Theres 2 videos in the above linked page. One uses a simple flash player while the other uses JW player.Both give a "video not found" error in IE9 and Chrome. Both work in Firefox 5 though.(the link to the flv file is given as text on the page)

View 1 Replies

ActionScript 3.0 :: Trying To Open New Window Playing A FLV From Flash File

Feb 24, 2011

I have a swf embedded into a course and when a certain button is clicked, it needs to open a new blank window where it plays an FLV file with whatever width and height i specify.

View 1 Replies

ActionScript 2.0 :: Stop Carousel From Playing Through Whole Flash File

Dec 28, 2010

Iv inserted actionscript in flash to create a 3D Carousel. I have included buttons and frame labels which allows me to create other pages.How do I stop my carousel from playing though my whole flash file as I only want it to play up to frame 20 as beyond this I have my second page.I am using Flash CS5.

View 1 Replies

Actionscript 3 :: Adobe Flash : Playing Speex Audio From A File

Aug 5, 2010

I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code -

var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);

[Code]....

I tested the above code with .flv videos and AAC encoded audio files and it works just fine. But when I try stream_ns.play("sample.spx") I get a stream not found exception.

Am I using the wrong container (.spx) for speex audio. Is playing speex audio from a file supported?

View 4 Replies

Actionscript 3 :: Adobe Flash : Playing Speex Audio From A File?

Apr 8, 2005

I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code -

var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);

[code].....

View 1 Replies

Flex :: Flash Runs Slower On Mac?

Jan 27, 2010

I was in the middle of developing a Flex applcation, and then I recently switched from Windows XP to Mac. My app is noticeably less responsive on my Mac than on Windows, and today I proved it's not a hardware issue, because I ran the App on my Mac and a Window XP on Virtual Box side by side, and IS much more responsive on XP. Things like repainting in response to window resizing, selecting/unselecting list items, scrolling up and down(I do have complicated list-item-renderers). Has anyone seen this as well? Is flex/flash just not as well supported on Mac? Or are there tweaks I can do to improve performance on the Mac?

View 3 Replies

Flash :: Website That Runs Without Internet?

Jan 22, 2012

Allaboutrajini site tells you to stop your Internet connection to enter the site.I guess it determines whether the connection is on or off with javascript or something like gmail and qoura do.

But how can they store so much of flash animated content locally in the browser in such a short time?

View 3 Replies

Flash :: IDE - Pause Intro After It Runs And Then Go To URL

Jun 10, 2009

I am trying to do something I thought would be very simple. It has turned into a much more difficult exercise. I simply want to use this flash movie at Code:[URL] as an index page of site. When the movie has ran, I want to pause for 3 or 4 seconds and then go to the next page of web site (in other words, go to a specific URL).

View 2 Replies

ActionScript 2.0 :: Get A Flash Timer That Runs?

Apr 26, 2005

How can I get a Flash timer that runs? But I need the numbers to have a specific font, so does that make it trickier?

View 14 Replies

Professional :: Flash Not Running In FF But Runs In IE And Chrome?

Nov 14, 2011

I am having an issue with Flash not running in Firefox but it is running in IE and Chrome. The main url is [URL] on which there is a section called "ROI Calculator". The download button links to a flash program which opens up in IE and Chrome but does not open in Firefox. I am using windows 7 professional and Firefox 8. Here is the code for the page [URL]:
 
<!-- saved from url=(0014)about:internet -->
<html lang="en"> 
<!--
Smart developers always View Source.
&#160;

[code]....

View 6 Replies

ActionScript 3.0 :: Flash Site On Runs Very Slow On The Server?

May 30, 2009

recently i am working on my portfolio which I am doing in flash cs4, as3. It runs fine on local machine but when i upload it into the server, it runs very slow. in face there is a section where pictures are loaded when a thumbnail is clicked. There are 15 pictures and it doesnot opens at all.
 
following is the link to the site that I have done so far[URL].. please click on the "projects" to look at the problem I am mentioning. the section"3d modeling is the part where there are 15 pictures and doesnot load at all. same problem with "3d animation" "video editing" works fine. it may be because it has just one video to load.

View 1 Replies

Professional :: Make An Flash EXE Autorun CD Which Runs On Both Mac And Windows?

Jul 22, 2010

I checked the forum and couldn't find an idea on this.I have a Flash .exe and also a MAC .app for my project. I need to autorun these when the CD is inserted.If it were a single .exe and if i wanted to load it in windows machine it would be a piece of cake.But I have 2 files, and I wanna load it from a single CD. If the system is Windows I want it to load the .exe, and if the user system is Mac i want it to load a .app. How do I program the .inf file now?

View 1 Replies

ActionScript 3.0 :: Runs Fine In Flash Preview, But Not When On Server?

Sep 27, 2011

Ok my Flash movie tests and runs fine on i publish preview it in  Flash, but when i upload it to server it is not working like it is supposed to. is there a way to debug it or trace what is happening while it is running??
 
details: i have 113 Dynamic text fields names tcname_1 --> tcname_113 i have 113 buttons named button_1 --> button_113 The dynamic textboxes get their data from a file named trees1.txt
 
i tried changing three of the text boxes to use device fonts but that didnt make a difference
 
here is my AC3 code :
  
// button links: to all buttons to open in iframe 'tdes'
// link corrosponds to button number
// i have 113 buttons.

[Code]....

View 4 Replies

ActionScript 2.0 :: The Flash Game Runs Too Slow In A Browser?

Feb 28, 2006

I have made a plattformgame in flash, and after I had published it I tested it (local) when it was embedded in a browser, and it hacks and laggs! But when I play it in the flash player it works just fine.

I removed all the heavy graphics, lowerd the fps to 30fps and removed all the code so now its just the bassis left (gravity, collision, key checking etc. and yes u should bounce on the walls giving a wall jump effect).[URL]

View 4 Replies







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