ActionScript 2.0 :: Preloading FLV With Cuepoints - Animations Slow To Start

Jan 7, 2009

This is the first time I have used a FLV with cuepoints. I have a flv which loads into my swf which I have added cuepoints to on import. I have a series of buttons over the flv and when you rollover these you skip to various points in the flv. This works in principal but in reality it is a little slow, especially when it first loads. I am assuming this is because the FLV is still loading (although I am testing this locally and it will never be used on the web). If this is the case I think I need to make sure the entire flv is loaded before i show it. Secondly, is this the reason the rollover animations are slow to start or is this an inherent problem when using FLV? Is there anything else I can do to make it more responsive?

View 3 Replies


Similar Posts:


Slow Down Single Cell Animations?

Oct 13, 2009

I'm new to flash and I'm working on an animation project for my class.I decided to do half of it as single cell animation and half of it using tweens and whatnot.The parts that are single celled are moving WAY to fast and are throwing off the flow with my tweens. It's a requirement of the project to have atleast 20 fps, and I don't have enough time to dedicate to drawing tons of more cells.For example, I have one animation made up of 40 frames and it needs to be stretched to about 100 frames.I've tried copying all of the cells into a movie clip and attaching a stop(); method at the final frame in the movie clip, then importing that into my movie and stretching it to the length i need, but it just runs at the normal animation rate and then stops until the timeline gets to where it's time for the next event or scene to take place. It sort of looks like i need to find a way to control the fps of my movie clip independently of the entire movie, but how would i go about that?how i could go about extending this?

View 1 Replies

AS3 :: Professional - Performance In IOS - Animations Run Really Slow (CS5.5)

Feb 18, 2012

I have created an app in CS5.5 for Android and iOS. I have tested on two Android devices and everyingthing works fine. However, on an iPad and iPhone the animations are really slow. Here are some more facts:

1) My project has many scenes and in the problems scene there are upwards of 1,200 frames. But even simple animations run slowly.

2) The frame rate is set for 24 fps.

3) I have created a universal app (iphone and ipad), publish resolution is standard at full screen.

4) Ironically, I have already tried caching as bitmap. That actually slowed my animations even more. I am truely at the end of the line here and don't have any possible solutions.

View 3 Replies

Slow Flash Animations After Few Hours Playing

Nov 24, 2009

I have recently developed a standalone Flash entertainment system, containing Flash games and screensavers etc., i have also included a third party mp3 player.
 
The problem i have is the PC is left switched on daily and the system is used quite heavily, i.e mp3's playing in background while screen savers are displayed and games are played.
 
Everything starts fine but after a few hours the flash animations slow down to about 2 or 3 frames per second, then the PC will finally crash.

View 1 Replies

ActionScript 2.0 :: Main Animations Slow Down A Huge Bit When Using Internal Movie (several Frames)

Jan 16, 2006

To try to avoid lag in the main animations (few ones, 5 I think), instead of having all the contents load as external movie clips in a movie clip called contentsMC (for instance), I used that contentsMC clip to contain them all, in several frames. There's no great problem in having all in one, since the contents are mainly text. The contentsMC shows up in a masked area inside the main movie clip.

I also have a transition effect, under that masked area.

When I press a button, it uses the command loadContent = #; And sets the transition effect movieclip play ( transitionMC.gotoAndPlay(1); ).

At the mid point of that transition effect (when it covers the actual content), it has the if conditions required to display what was asked.

if (loadContent == 1) {
_parent.contentsMC.gotoAndStop(1);
if (loadContent == 2) {
_parent.conteudos.gotoAndStop(2);

and so on.

However, when the transition effect is ocurring, all the animations in the main page become really slow, until it ends. Also, if I use anything inside the contentsMC, such as a scroll bar, the same lag occurs. That lag happens both with the always running animations (they are 5, I think) and with any other animation triggered during that, for instance by the onRollover effect of a movieclip.

To try to reduce that, I had set the framerate to higher values. First I set it to 50, then 60, and now it's currently at 90 (I only set it to 90 as it displays quite slower on the browser)

View 2 Replies

ActionScript 3.0 :: Get The Buttons On Stage To Start And Stop Different Animations

Mar 19, 2010

Im new to AS3 and I am trying to get the buttons on my stage to start and stop different animations. I am getting the following error from the "Mouse Trail" section.[code]

View 1 Replies

Professional :: Flash CS5 Very Slow To Start Up

Jun 9, 2011

My version of Flash CS5 has recently become very slow to start up, taking well over a minute sometimes.It appears to stall for the longest time during a loading process called "Loading Accelerators" (yes, very ironic).Mac Pro running Mac OSX 10.6.7 (Snow Leopard) and 14Gb RAM.

View 4 Replies

ActionScript 3.0 :: Back To Start Of Video Very Slow?

Dec 2, 2009

I have an instance of the flvPlayBack component on my stage called myVideo a list of links down the lhs is used to pop in the required video.If a user gets say 1/3 of the way into a video and the presses a different link for a different video then: the new video pops up but the seek bar is still some way into the new video there is a pause of around 1 sec the seek bar goes back to the start.I want to speed up the return of the seek bar to the start of the new video.

Here's some code:

Code:

function clickHandler(event:MouseEvent):void {
this.myVideo.alpha=1;
if (linkType !="http"){

[code]....

This might be wrong but do I need to somehow remove the reference to the "old" video before I set the source to the new one?If that's junk - and it probably is ...How can I speed the return of the seek bar to the start of the new video?

View 2 Replies

Professional :: Flash CS5 Slow Start Up And Crash On Snow Leopard

Nov 20, 2010

I'm using a new Mac Pro with Snow Leopard. We have Adobe MC CS5.I'm experiencing serious problems with Flash CS5. The program locks up at "Initializing Tools" for several minutes at start up. Once the program opens it will crash if I try to create a blank document. Other Adobe programs work fine.Flash CS4 worked fine on this computer.Anyone have any ideas on how to fix this? I've tried uninstalling and deleting all adobe documents from the configuration folders. It just seems like this machine is cursed or something.

View 1 Replies

ActionScript 3.0 :: Mouse Wheel Scrolling Slow To Start In Safari 4 On A Mac?

Aug 27, 2009

I am experiencing no scrolling below a certain scroll velocity on both mouse and trackpad on my Macbook in Safari 4.I have the mouse wheel events working on my mac through the javascript bridge from http:[url]..... I also have normalized the delta in my actionscript to be -2 if below 0, and +2 if above 0. Testing the delta on the javascript side, the mouse wheel at the slowest I can scroll it reads well above or below 0, and the trackpad reads around .025 to -.025... so I'm wondering why is it that Safari doesn't see this until higher speeds?Scrolling works, I just have to give the wheel some speed before it kicks in. It works perfectly in Firefox.

View 0 Replies

ActionScript 2.0 :: Image Start To Flicker And Cause The General Movement To Slow Down

Jan 6, 2010

I have an awkward problem with a carousel I have built. When the images are scaled down to give the 3d 'flipping' effect, they start to flicker and cause the general movement to slow down. Someone mentioned cacheAsBitmap.. .

View 3 Replies

Media Server :: Slow Stream Start Times / Or Server Not Found With FMIS Upgrade

May 7, 2010

I recently upgraded from FMS 2 - FMIS 3.5.Over our internal network videos stream like a dream!However, accessing them from outside our own network means that they take about 20 seconds to load, or sometimes just get a message saying the server isn't found.This wasn't a problem with the FMS2 and there have been no changes to firewall settings or anything like that since the old server was up and running without problems.I have the new server set to use exaclty the same ports, but wonder if there are some other settings which could be causing this?Networking isn't really my area of expertise, and I have no idea where to start looking to improve things.

View 2 Replies

ActionScript 3.0 :: F4v Cuepoints Not Working

Aug 10, 2010

I have an object that when I use an flv with a CuePoint, it all works fine. When I changed the flv out with an f4v, also with a CuePoint, the code does not work.[code]

View 2 Replies

ActionScript 3.0 :: Cuepoints Without Flv Component?

Aug 14, 2009

I'm creating a video player with closed captioning and navigation. Is it possible to as AS cuepoints to a video object and not a component.
 
Like this:
 
//Create video screen and position it
var vid:Video = new Video(320, 240);
vid.attachNetStream(ns);

[Code].....

View 2 Replies

ActionScript 2.0 :: Interacting With FLV Cuepoints?

Oct 22, 2009

First, I should mention that I haven't used Flash for years and I'm feeling a bit out of my depth.I've created an offline presentation for a client using ActionScript 2, authored with Flash CS3 (to run off a laptop).The presentation has an FLV (currently attached to the stage via the FLVPlayback component) which must play through it's entirety and at the end present 3 questions. Each question will present an answer once clicked. The user will then be presented with a "watch again" button which should restart the FLV from the beginning.

The second time the FLV plays back it should pause at 3 key points and present the user with questions and answers as before. Once the user has dealt with the Q&A's they should see a button to continue and the FLV should continue playing from where it was paused.I'm happy making the various interactive Q&A's, but have no experience of interacting with video. After a brief search in the web "cue points" look like the best tool for the job.

View 9 Replies

IDE :: CuePoints Work In Some FLVs, Not Others?

Mar 12, 2009

I am having an issue with setting CuePoints in a FLV that is not natively FLV. My code works on files that were exported directly from AfterEffects to .FLV. However, some of the video files I am working with are originally .MOV files. When I pass them through either Adobe or Flash Media Encoder, the CuePoints are not recognized. It seems very strange.

Here is the code, although the code works perfectly with native FLVs, so I don't think that is the problem. I'll put it on here just in case.

Code:
myFLVPlayBack.onRollOver = function () {
playHover.gotoAndPlay(2);
}

[Code].....

View 1 Replies

ActionScript 3.0 :: Add Cuepoints After Setting Source

Dec 2, 2010

I had to add the cuepoints after setting the source.Iam trying to use cuePoints on a flvPlayer component but it wont work for me.I have a flvPlayer 2.5 in my timeline (vid_mc) and this code:[code]

View 1 Replies

ActionScript 3.0 :: How To Create Reactions To CuePoints

Dec 14, 2010

I am having some issues creating reactions to CuePoints when using NetStream();. I can get what I want to work when the video is embedded directly onto the stage by using the following code:

vid.addEventListener(MetadataEvent.CUE_POINT, cp_listener);
function cp_listener(eventObject:MetadataEvent):void {
obj = eventObject.info.parameters;
for (key in obj) {
if (key == "CuePointName1") {
[Code] .....

The trace statement is returning the name of the CuePoint correctly, but 4 times like this:
CuePointName1
CuePointName1
CuePointName1
CuePointName1
Which I assume is why the if statement isn't picking it up.

View 3 Replies

ActionScript 3.0 :: Receive CuePoints With FLVPlayback Component?

Jan 25, 2010

I've been trying to get cuepoints out of my flv video with the following code without success:

[Code].....

View 1 Replies

ActionScript 3.0 :: CuePoints Using FLVPlayback In Projector Executable?

May 26, 2010

I have a Flash CS3 project that uses the FLVPlayBack component to play 5 FLV files. Each of the files has between 1 and 15 navigation CuePoints embedded in the video (MOV files encoded using Flash Encoder).

When I test the app using Ctrl-Enter from the IDE all works fine.

When I test the published projector EXE on the hard disk all works fine.

When I burn all the files to CD-ROM and start the projector EXE not all is fine.

When I click on one of my buttons that will navigate to the desired cuepoint within the FLV, it acts like it is unable to find the cuepoint and thus goes to the end of the FLV file.This is very annoying and I can not find anything listed anywhere. I suspect it has something to do with buffering or something because the CD-ROM is slower than the hard drive.When playing the video all I am doing is:

vidPlayer.stop();vidPlayer.source = "name of flv file";vidPlayer.play();

When I navigate to the cuepoint I am using the following:

vidPlayer.seekToNavCuePoint(cueName);

View 1 Replies

Actionscript :: Professional : Flash CS5 Dropping Cuepoints?

Jun 29, 2010

I've just upgraded from CS3 to CS5 and have discovered an annoying issue with cue points. When I open an existing FLA that has a movie with actionscript cuepoints and try to replace it with another movie (an updated version), Flash drops all my cue points and I have to re-enter them. Is there some way to prevent this?

View 2 Replies

Professional :: CuePoints Not Working Properly Netstream?

Jul 15, 2010

Im trying to get cuepoints working on an old as2 project.I have a netstream video component and want the cuepoints embedded in the FLV to trigger buttons to appear. I have embedded them as Event Cuepoints. 
 
ns.onCuePoint = function(infoObject:Object){    trace(infoObject.name);    if(infoObject.name == "CP1") {         trace("yes working");    }}; 

[code]...
 
This shows all of the cuepoints within the FLV. I cant figure out how to change the code to trigger actions WHEN the FLV hits a Cuepoint.

View 2 Replies

ActionScript 3.0 :: Creating Video Object - How To Add CuePoints

Mar 9, 2007

My question deals with adding a cuepoint in actionscript 3 using code. In flash 8, I made use of the FLVplayback component which included a method addASCuePoint(). In Actionscript 3, I am now using the standard method of creating a video object, except i can't figure out how to use actionscript to add a cuepoint. In the AS3 LiveDocs entry for NetStream , it list only event and navigation as cuepoint types. Previously there was a third type of cuepoint: actionscript.

Code:
public function LoadVideo(){
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
var vid:Video = new Video(320, 240);
[Code] .....

I am guessing one option is to create an onEnterFrame function that compares the NetStream.time to each value in my cuepoint array, and then do a addEventListener(EventType.ENTER_FRAME, onEnterFrame); Although this might work it requires my application to loop through my cuepoint array every single frame, which isn't really efficient.

View 1 Replies

ActionScript 3.0 :: Create A Flv File Thats Got Multiple Event Cuepoints

Sep 20, 2010

I used After Effects to create a flv file thats got multiple event cuepoints. When i try to use these cuepoints in Flash, it says :

[Code]...

81.88 is the first position where two Cuepoints are set on the same point of time. I named them 81.88a and 81.88b in After Effects but it wont make a difference. Each of these points has some important parameters (cornerpoint data) so that i need them all.

View 1 Replies

ActionScript 3.0 :: Skipping Between CuePoints In Custom Video Class?

Apr 25, 2009

I am creating a custom video class and was wondering is anyone knows how to turn cue points embedded in an flv into a time in an array.

I have tried the following but, although it doesn't give me any errors, it simply rewinds 1 second rather than skipping back to the correct cuePoint. I can't figure out why? :

Code:
public var _durationArray:Array = new Array();
public function makeArray(info:Object):void {
for (var i:Number = 0; i < info.cuePoints.length; i++) {

[Code].....

This previous code is amongst other code, which makes does things. Then in a new class I call it inside a function (which triggers fine):

Code:
_vidStream.seek(_durationArray[0].time);

View 1 Replies

ActionScript 3.0 :: Create A Function Which Will Search The Cuepoints For A Specific Time?

May 24, 2010

I have the following XML file structure:

Code:
<VideoData>
<CuePoints>[code]....

And I am trying to create a function which will search the cuepoints for a specific time, I'd also like the function to be re-useable, so I could just feed it a xml tree path and a search term then it would return a reference to the matching node.So far I have only managed to return what is in the node:

Code:
public class Search
{
public static var returnData:Array = new Array();[code].....

View 2 Replies

Calling Certain Animations In Other Animations

Apr 8, 2009

anywhoo i have minimal actionscript training tho i know a bit... im trying to make an Item system were i make an object like a key or a helmet... and if i collide with it it disapears. and i get the item, then somewhere put _root.playerMC.standing.gotoAndPlay ("item"); .. maybe in the item i dunno..

so basically i set my characters up like playerMC then in that animation i have a body head arms and legs.. and in those i have different items equipped on each body part on each frame how should i set this up!!!.. i cant call those items deep in the animation the farthest i can go is like Playermc.gotoandplay ("walk") when i try to do like.. playermc.walking.head.gotoandplay ("item") it doesnt work..

View 3 Replies

Media Server :: Read Or Extract Cuepoints Created Live With Nestream.send()?

Sep 17, 2010

Im doing live streaming directly from webcam like Ustream.TV. Im  using Flash Media Server 3.5, and I record cuepoints of broadcaster with  the method ns = new NetStream(); ns.send('functionName' , 'value'); I publish the content and record it in a .flv file. However when I  download this FLV file and extract the metadata with tools like  FLVTOOL2, or FLVMETA, the cuepoints that I recorded with ns.send()  method doesn`t show. I know they are there since when I play the FLV file in another client, I  can receive the calls for the 'functionName' in the exact time that I  call while recording. What I`m doing wrong? I would like to encode recorded video with Flash Media Encoder and  insert into it CuePoints that can call to the same function that I do  with live streaming. To do that, first I need to know how the CuePoints  are created and fixed into the FLV file that I record directly from  webcam. I need to know how they are stored to do it manually in Flash  Media Encoder.

View 19 Replies

ActionScript 3.0 :: Detect Cuepoints Playing From FLV Movie That Is Playing From FLV Playback Component?

Oct 9, 2009

I was wondering, what was the best way to for actionscript 3.0 to detect cuepoints playing from a FLV movie that is playing from an FLV playback component?

View 1 Replies

ActionScript 3.0 :: Once The User Clicks Start Again The Questions And Answers Arrays Start From The Beginning, Sort Of Reset Themselves?

Jun 21, 2009

i am making a quiz. My problem is that once the user completes the quiz and wants to start again the quiz is already on the last question. How do i make it so that once the user clicks start again the questions and answers arrays start from the beginning, sort of reset themselves.

View 1 Replies







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