IDE :: SWF Won't Play Properly?

Aug 22, 2009

I'm working on redoing some very old HTML/Javascript effects on a client's website using Flash for better browser compatibility. On one of the pages, there is a SWF on/off audio button that when the page loads immediately starts playing audio (I didn't make this myself, it's already on the site). When you click the button, the sound goes off, and on again when you click a second time.

I downloaded the SWF and whenever I open it up in Flash player it functions fine, as it should. However, when I try to load it into an empty movie clip on the FLA I'm working on, it doesn't work. You have to click the button to get the audio to play, and then it won't turn off again. It's very odd.I'm using CS4 and AS2. Here's the code I'm using to load the SWF. "Sound" is the empty movie clip. It loads, but just doesn't function properly and I can't seem to fix it. I don't understand why the SWF isn't functioning as it does when you open it in Flash player.

Code:
loadMovie("cs_clip.swf", "sound");

View 3 Replies


Similar Posts:


ActionScript 2.0 :: LoadMovie Can't Play Properly

Jan 12, 2009

This is my first post, I'm a newby on Action Script and I'm having some problems when using loadMovie.The script that I'm using is very simple[code]...

The movie loads ok but it doesn't play as it should and I think it must be something concerning the fact that the frame is being loaded on the main timeline, anyway I tried usn loadMovieNum using the following [code]...

View 1 Replies

Cs4 :: Can't Play An Fla File Properly In Timeline In Flash

Aug 3, 2009

I am having trouble with editing my flash template in flash cs4. When I try to play the fla file in the timeline it does not play everything in each layer. I have made no changes to the exisiting files in the template at all but there is only a partial background and some text playing.I have tried two other fla files from templates and they are the same.

View 1 Replies

ActionScript 3.0 :: Cant Play Video In Reverse Properly?

Jul 29, 2010

I've looked around on google and i see you cant play video in reverse properly because of keyframe issues and you can use prevFrame on movieclips with data on frame, but this second way, i've tried by using Tweener class, and has some "clunky" moments.So does someone know a good way that plays smooth in reverse either a movieclip or a video or both?

View 3 Replies

Javascript :: Nor JWPlaer Or FlowPlayer Will Play .swf Video Properly

Mar 22, 2012

I am experiencing a very weird issue with both jquery2flash players,this is how i am callin flowplayer:[code]this is how i am calling jwplayer:[code]The problem is that in both even if you click on the play button, the video will start but the play icon won't hide Also, in flowplayer the player will add an extra instance of the video (or at least the sound) each time you click the play button.I am really not sure why this won't work as expected, what am i missing here?Also, the volume controls won't work.URL....

View 2 Replies

Professional :: Streaming Videos Don't Play Properly With Adobe Flash Player 10.1?

Jul 13, 2010

After I updated Adobe flash player I noticed that videos I streamed did not play correctly.A video will begin to play but part way through it will freeze. It will indicate that it is buffering but it never finishes buffering and never continues to play, even if I refresh it.This occurs for several sites such as youtube, megavideo, and wisevid. This occurs for every browser I have tried (Firefox, IE, and Opera.) I also realized today that now iTunes cannot not download video either. When I try it says that parts of the files seem to be corrupted. I have uninstalled and reinstalled flash several times but that has not helped. I am using Adobe 10.1 (under version test it says it is WIN 10,1,53,64) and I have Windows 7

View 1 Replies

Media Server :: Set The Flvplayback Properly So That It Can Play Both Live And Recorded Videos?

Nov 19, 2010

I've read the reference here,but it seems to me that I can only make it work with live OR recorded videos.How can I make it work with both live AND recorded videos?

View 7 Replies

ActionScript 2.0 :: LoadVars() - Text File Loads Properly And Displays The Title Of The Mp3, But It Won't Play The Mp3?

Oct 22, 2005

I have on one file (player1.fla), a movie that plays MP3s from an array, which I specify in that movie. The code for that works just fine.I've duplicated the file and renamed it to a different one (player2.fla) so I could load the MP3s from a variable (array) on a text file. This way, to add more songs, all I would have to do is update the text file.

I changed the code around a tiny bit in the "player2.fla" file to accomodate for loading a text file, but nothing more.*My Problem* The text file loads properly and displays the Title of the mp3, but it won't play the mp3.The text file looks something like this: (just an example)

Code:
&songs=song1.mp3, song2.mp3, song3.mp3
&songTitles=my song1, my newer song, the third song

My script is very similar to this: (shortened; just an example)

Code:
lv = new LoadVars();
lv.onLoad = function() {[code]......

View 3 Replies

.flv Won't Display Properly

Jan 8, 2010

I have loaded a .flv in a Wordpress site KeepMachSpecialdotorgdotuk and used the following code - the sources have to be in different places. The video is only half loading (top half) in Safari and I think there's probs with IE.

[Code]...

View 1 Replies

IDE :: Swf Not Playing Properly?

Dec 24, 2009

This is sidd. i have problem with flash movie in website.

the problem is some time its playing good. but some times it is breaking. voice is breaking.

[URL]

View 1 Replies

CS3 Can't Get Characters To Embed Properly

May 7, 2009

I have created a dynamic text box which is used to put the length of a sound clip (which is worked out using AS2).

I want to use a font which isn't standard - VAGRounded, so I need to embed the characters.

If I select Family : VAGRounded and Style : thin then all is well. Ditto if I pick style:light but if I pick Style:bold or Style:black then the nothing displays

In my windows font folder all 4 appear to exist.

I notice that exactly the same appears to happen with the times font too (except some of the family options are different)

When I open the font-mapping box it tells me that there aer some fonts that I can't use but there is not list of what they are.

View 2 Replies

ActionScript 2.0 :: Properly Loading The XML?

Jul 22, 2009

I'm loading XML, but I'm having trouble making a for loop so that I can output into text fields my xml info.I use this to load and put into the output window. Eventually I will put it into a text field.What I want really to do is for flash to output a list. This is what I want it to look like.

PHP Code:

var newsXML:XML = new XML();
newsXML.ignoreWhite = true;
var output:String = "";

[code]....

If you look at this XML you will see that there are many different TOURNAMENTS. What I want is to have them all in a list.

View 1 Replies

ActionScript 3.0 :: Alpha Not Getting Set Properly?

Jul 13, 2010

I have a page with buttons and i want the buttons to grow on click, get bright on mouse over, get brighter on click, go back to original on mouse out (Unless clicked). Then I want the current selected button to shrink and return to normal alpha upon clicking another button. This is the code i have, and it works pretty well:

Actionscript Code:
import fl.transitions.Tween;import fl.transitions.easing.*;homeClip.addEventListener(MouseEvent.MOUSE_OVER,

[code]....

View 3 Replies

ActionScript 3.0 :: [CS4] Swf Won't Unload Properly

Jan 25, 2011

I have an application program that loads and unloads other swf into it. For example, I have 4 different swfs that are loaded and unloaded via:

[Code]....

They all load fine, but when it comes time to unload one and then load another, I get : Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. Everything seems to still work correctly. The next swf appears to load completely, so I assume it is that the previous swf is not completely unloading. Is there an eventListener or something that I should be using when unloading before I load another swf? I am loading and unloading the swfs like this:

[Code]...

View 1 Replies

CS3 : Can't Get Characters To Embed Properly

Sep 7, 2011

I have created a dynamic text box which is used to put the length of a sound clip (which is worked out using AS2).I want to use a font which isn't standard - VAGRounded, so I need to embed the characters.If I select Family : VAGRounded and Style : thin then all is well. Ditto if I pick style:light but if I pick Style:bold or Style:black then the nothing displays

In my windows font folder all 4 appear to exist.I notice that exactly the same appears to happen with the times font too (except some of the family options are different)When I open the font-mapping box it tells me that there aer some fonts that I can't use but there is not list of what they are.How can I please get the characters like bold to embed properly.

View 1 Replies

'If' And 'Else If' Conditionals Not Running Properly?

Jun 11, 2009

I've got a function which looks at movieclips (ball#_mc) which have been placed in a target zone (_ballPlaced[#] boolean). It then decides where to go on each movieclip timeline depending on which other balls have been placed in a target zone.Only the first condition is ever met, i.e. when all the balls are in a zone, they jump to their correct places in their timelines....however, it doesn't work for any of the other 'else if' conditions?
 
Here's my code...
 
// function to determine which video to play for each ballprivate function playVideo(event:Event):void            {                if (ball0_mc._ballPlaced[0] && ball1_mc._ballPlaced[1] && ball2_mc._ballPlaced[2] && ball3_mc._ballPlaced[3])                {                    ball0_mc.gotoAndPlay("BluYelRedGre");                   

[code]....

View 2 Replies

UILoaded Swf Not Displaying Properly

Jun 21, 2010

I've got a customized xml driven flv player that I have output as an swf. It looks and works perfectly[url]...

However, when that very swf file is called into another swf file via the UILoader componenent, those modifications don't show up.[url]... The red text is now white and the orange fade-up blinks black first.

View 4 Replies

ActionScript 2.0 :: Swf Not Preloading Properly

Apr 1, 2010

On scene 1 I have a preloader on first frame then the main mivi is on scene 2

When I simulate the download in flash API it works fine. But when it's online it waits until the swf is fully loaded then just plys scene 2

View 1 Replies

ActionScript 3.0 :: XML Not Functioning Properly?

Aug 5, 2010

My XML isn't exactly doing what I want. It's putting a lot of 'undefined' entries in my Flash file and it's not updating correctly and I don't know why it's doing that.Top square is add entry to XML, button square returns to the 'room'.

This is my Script:

ActionScript Code:
package
{
//Import Stuff
public class AddQuestionMenu extends MovieClip

[code].....

View 1 Replies

ActionScript 2.0 :: Swf Not Showing Properly

Jun 28, 2011

Normally this swf works fine if it is inserted in a html page but with this type of code it is not visible. I appended below the code to look into. The name of the swf is "cdl_flash.swf"

[Code]...

View 0 Replies

ActionScript 2.0 :: HitTest() - How To Properly Use It

Aug 18, 2005

I've been working on a drop-menu and my buttons are contained within a MovieClip. Problem lies with the rollOver(), rollOut() methods.

Whenever I rollOver, the buttons that are revealed dont fall unter the 'hit area' of the button that animates the movieClip. (If that made any sense)... so, after searching the forums here and stopping by Macromedia and searching their Knowledge base/Forums, I am convinced I need to use the hitTest() [MovieClip.hitTest()]I just dont know how to use this function/method, whatever you wanna call it. (What is it called BTW?)

View 7 Replies

Actionscript 3.0 :: XML Isn't Properly Formed?

Jan 10, 2009

i went through the ActionScript 3 XML Basics tutorial and had no problems initially.i get the following AS error in them:[code]and if i look at the raw XML from the source (URL...) and run w3c validator on it, everything's valid. but if i take the traced output of the xml from within flash and validate it i get similar errors about malformed xml. here's what the xml looks like inside of flash:[code] URL...

View 4 Replies

Can't Get Carousel To Work Properly

Nov 15, 2010

I am VERY green when it comes to flash and this is my first ever project. What Im trying to accomplish; *a website for myself that is "simple" and clean to be used as an art portfolio/gallery of my work. -three sets of buttons that go to three pages all with carousels that hold my artwork for that type (ie. press the concept art button and it loads page 2 where there is a photo carousel that containing my concept art pieces.
-clicking another button will then call for a new page with a new carousel (I have three types of art that I am showcasing: concept art, fine art, 3D game art)

I have managed to create a flash page that has my name and the buttons and upon pressing the buttons it goes to the page I need. However the pages are at the moment empty due to the fact that I cannot get the carousels to work properly. I have watched the tutorial and dl the class package on 3D carousels. I changed the .as file within the package so that my carousel will be vertical by changing imc.x = Math.cos(imc.angle) * 450; to imc.y = Math.cos(imc.angle) * 450;

[Code]...

View 1 Replies

IDE :: Movie Never Runs Properly?

Aug 31, 2009

The first time you navigate to it the movie never runs properly. One of the animations will only advance about half way along it's intended cycle, or else icons will be blinking visible and invisible, or a host of other things.

View 4 Replies

ActionScript 2.0 :: While() Not Working Properly

Apr 2, 2004

i tried following the duplicate mc tutorial, however the part on putting the code in a frame to get it to duplicate on load doesn't seem to work for me

here's my code in the frame:

stop();
amount = 5;
while(amount>0) {

[Code]....

apparently the clip only gets duplicated once where's the problem?

View 5 Replies

ActionScript 3.0 :: Play Multiple Videos (all On Xml File) To Play On Button Action?

Jul 14, 2011

I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
 
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....

View 1 Replies

ActionScript 3.0 :: Play / Stop Button - Current Audio File To Play The Next One

Feb 27, 2012

I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?

[Code]...

View 1 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

Media Server :: Stream.play (live_from_FMLE, -1, 4500, True) Got No NetStream.Play.Start?

Nov 5, 2010

I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".

On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.

With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:

info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.

View 3 Replies

Professional :: Can't Play Pogo's New Daily Hot Shots Game But Other Flash Games Play Fine?

Jan 22, 2011

I play games on Pogo and have never had a problem with their Flash Games until released Daily Hot Shots.  It doesn't load fully and I've done EVERYTHING I know to do to get it to play.  No errors show up.  I can play ALL the other flash games but this one.  When I right click, the name of the site's owners do not show up....I have the settings showing though Not all of the game loads and that's the problem.  I've tried uninstalling and reinstalling....tried a different browser and have the same exact problem.  THIS GAME WILL NOT PLAY.

View 2 Replies







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