ActionScript 2.0 :: Slow Down Flow Player?
Jan 14, 2009
I am using the open source version of the flow player. I need to write some code or write a plugin for the player that allows the user to click on a button that will slow down the player and another that will speed up the player.
View 0 Replies
Similar Posts:
Oct 8, 2009
I just made a little site with CS3 where songs are supposed to stream and well the music player takes forever to load. Each song is supposed to be dynamically called by the actionscript but it looks like each song is being downloaded all at once when the page opens.
View 2 Replies
Jan 28, 2012
I recently created my first mp3 player in FlashCS5- fully coded with a countdown timer and audio meters for each channel. However, when I play the music- the audio meters only respond to the tick down of my timer. So in short- the meters only respond everytime the timer digits change. Have I missed something in the codeon what I need to do to make the audio meters more fluid with the music audio?Timer and Audio Bar Code:
import flash.utils.Timer;
import flash.events.TimerEvent;
var myTimer:Timer = new Timer(10);
[code].....
View 0 Replies
Oct 31, 2010
My project works fine in the flash player. However when I upload it online and try to play it in the browser it becomes slow to the point of crashing. It seems to work on chrome, it super slow on IE, and it completely crashes Firefox. It is difficult to debug since it takes a while for me to repetitively upload to the server. What would cause this kind of slow down? Could it be that I have a large number of embedded files using Flashpunk?
View 2 Replies
Jan 19, 2010
I am using a embeddable Flash based MP3 player (The standalone Version of Wordpress Audio Player, to be exact) to play audio on the web page of a client. Given the nature of Flash based players - AFAIK they all use Flash's audio/video decoding libraries - the exact player product might not matter, though. She complains that some specific audio files sometimes tend to play slowly, as if on a tape deck that doesn't run at full speed. Her machine is a 5 year old Sony Vaio with a 1.5 GhZ Pentium M Processor.
So it's not top of the line anymore but it should not have trouble decoding anything, let alone a MP3 audio stream. I can't verify the problem because we can't set up an audio connection (slow Internet on a remote island), nor can I reproduce it on my 3.3 GhZ dual-code Workstation, but this is a person whose error reports have seldom turned out unfounded in the past, so I tend to take them seriously. I see differences between the encodings of the MP3 files (see below). Any pointers towards which setting(s) to change?
This is what Winamp tells me about a file that is sometimes slow:
MPEG-1 Layer 3
128 Kbit, approx. 966 frames
48000Hz Stereo
CRC: Yes, Copyright: No
This is what Winamp tells me about a file that is never slow:
Encoder delay: 576, Zero Padding: 1584
MPEG-1 Layer 3
151 Kbit (VBR), 12405 Frames
44100Hz Joint Stereo
CRC: No, Copyright: No
View 2 Replies
Jun 5, 2010
I have problems with flash games and some advanced flash applications.Problems occurs regardless of browser.My computer is next:CPU: 2.8GHz hyper threadRAM: 1.5 GB (3 pieces)GPU: Nvidia 7600 GS Gigabyte.When it runs some flash game e.g. Facebook Pet Society, CPU load goes high as 80 to 100 %. It is very annoying thing since I am starting to loose my mind how to solve this.All other applications are running very good. This means games, 720p HD videos etc etc.
View 1 Replies
Jan 25, 2010
I am currently working on a Flash socket client for a pre-existing service/standard. The service uses TCP flow control to throttle itself and the Flash socket is reading in everything as fast as it can despite not being able to process it as fast as it's being taken in. This causes the bytesAvailable on the socket to keep increasing and the server never knows that the client has fallen behind.In short, is there any way to limit the size of bytesAvailable for a Flash Socket object or throttle it in some other way?
View 2 Replies
Sep 22, 2009
use CFC's via CF8 to interact with an Access db. In 1 screen of my Flash8 application, I have to update up to 7 rows in a table depending on whether a screen field was filled in and each of these updates is an identical activity. Ideally, my code might look something like this:
for(var i = 1; i < 8; i++)
{
if (fieldi != "")
[code]......
View 4 Replies
Apr 17, 2011
I must be missing a step. I've set up a text container and font parameters correctly, and I've selected multiple columns. The text, however, won't flow from one line to the next. I'm working from Classroom in a Book, Lesson 7, on Using Text. I've never encountered this problem before in other Adobe programs.
View 6 Replies
Jun 7, 2011
I am trying to get my text progression to flow right to left but flip it so that instead of tiliting your head to the right to read it you would tilt your head to the left. I had originally transformed and flipped the text box which worked for english text. But there is an option to change the language to chinese and when you do, the chinese character display upsidedown. Do you know how to handle that?
View 5 Replies
Aug 5, 2009
Something that is similar to the Cover Flow in iTunes.
I can use Adobe Flash, Flex, or pure html/javascript.
HOWEVER, I need a pointed to production ready code. I've looked at plenty of examples in both Flex and HTML that aren't ready for prime time. No demo code needed.
Here's my requirements for production ready:
1) Memory leaks are under control.
2) Works like a river with larger data sets, paging in sub-sets in some set number. The component/code needs to be able to handle 100+ items to flow through, preferable up to 500.
View 3 Replies
Jul 6, 2011
I'm stepping through my code to figure out why a certain function takes more time to run the first time it gets called than on successive calls. The code flow for each function call is the same up to when a dispatchEvent gets called. I'm pretty sure it's different afterwards, as that call takes a lot more time the first time around. Unfortunately, I have no idea which other parts of the code chew on this specific event and thus cannot step through the handling of such event.
The question: is there a way to either figure out who handles such events or magically step through the handling code without explicitly setting breakpoints there?
View 1 Replies
Mar 9, 2012
Specifically, I have a demo of a flash game (sort of super mario style). In it I have two types of weapon - a simple fire and big fireball. I reviewed the code in order to learn flash better [I am very new - since around monday this week].
I saw that the program has a variable that keeps track of the number of uses I have left in each weapon. I tried to review all the places this variable was used but I couldn't find where it affects the drawing onto the screen.
I even tried removing the variable declaration and then testing it - so I may find all references to the variable -- By the way any convinient way of finding all references to a variable/method/class [I am using ADOBE FLASH CS5.5]?
Also, I tried changing the variables starting value to "12" and I noticed that when I test the game, the weapon has 12 uses indeed.
So my problem:1. It seems that this variable is somehow affecting the drawing. Yet, I don't know how it does so since all the code I have found that uses this variable has nothing to do with drawing. It is all, logic, like
if(var <= 0){
var--;
} else{
return false;
}
Where is this influence coming from?get all references to a variable[like in eclipse ctrl+shift+g]?
View 1 Replies
Aug 17, 2009
I have a project where I'm loading some HTML into an HTML-enabled dynamic textbox, along with some images, using the img tag. The problem I have is that no matter what I do, the text tries to flow down one side of the image (depending on whether I have the image set to align 'left' or 'right'). I don't want this. I want the text to sit under the image, not flow around the side. I've tried everything I can think of, and I just can't seem to achieve this.
View 3 Replies
Mar 21, 2009
There's a lot of talk of how the new Event Flow makes for easier communication between classes.This sounds swell,but nowhere is it properly explained. Every example I find concerns dispatching events within the same class or looped through a customEvent, but I need a way to tap into this Event Flow for backward communication.I have a mainGUI document class that distributes my application subclasses.How do I set up a listener within mainGUI that gathers certain events from any of its children or grand-children? And how can I use this line to post object properties?
View 1 Replies
Aug 11, 2011
My goal is to shoot a bullet everytime I click on ship. What happens, in fact, is that If I click on it once, the bullet is shot, but if I click on it twice before the first bullet is off the screen, the first bullet literally stops(it does not disappear, only stops) and the second bullet is shot.
public var ship:Ship = new Ship();
public var bullet:Bullet = new Bullet();
stage.addChild(ship);[code]...
View 2 Replies
Nov 8, 2011
a couple of month ago i saw a picture showing the responsibility of the different actors in the as3 robotlegs frameworks. The picture was great for beginners who didn't know which actor is responsible for what task. It was like: "Do you want to bind a button to an event -> use the mediator"[URL]...
View 1 Replies
Feb 7, 2009
What is the proper OOP method of communicating between classes that are not on the display list?
For example: The Document class instantiates a new class just for loading in different XML files. This XmlLoading class should let the document class know when the xml has been loaded and parsed so that the interface can be built out.
From my understanding, events can only be listened to and dispatched through the display list, but since there is nothing visual with this xml loader, it doesn't make sense to me to make this class extend a sprite and add it as a child of the document class.
View 5 Replies
Jun 14, 2010
I've got 4 button images that drop in when the movie starts, and when you click on an image it loads in an XML image flow. Problem is, when I click the "go back" button, it goes to frame 2 to start over, but the XML gallery/image-flow won't leave the stage. Link is below, code is attached.I've been pulling my hair out for a few days now
View 0 Replies
Jan 5, 2010
I'm having a bugger of a problem that I can't seem to find the solution for. I have the following code block within my ActionScript:
Code:
myXmlLoader.addEventListener(HTTPStatusEvent.HTTP_STATUS,catchHttpError);
myXmlLoader.addEventListener(Event.COMPLETE, onXmlLoad);
myXmlLoader.load(new URLRequest(rssURL));
When the feed truly fails, then onXmlLoad never runs (or it breaks; not sure which; either way I don't have an issue). However, when the feed doesn't fail, both catchHttpError AND onXmlLoad run which creates a problem. I want to set this up so that its either one OR the other.
As I was looking into the properties of HTTPStatusEvent.HTTP_STATUS, I noticed that I can check status, but the problem is that status can either be 200 or 0 and this is not exclusive.
View 4 Replies
Jan 4, 2011
I m building a little application, im design the graphic in Flash and im using Flash Builder for the Programming Side. I have 5 MovieClip inside a Sprite (the container), and i want to listen for MOUSE.CLICK. I add the event listener to the Sprite, instead of one for MovieClip, and its working good like this.
What if inside the Sprite (the container) i have also a TextField and exclude it from the event flow?
View 8 Replies
Jan 27, 2010
An existing (though incomplete) FLEX3 project was given to us to finish (always a nightmare).It is quite small but highly abstracted (contains well over 150 files to support only about 10 page views). I'm attempting to trace a single mouseclick event through this maze.
Is there a way to print out an actionscript trace and/or component flow using the debugger (or any other tool that anyone knows of)? The flash.txt file appears worthless since it doesn't contain ActionScript calls and/or component flows.
View 3 Replies
May 16, 2011
I'm looking to simply append the following text to an existing spark.components.TextArea's text flow:
<b>something</b>: hello world
I have attempted to do this using the following code, but nothing happens:
this.textarea.textFlow.addChild(TextConverter.importToFlow(
"<b>something</b>: hello world",
TextConverter.TEXT_FIELD_HTML_FORMAT));
How can I accomplish this? I know in the old mx.controls.TextArea component, I could simply do:
this.textarea.htmlText += "<b>something</b>: hello world";
How can I do this with the new TLF/FTE API expressed in the spark.components.TextArea component?
View 1 Replies
Aug 13, 2011
say an application has panel and panel has button and textField or textArea. we click on a button to hit a service say via cairngorm framework.
The Events lifecycle follows the capture-target-bubble cycle in the display hierarchy like the MouseClick event on button will call the handlers for the listeners attached to button and/or panel and/or application and/or stage since the flow moves in this direction.
How do the event on non hierarchy works e.g the result from the service fires a custom event DataRecieved. we have a listener attached to the panel/button for this dataRecieved event. How do this listener gets the information? how the event lifecycle comes into this picture?
View 3 Replies
Aug 15, 2011
I made a little animation for a client. Its a repeating movement of a cat. The flash-file works great and shows an endless animation without interruptions. But after I integrated that animation, it plays the animation wrong. It sticks on some point. Heres the code and the link:
View 1 Replies
Jan 30, 2009
I have downloaded free version of itunesViewer and working on it. I found it was extensively using onEnterFrame which is taking lots of CPU, slowing the system.there's function 'controlTheObject' which contains onEnterFrame code. eliminate the use of onEnterFrame. Can there be other alternatives??
View 0 Replies
Oct 31, 2009
I'm laying out my code differently for my latest project. I am making a game, and I am keeping the Flash API stuff in a seperate class from the game logic.It's an aproach I've never tried before, and it's made me realize just how little I understand good OOP design.
what I'm trying to acomplish is this:
the Game class contains the step by step program flow of the game. it makes calls to a GameUtils class and DrawEngine class, these other classes have the Flash API stuff in themSo what is the best way to get the game class to control the other 2?
currently I have my program flow like this:
1. display splash image
2. add 'play' button
3. recieve click from button -->
[code]....
a more specific issue comes up at step 3: ..how do I have the game class progress without using a listener?I'm thinking of creating a method of the Game class that simply increments a step counter of a switch/case statement and keeping each step of my program flow in each case.
View 4 Replies
Nov 2, 2010
Im creating a viewing menu using the kind if fish eye method used from this site: [URL] (sorry for posting the link like that but sending the site is a lot easier than attatching all the files and I wasn't allowed to send a link till I had 50 posts, while I'm only on 5 now haha) I need to be able to stop the animation in mid flow so the selected image stays large while I move the mouse around, without a different image inlarging instead, and then have it moving again when I want. I am a complete noob to AS3 so I dont know if there is a simple way of doing this or if it's complicated.
View 0 Replies
Mar 24, 2008
I am trying to create a flow chart base application. where user can create connection from output node to input node.this connection is visible by using a line between nodes.I am trying to create a custom class for this functionality "outputDrag.as".There are some issues which I am not able solve here
Details
Yellow triangle = output node (outputDrag.as is attched to this)
Yellow circle = input node
problems
1. when user drag mouse from o/p node, an interactive line from o/p node to mouse pos
2. when user release on i/p node create a new line parmanently btw o/p node to i/p node
3. when user moves the root nodes(gray box and gray circle), parmanent connection btw them should redraw.
4. there is a simple class "drag.as" attached to (gray box node) to move it on the stage.if i attach this class to (gray circle node movie) and I press and drag mouse on yellow triangle, entire node moves. How can I prevent this dragging?In general if you have a movie, with simple drag class attached, how do you prevent dragging that if mouse is pressed on some particular child movies, it shouldn't drag.
View 1 Replies
Apr 19, 2009
I have to design this scroll bar. Whats special about this scroll bar "contents" it doesn't flow freely. If it stops in a certain position. It either scrolls a little bit up or little bit down so to say the beginning of a paragraph.. I tried using this if _y=min
View 1 Replies