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


Similar Posts:


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

Professional :: Flv With Player Skin Not Working Properly?

Jan 3, 2008

When I place a flv into a flash movie and apply a skin and publish everything, it works fine on my local machine, but when uploaded to a server the player skin will not show up, yet the flv shows up and begins playing. Has anyone encountered this before? Isthere a way to embed the skin in the swf instead of having it be

View 7 Replies

Professional :: Alpha Tween Not Working Properly

Jan 5, 2011

If I have this line of code:
var myTween:Tween = new Tween(contHolderMain, "alpha", None.easeNone, 0, 100, 100, true);
contHolderMain's alph value should move from 0 to 100 in 100 seconds, but it only take about 5.

View 1 Replies

Professional :: Images On Flash Not Working Properly

Sep 14, 2011

Here is the website: [URL]. If you visit the gallery, the images are sliding TOO fast and i have no idea why, They work fine if I test in the Flash.

View 1 Replies

Professional :: RTMP Netstream NOT Working With Latest Version Of Flash Player?

Aug 26, 2010

Let me preface this by saying: This is definitely a bug either with latest Adobe Flash Player or the streaming Media Server (in this case Real Helix):In the latest version of the Flash player (10.1.82.76) Code that worked  previously in version 10.1.53.64 does not work now. This is basic code to connect to an RTMP server (Real Helix) using Netstream class. NOW the video does not even display and there is no error message . THIS ONLY OCCURS in a BROWSER . Also I am using swfobject to display the flash and I tried with latest version and the old 1.4.1 version.

private function init():void  video = new Video();    NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0; nc = new NetConnection(); nc.client = this;

[code].....

View 2 Replies

Professional :: Dynamic Text Fields Not Working Properly In CS5?

May 27, 2010

In an attempt to use a dynamic text field on my page, and passing text to it such as..

question.text = "Sample text here"

..where the instance name of the dynamic text field is "question" ..I found that if I add another text box to the page as static text, but using the same font as the dynamic field, the dynamic field populates incorrectly.If I compile using CS4 it works fine, and if I break apart the static text in CS5 it works fine.I also found if I change the font of the static field to something other than that of the dynamic.. it works fine.However in further testing..if I place a second static text field on the page,the dynamic again breaks even if I use the different font as before.

All of these scenarios work fine in CS4, but in CS5 is causing my dynamic field to change to the same as my static text, or simply mixing letters and otherwise not displaying my dynamic text...I've tested on three systems here all with CS5 ...

View 1 Replies

Professional :: Var Loader - Event Complete Not Working Properly

Mar 6, 2011

I have confirmed to my satisfaction that the following code never triggers the Event.COMPLETE of var loader:

var loader:URLLoader = new URLLoader();
var req:URLRequest = new URLRequest(contact_url);
var variables:URLVariables = new URLVariables();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
req.method = URLRequestMethod.POST;
[Code] .....

However, it does in fact send the emails it is designed to send! Why doesn't it complete when in fact the work is done?

View 3 Replies

Professional :: Link Not Working Properly In Flash Banner

Oct 13, 2011

We have a Flash banner on the home page and each slide has a link to some other page. Everything works fine, exept in IE.
 
Basically what happens is that if you click on the banner the first time, the link will work fine and bring you to the new page. However, if you go back to the home page again, then the banner does not even present a link anymore (it will still work fine as far as the banner rotation is concerned - just no more links)..

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

ActionScript 3.0 :: H.264 .mov And NetStream.seek Not Working?

Apr 6, 2009

When working with MOV files using the h.264 codec and AAC sound I am unable to get netStream.seek to work correctly. No matter what argument I pass to netStream.seek it will always seek to 0. I have this problem on both a legacy as2 and a newer as3 video player I have built. Regular flvs work perfectly on both players.

View 1 Replies

ActionScript 3.0 :: NetStream Play Complete Still Not Working?

May 2, 2008

Hoped this would ave been fixed in as3 but this event does not always get triggered. Seems to be related to the encode. Anyways I would like to see others approach to this issue.

Currently I have place a condition in the NetStream.Play.Stop event to check if the ns.time is > the duration-1;

[as]
if (ns.time > duration-1){
playing = "complete";
}
[as]

I have noticed this does even work consistantly unless I change it to ns.time > duration-2.

View 1 Replies

ActionScript 2.0 :: NetStream.Buffer.Empty Not Working?

Jun 25, 2009

I have 9 videos in a gallery. Each one gets displayed in a custom video component. When you navigate to watch a new one a new NetStream is setup.I have 2 problems. Basically if you don't watch the video right to the end and when you select and watch a new one:1. a "buffering video" movieclip does not display correctly (or at all) indicating that NetStream.Buffer.Empty isn't working properly (maybe its referencing the previous movie ???).2. when the next movie is buffered and starts you hear a little split second glitch of sound (which sounds like its from the previous movie).

both these problems seem to indicate that in some way the previous movie is still lingering around and in some way needs to be 'flushed' away so that on the next movie the code to display the 'buffering video' message works properly and you don't get this legacy remnant of sound for a split second.At the beginning of the code for each movie I have placed:

ns.pause();
player.clear();
ns.close();

[code]........

View 0 Replies

ActionScript 3.0 :: [Q] FMS2 NetStream Publish Not Working?

Jul 28, 2007

I am trying to create a simple online recording via FMS2

Here is my coding:

Code:

NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;
var nc:NetConnection = new NetConnection();
var ns:NetStream;

[code].....

WHen I try to record a video via my cam (click the button "btnRec"), ... no error message comes up, but there is no FLV file (it should be "videoName.flv") has been generated in rtmp://localhost/test ?

View 2 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 2.0 :: F8 Play / Pause Clip Not Working With NetStream

Feb 6, 2009

I've got a play/pause movie on my timeline to control an FLV via NetStream. The idea is to switch from a play symbol to a pause symbol, but it's not working.[code]Clicking on the clip will start and stop the flv just fine, but the symbol switch doesn't happen. When I take out the ns code, just to check and see if the switch will actually work, there's no problem.What am I doing wrong? How can I get my clip to change from a play to a pause symbol?

View 1 Replies

ActionScript 3.0 :: MOV Files - NetStream.Seek Not Working Correctly

Apr 6, 2009

When working with MOV files using the h.264 codec and AAC sound I am unable to get netStream.seek to work correctly. No matter what argument I pass to netStream.seek it will always seek to 0. I have this problem on both a legacy as2 and a newer as3 video player I have built. Regular flv work perfectly on both players.

View 1 Replies

Media Server :: NetStream.Play.StreamNotFound Not Working?

Aug 3, 2011

I would like to have the possibility to detect when NetStream is not working (i.e. the name used in initialization can't be found on the server side). The StreamNotFound doesn't work at all. I've read that it's the fault of the Flash Media Server, which automaticaly creates new stream, if it cannot be found (of course it's an empty stream - what is wrong from my point of view). Is it true? If yes, can I disable it on the server side, so I could easily detect if the stream name is correct?

View 8 Replies

Actionscript 3 :: Netstream.seek() Not Working For MP4 Videos In Flash

Mar 11, 2011

I am implementing a video player in Actionscript and I need to be able to define the starting play time for the videos. Netstream.seek(pos) works for flv files but fails for H.264 files (the player starts playing the video from the beginning). Anyone knows what might be the problem? (I am using Netstream for this instead of adding a parameter with the starting time when I call the Netstream.play method because I don't have Flash Media Server).

View 2 Replies

NetStream Class - How To Detect If Working Video Attached

Jul 31, 2011

I'm building a video chat in flash and everything works really well, except for the part where I'm trying to detect if the other user is sending a working video stream. There's a couple of reasons why the other user isn't sending video.
-The other user got no camera
-The other user got a camera, but the camera is currently being occupied by another application(Skype, Photo Booth, Google Talk, etc.)
-The other user got a camera but hasn't allowed the use of his/hers camera.
(Other unexpected problems I guess...)

So how do I detect if the stream I receive from the other user is a black stream(because of the reasons above) using the NetStream class? The closest thing I have came up with is by adding a timer that polls the currentFps() function from the stream I receive from the other user. But so far this seems pretty unreliable because I might get currentFps() == 0 and show an error because of this even though I actually got video from the stream in some cases. The reason for this is because I poll the API every 4 seconds for the currentFPS function and let's say at 00:00:04 I get "no video" according to the poll but at 00:00:05 the video kicks in, and therefor I need to wait until the next tick until the error message disappears

This is what my current poll looks like
function subscribingStatusPoll(e:TimerEvent):void {
if (subscribingStream.currentFPS == 0){
error.text = "No video found from the other user...
} else {
error.text = "";
}}

This is the only hack I that I can come up with to detect this, but this is unreliable and I actually would prefer a way to instantly detect if the stream I receive got a working video attached to it.

View 2 Replies

ActionScript 3.0 :: URL Loader Not Working Properly

Jun 25, 2009

I'm trying to do in this case is populate a List UIComponent that I created with information that I get back from the PHP file. For some reason the loader.addEventListener(Event.COMPLETE, userOnLoad) isn't working and my program never gets any farther than that.

Here is my code:
import fl.controls.*;
import flash.display.Sprite;
import fl.managers.StyleManager;
DECLARATIONS
var backgroundArea:Sprite = new Sprite();
var loginArea:Sprite = new Sprite();
var userArea:Sprite = new Sprite();
[Code] .....

View 1 Replies

ActionScript 1/2 :: IsNaN Not Working Properly?

Nov 26, 2010

I've noticed that by using isNaN(number), it doesn't always return true when needed. In fact, by using:
 
var bool:Boolean = isNaN(parseFloat(numberStr));trace(bool);
 
It will return true with:

-sdfda
$%&$
asdf
 
BUT, false (when it should be true) with:
 
230asdfs
230sdfasd.50
 
It seems like the letters between the numbers aren't even considered and it returns false when it should in fact return true... If it starts with a letter, it returns true, otherwise, with a number, it's false...I need to check whether or not there are any non-numeric (except "dot") in the parameter "numberStr" (a String).

View 4 Replies

ActionScript 3.0 :: CS5 Preloader Not Working Properly

May 6, 2011

I've implemented an internal preloader in my project but it's not working properly. I use Simulate Download but the preloader only shows after something like 80% is completed, which sort of destroys the purpose of the whole thing.

import flash.events.ProgressEvent;
stop();
function preloader(progressEvt:ProgressEvent):void{
var totalBytes:Number = progressEvt.bytesTotal;
var loadedBytes:Number = progressEvt.bytesLoaded;
[Code] .....

View 6 Replies

ActionScript 3.0 :: UncaughtErrorEvent Not Working Properly

Oct 2, 2011

I don't really get UncaughtErrorEvent working for my Air 2.6 application. if i step through the code with the debugger, i get very strange results.that's the code:
 
public class Main extends Sprite{
public function Main(){
loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR,

[code].....

View 9 Replies

ActionScript 3.0 :: SWF Not Working Properly After Upload

Dec 29, 2011

I have a Flash gallery that works locally but not after upload.I added several photos to the xml file and only the original 8 jpgs are displayed.URL...

View 5 Replies

ActionScript 2.0 :: Preloading Not Working Properly?

Jun 30, 2009

I have a preloader in the first frame. The preloader appears only after 80 percent loading of swf.

View 0 Replies

ActionScript 3.0 :: Stop() Is Not Working Properly

Jul 6, 2009

The stop() is not working properly as if it were being ignored. I have even recreated a dummy flash document the stop() did work, however, it is still not working on the original design.

View 6 Replies

ActionScript 3.0 :: Droptarget.name Not Working Properly?

Aug 6, 2009

I'm setting up some objects connected to classes onto a movie clip dynamically, and although I'm setting the name fine, when I drag another movie clip on top of it and trace for droptarget.name I always get something like "instance01" what am I doing wrong?

View 4 Replies

Actionscript 3.0 :: URLLoader Not Working Properly?

Jun 26, 2009

i've been going over this code all day and I have no idea what's wrong with it. I'm doing a similiar operation a little higher and that one works so I have no idea why this one doesn't. All I'm trying to do in this case is populate a List UIComponent that I created with information that I get back from the PHP file. For some reason the loader.addEventListener(Event.COMPLETE, userOnLoad) isn't working and my program never gets any farther than that.

Here is my code:

Code: Select allimport fl.controls.*;
import flash.display.Sprite;
import fl.managers.StyleManager;

[Code].....

View 1 Replies

Flash Not Working Properly In Firefox And IE

Mar 4, 2011

I sorted this problem before, but it's back again.

Both of my animations work fine in firefox, but don't loop in IE.

ABOUT ME [URL]

KZX ANIMATION 2ND FROM BOTTOM [URL]

confirm that these animations don't loop properly in IE?

View 2 Replies







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