Actionscript 3.0 :: Dynamic Stream Interrupts Tween?
Nov 10, 2009
Am working with a video player that streames f4v from a server, and am trying to to a tween the GUI when hitting play. The tween start, but as soon as the dynamic stream starts player it interrupts the tween and it stops animating, I know you don't have the full code, but what could do such a thing? the dynamic stream class dont mention the word tween anywhere.
public function playVideo(e:Event)
{
hudTween = new Tween(_hudDisp, "y", Strong.easeOut, 0, 300, SLIDE_INOUT_TIME, true);
_ds.resume();
[code]....
View 3 Replies
Similar Posts:
Mar 9, 2010
I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
[Code]....
View 3 Replies
Aug 2, 2010
I'm trying to make this game and in trying to make it look more realistic, I'm trying to get the balloon to curve upwards before coming down and hitting the target. Is that even possible? Also, the target are dynamically created with random x and y points, so is it possible to make the end points the x and y point of that target?
View 1 Replies
Jun 3, 2009
This is a bump and additional thought. The leap to my 1500k file happens when initial bandwidth detection happens as bandwidth is high. Then the computer can not handle playback of a 1500k file. Is there a way to force the player to actually start playing the 300k stream before making any step up to a higher stream?[URL].. Bitrate of currently playing stream is displayed in big numbers on the page. To see the problem you will need an older laptop or computer which would have trouble playing back a a high bitrate video stream.
the stream is dynamically switching through the DynamicStreamItem list of the same file at different bitrates. It works but the switching seems to take way too long. When the default file at 300k loads, the bandwidth test happens and the 1500k file loads. Then on a slow CPU machine the file switches back down as it sees frames are being dropped. This switching is happening way too slowly, it takes a good 45 seconds to switch its way down through the various files from 1500k to 300k again on an old powerPC laptop which can only play successfully at that rate.
View 10 Replies
May 5, 2010
In my .smil file, if I put this line it works: <video src="sample.flv" system-bitrate="150000"/> But if I put the following line it doesn't work: <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/> Both video files are in the webrootvod folder. I am using the sample dynamicStream.smil code, so my syntax should be right.
View 3 Replies
Dec 7, 2011
I read all information from above and related all posts.Now my question/problem is,Can we use DynamicStream to access and handle live stream user's web camera instead of normal NetStream?Our application is like video conferencing.In our application user's stream is not being stored on server. It is just being published as live.Now when I publish user's webcam stream as "record" (in ns.publish("stream_name","record"))I am able to get the stream.But when I publish the stream as "live" (in ns.publish("stream_name","live"))the stream is not being retrieved. Even sometimes I get an exception in "DynamicStream.as" provided by Adobe
View 2 Replies
Feb 10, 2010
is there a way to start a stream, let it buffer, but pause it on the fast frame? (or not start it at all) the manual pause call is way to slow.
View 4 Replies
Jun 23, 2010
I have FMIS 3.5.I've installed it with pretty much all the default values.I haven't changed any of the settings in either the LIVE or the VOD applications.Dynamic Bitrate Switching is working well for VOD, but not working at all for LIVE streams.Doing a regular bandwidth detection on both the LIVE and the VOD applications give similar, high bandwidth results. However, the LIVE application NetStreamInfo.maxBytesPerSecond is showing a very low bandwidth capability of around maxBytesPerSecond = 19016, where as for the VOD its achieving around 637110.I can play a single LIVE stream of a high quality smoothly without any error.
I don't know if this is relevent but I'm getting some error messages occassionally in the log of the live application saying : Dropping application (live/_definst_) message. Clients not allowed to broadcast message.These messages aren't consistent, and don't coincide with trying to use bitrate switching.I have tried downloading the Adobe sample StreamSwitching. fla and it won't play the LIVE streams at all.Using the opensource Longtail Video player it just always defaults to the lowest stream.Here is an example: http:[url]....
View 3 Replies
Feb 22, 2011
As seen the tutorial [URL].. I have successfully implimented the steps. However the problem comes when the stream is disconnected and reconnected again due to network problems. Once the stream is reconnected the video stops coming, even though all 3 streams are succesfully publishing the stream to Flash Media Server but on the client side where I'm using OSMF media player the stream gets stops. Is there any setting that I need to impliment in the OSMF player to resolve this issue ?
View 1 Replies
Aug 4, 2009
if I repeat this IIS topic, I couldn't find the answer to my problem any where on the internet. I installed FMS Dev 3.5 on Win 2003 Server with IIS 6.0 enabled. I don't have any issue with port 80 Listening, I used the IP address 192.168.0.21 for my web application (IIS) and 192.168.0.22 for FMS (I only have one network card and port 1935 is open under firewall). I can play the sample videos (RTMP, HTTP, and Dynamic Stream) using the Flash Media Start Screen (or from the location C: Program FilesAdobe Flash Media Server 3.5webrootindex.html) without any problem.
I then modified the IIS Default Website to look at the "webroot" folder (C: Program FilesAdobe Flash Media Server 3.5webroot). From IE, I can access the default web site by enter http://192.168.0.21/index.html. The website loads up correctly, and the RTMP video is playing perfectly. However, if I click Play Video (HTTP) or Dynamic Stream (tab), I receive "Connection Error. Please press Play to try again." I look at the log file (access.01.log) and see the error log "Session disconnect
[Code]...
View 5 Replies
Feb 6, 2010
I'm creating a list of news items you can click on to open the news item.Each "open button" is created dynamically.I want it so when you roll over it runs a tween that changes the colour and when you roll off it changes it back.I found the code to do the colour change but the same tween class is being used for each button so if you roll out of one button onto another it stops the tween and starts again half way through.How do you define a tween dynamically for each button?[code]
View 1 Replies
Jan 26, 2011
I have a dynamic text which is subject of a motion tween. Before the tween starts I assign it a new text value. Now I noticed that at both the first and last keyframe of the tween the text value is reset to its design time value. Is there a way to avoid this, so that it retains the newly assigned value?
View 2 Replies
Jul 16, 2009
Can anyone tell me what I am doing wrong or don't know enough about masking to accomplish? Basically, I have a Sprite that serves as a mask. That sprite is populated with several small squares with tweens on them (using TweenLite).
[Code]...
This is my guess. Since each individual box is technically not on the display list, it is never rendered.Perhaps only once when you call the "container.addChild(box);" but other than that, it only displays it's old cache of the last render.
View 3 Replies
Nov 1, 2009
import fl.transitions.Tween;
import fl.transitions.easing.*;
var homemanTween:Tween = new Tween(homeman_mc, "x", Elastic.easeOut, 1000, 50, 3, true);//frist tween
var adobeTween:Tween = new Tween(adobe_mc, "alpha", Regular.easeOut, 0, 1, 3, true);//second tween
how can I animate the 2nd tween after 3 seconds when 1st tween stops.
View 9 Replies
Jul 22, 2009
saw various tutorials where dynamic fields had a motion teen effect. However If I tryto do the same, once I apply the motion tween the dynamic text becomes Graphic. How can I avoid this?
View 6 Replies
Feb 25, 2012
I have a method that takes a few paramerters and dynamicly adds three images to the stage it also adds a background image to the three images.I am trying to figure out the following: How can I tween in the background movieclip and on complete tween in the three dynamic movieClips? Can I have a function within a function that shares the same variables?
Something like the following:
public function addImages(BackGround:String,Image1:String,Image2:String,Image3:String):void
{
var symbol_class:Class = getDefinitionByName(BackGround);
var image1_class:Class = getDefinitionByName(Image1);
var image2_class:Class = getDefinitionByName(Image2);
[Code]...
View 2 Replies
Jul 7, 2009
if i made a text field in as 3. like
var blah:TextField = new TextField();
blah.text = "hi ya";
addChild(blah);
then i used a tween class and tried to alpha it out (fade out) it doesn't alpha out that text field.
View 2 Replies
Aug 26, 2009
I've got a movieClip containing a background and 3 dynamic text inputs, that I'm trying to tween via the tween class.When I apply the alpha tween, the background within the movieClip does fade to 0 like it should, but the dynamic text inputs do NOT.I was wondering if anyone could explain how I could get this working, so that an alpha tween to a movieClip also alpha tween everything within it. It was my understanding that the point of putting things into a movieClip was so that you didn't have to apply to each element of the movieClip.
View 2 Replies
Oct 12, 2009
I have been search for a few days for literature on dynamic instance name in referring to movieClips already on the stage. Each movieClip was set and displayed using the addChild(); and have a set instance name for reference ex. my_mc_x (x = number 1 - 10) I wanted to access these clips whit a tween
var image_assoc:String = ("my_mc_" + num);
trace("Instance Name: " + image_assoc);
I have tried the following
fadeTween = new Tween(this[image_assoc],"alpha",None.easeNone,0,1,1,true);
fadeTween = new Tween(this[image_assoc].name,"alpha",None.easeNone,0,1,1,true);
fadeTween = new Tween(getChildByName(image_assoc),"alpha",None.eas eNone,0,1,1,true);
dynamic reference to objects on the stage from a string that creates the object name to effect the instance of that object.
View 6 Replies
May 14, 2010
We have a flashcard application that loads the cards from an array (mysql database -> php -> flash), everything works fine when using a classic tween but when we try to apply a 3D tween to the cards we lose the dynamic text (font is embedded).
So before i spend weeks trying to find a solution i figured i would ask?
Can a 3D Tween be applied to dynamic text in CS4?
View 1 Replies
Aug 27, 2006
Been trying to apply Tween Class to a dynamic TextField (create by MovieClip.createTextField() function), but there is no luck, even though I put the dynamic textfield in an empty movieclip (MovieClip.createEmptyMovieClip() )and tween that movieclip doesn't work.
View 1 Replies
Jan 20, 2009
I'm working on a banner ad project where we're trying to send dynamic variables from one of our servers to position a movieclip that simply slides in from offstage and then does a little bounce. My AS2 frame script at the beginning of the tween sets the _x and _y properties of the clip successfully. But that seems to destroy all the movement of the tween. In other words, when I set those two positioning properties on the clip, it just sits there and no longer slides in or bounces. I've tried a lot of different values, but they all seem to kill the movement of the tween.
View 0 Replies
Mar 27, 2012
Im using the code bellow to draw a line:
Code:
createEmptyMovieClip("line",1);
line.lineStyle(2,0xFFFFFF,100);
line.moveTo(0,0);
line.lineTo(100,100);
How can I make the line to tween, from alpha 0 to 100 using AS2? I Tried TweenMax on "line" movieclip but it does not work.
View 1 Replies
Oct 6, 2010
i have a problem with tweening dynamic bitmaps:
-I have several .jpgs loaded dynamically (with listener for event.complete and dimensions of the original divisible trough 2)
-then I turn the content of the loader into bitmap (casheAsBitmap = false, pixelSnapping.NEVER, smoothing= true)
-scale the bitmaps (scaleX = ScaleY = 0.60) and put them on a container_mc (casheAsBitmap = true; AntiAlias.ADVANCED, PixelSnapping.NEVER)
- then I tween the container_mc using TweenMax from right to left on the x-axis.
View 1 Replies
Dec 4, 2010
I decided that this was okay but I wanted to change it so text/staff etc.would update dynamically from a text file. Got this working and moved on to simple alpha tween animation.I have several dynamic buttons that fade onto the stage perfectly. When the user selects a button a variable is loaded which updates the adjacent dynamic text box (within a MC). However, if I try to tween this text box, it goes to full alpha if I place stop() in the last keyframe.If I remove stop() it will loop and display correctly.
View 5 Replies
Aug 28, 2010
close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 Replies
Oct 8, 2010
Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?
View 1 Replies
Jul 26, 2010
I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
I'm running Windows XP service pack 3 & FMIS 3.5.
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
Here's my AS3 code...
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);
[Code].....
View 1 Replies
May 9, 2011
i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast
[Code]...
View 3 Replies
May 24, 2010
I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...
View 4 Replies