Off the display list does not mean not playing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Ah - I remember reading about that - thanks, I'll give that a try.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
Ugggh - except that I can't publish to FP 10 yet - we're on CS3 (but moving to
CS5 in a few weeks)
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
Off the display list does not mean not playing.
Right, yeah, I understand that - sorry, I should have clarified that I am also
stopping the video as well. My code does the following when a video is
supposed to be removed before a new one is created and played:
1. The Flvplayback component
Hi all -
Have a weird situation in Flash CS5 and I'm not sure what the problem is, if
it's a bug, or a corrupted FLA.
Here's the scenario. I have two FLAs -- one brand new created by me, a second
given to me by a client.
In the first keyframe I have this in both:
var keyStr:String;
var
I am also using the FLVPlayback Component, but accessed the NetStream from
the component to close it:
this.video.getVideoPlayer(0).close();
this.video.getVideoPlayer(0).netStream.close();
I get a null error when I run that:
if (_flvPlayback != null)
{
Hi all, just upgraded from CS3 to CS5. Where do I put external classes and
libraries like TweenLite? In CS3 they were in: Adobe Flash CS3 Configuration
Actionscript 3.0 Classes ... but that path doesn't exist in CS5. Anyone
upgraded and can help? Cheers.
Keep one spot someplace where you keep all your packages (yours and 3rd
party). Then link to them there. If you want to use SVN, use that same spot.
Keeps things uncluttered. For project work where you have lesser-importance
or lesser-reusable code, slap those in your project directory to keep
That's the answer to the wrong question.
The truth is that the option is exactly where you are looking, just look
again.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Wherever you want. You need to specify class paths for projects in the Flash
IDE. Eric gave some good advice. Probably wasn't a good thing you had those
classes in an Adobe folder anyway. When you pass projects around, all the
associated code should travel with it, so create a project
This should work in CS5 as well: http://screenr.com/EK4
Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
On Thu, Sep 30, 2010 at 2:09 PM, David Hunter davehunte...@hotmail.comwrote:
Hi all, just upgraded from CS3 to CS5. Where do I put external classes and
libraries like
thanks for all your prompt advice. i'm ok with keeping my own classes and
packages local to the project. but i don't want to clog up my drive
unnecessarily with the same tween engine over and over. i have tried putting a
folder Flash_Packages in my Documents folder and linking to it in the
got it working. forgot to package my test class properly! idiot. thanks for all
the speedy and responses.
From: davehunte...@hotmail.com
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] CS5 where to put tween engines etc?
Date: Thu, 30 Sep 2010 18:39:11 +
thanks for
It's much better if you keep all classes and libraries local to the project,
even if it means 'clogging' up drive space with copies of the same thing.
This ensures that
A) projects are portable, as you can pack/move them all from the same source
without having to care about dependencies; and
B)
is the class you are trying to import inside the Flash_Packages/org folder?
Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
On Thu, Sep 30, 2010 at 2:39 PM, David Hunter davehunte...@hotmail.comwrote:
thanks for all your prompt advice. i'm ok with keeping my own classes and
It's much better if you keep all classes and libraries local to the project,
even if it means 'clogging' up drive space with copies of the same thing.
This ensures that
A) projects are portable, as you can pack/move them all from the same source
without having to care about dependencies; and
Well, I'm going to answer my own question here for I found the problem. It's
related to the new text field types in Flash CS5. Using the old 'classic' style
of text field makes them behave the same way. It seems as though those
newfangled text fields like to mess with all kinds of things.
On
Hello Jason,
I am using this to clear the FLVPlayback:
I have added the FLVPlayback component through code doing an addChild.
Then I have passed the custom NCManagerLimelight Class which overrites the
inbuilt NCManager class.
The NCManagerLimelight is an opensource code you will get from net.
Hi Jason,
Try to close the stream after stopping the playpack.
Cheers
Deepanjan Das
On Fri, Oct 1, 2010 at 8:14 AM, Deepanjan Das deepanjan@gmail.comwrote:
Hello Jason,
I am using this to clear the FLVPlayback:
I have added the FLVPlayback component through code doing an addChild.
Then
Thanks, tried that too. Seems the problem occurs if the user goes to look at a
new video before the previous video in the previous sprite starts playing.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
-Original Message-
From:
Hi Jason,
Could you set the code that starts the new video to check for a
boolean before playing a new video?
I am thinking you may already have this.
var isPlaying:Boolean = true;
and set this when a video actually starts playing?
Best,
Karl
On Sep 30, 2010, at 9:51 PM, Merrill, Jason
Could you set the code that starts the new video to check for a boolean
before playing a new video?
Well, thanks, but that isn't my setup. If I did that, then the new video would
have to wait for the old video (now not on the screen, the user told it to
disappear, but you still hear the
You might want to try to pause the video before stopping, unloading
and reloading
myVideo.pause();
That would stop the audio for sure. (I think)
Best,
Karl
On Sep 30, 2010, at 9:55 PM, Karl DeSaulniers wrote:
Hi Jason,
Could you set the code that starts the new video to check for a
Right here, tell it to pause then continue with your list. 1 - 8.
1. The Flvplayback component instance is told to stop.
2. Any listeners are removed from Flvplayback component instance
3. The Flvplayback component instance is removed from container
sprite's display list
4. The Flvplayback
Json,
Your logic seems to be absolutely fine, which suggests that the stream is
not getting closed even after deletion.
This happens sometimes when the player might be bufferring. So at this time
you might have stopped the video, but the steam is open, so when the
buffering in the background
Also try setting the playback component to null on deletion.
Yep, already doing that.
I has a similar experience and that got solved only by being able to close
the stream directly.
Thanks. Did you see my note about that?
I get a null error when I run that:
if (_flvPlayback != null)
{
You might want to try to pause the video before stopping, unloading and
reloading
Geez Karl, I think that might have fixed it... at least, since I added the
pause() before the stop() and everything else, I cannot reproduce the bug...
Stupid, you would think that calling flvPlayback.stop()
And for the archives or anyone listening, here is what my function looks like.
I'm sure a few things might be overkill, but if it works, it works:
public function destroyVideo():void
{
if (_flvPlayback != null)
{
(** Karl does the happy dance **)
On Sep 30, 2010, at 10:29 PM, Merrill, Jason wrote:
And for the archives or anyone listening, here is what my function
looks like. I'm sure a few things might be overkill, but if it
works, it works:
public function destroyVideo():void
UGhh,.. spoke too soon. Problem is still there. Though MUCH harder to
reproduce than it was before. See anything that could be better in the code
below?
_flvPlayback.pause();
_flvPlayback.getVideoPlayer(0).close();//close
the
Try pausing, stopping then closing.
_flvPlayback.pause();
_flvPlayback.stop();
_flvPlayback.getVideoPlayer(0).close(); //close the netstream
// Maybe also replace the above line with
//_flvPlayback.close(); //Kind of reaching on this one. :)
_flvPlayback.removeEventListener(VideoEvent.READY,
Is this line supposed to start with a _ underscore?
On Sep 30, 2010, at 10:47 PM, Karl DeSaulniers wrote:
flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED,
onMetadataReceived);
Karl DeSaulniers
Design Drumm
http://designdrumm.com
Disregard that last email. sry
On Sep 30, 2010, at 10:47 PM, Karl DeSaulniers wrote:
flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED,
onMetadataReceived);
Karl DeSaulniers
Design Drumm
http://designdrumm.com
___
Flashcoders
Try pausing, stopping then closing.
OK I'll give it a shot.
// Maybe also replace the above line with //_flvPlayback.close(); //Kind of
reaching on this one. :)
Yeah, lol, there is no _flvPlayback.close() method, but there is an
_flvPlayback.closeVideoPlayer(0); method - I'll try that too.
If it is a stream issue, maybe try loading a blank dummy stream just
before the actual new stream?
That should clear any data.
Karl
On Sep 30, 2010, at 10:57 PM, Merrill, Jason wrote:
Try pausing, stopping then closing.
OK I'll give it a shot.
// Maybe also replace the above line with
35 matches
Mail list logo