Re: [Flashcoders] FLVPlayback progress event listener

2006-06-19 Thread Sarah Plowright

Thank you so much for all your help, I got it working - ignoring the
ready event, which doesn't seems to trigger before the full buffer
time, I just use bytes loaded to tell it when to start:

stop();
skipintro._visible = false;
introflv._visible = false;

var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
gotoAndPlay('main');
};

listenerObject.progress = function(eventObject:Object):Void {
//getURL("javascript:alert('progress')");
var percent = introflv.bytesLoaded/introflv.bytesTotal;
trace(percent);
preloader.progressbar._xscale = percent * 100;
if(percent >=1){
introflv._visible = true;
preloader._visible = false;
skipintro._visible = true;
introflv.play();
}
};
introflv.addEventListener("complete", listenerObject);
introflv.addEventListener("progress", listenerObject);

introflv.load("DRIVERSPLASHLg.flv");

On 6/19/06, Sarah Plowright <[EMAIL PROTECTED]> wrote:

I am testing locally, although I assumed that since you can test other
progress loaders locally this would work - now that it's uploaded -
the progress bar is sort of working (at least it's called more than
once), but the ready event isn't triggering properly... it'll show the
first frame of the video, but it won't play for 30 seconds or so.

On 6/19/06, Steve Krichten <[EMAIL PROTECTED]> wrote:
>  From the help ...
>
> "Event; dispatched at the frequency specified by the |progressInterval|
> property, *starting when the load begins and ending when all bytes are
> loaded* or there is a network error. Default is every .25 seconds."
>
> So my guess is that you are testing this locally... loading an FLV file
> that is on your computer.  If so, what you are seeing is the expected
> behavior.  Since the video file is already on your machine, it loads
> instantly and the progress event will not fire once the video is
> loaded.  Try it with a file that is on a server somewhere and you will
> see what you are looking to see.
>
> -Steve
>
> 
> From: "Sarah Plowright" <[EMAIL PROTECTED]>
> Subject: Re: [Flashcoders] FLVPlayback progress event listener
> To: "Flashcoders mailing list" 
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I am really just starting to do video stuff, so i'm a little
> clueless.. I believe it's a progressive download. And the code doesn't
> seem to be being executed repeatedly, as the other flv events are
> behaving themselves.
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FLVPlayback progress event listener

2006-06-19 Thread Sarah Plowright

I am testing locally, although I assumed that since you can test other
progress loaders locally this would work - now that it's uploaded -
the progress bar is sort of working (at least it's called more than
once), but the ready event isn't triggering properly... it'll show the
first frame of the video, but it won't play for 30 seconds or so.

On 6/19/06, Steve Krichten <[EMAIL PROTECTED]> wrote:

 From the help ...

"Event; dispatched at the frequency specified by the |progressInterval|
property, *starting when the load begins and ending when all bytes are
loaded* or there is a network error. Default is every .25 seconds."

So my guess is that you are testing this locally... loading an FLV file
that is on your computer.  If so, what you are seeing is the expected
behavior.  Since the video file is already on your machine, it loads
instantly and the progress event will not fire once the video is
loaded.  Try it with a file that is on a server somewhere and you will
see what you are looking to see.

-Steve

----
From: "Sarah Plowright" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] FLVPlayback progress event listener
To: "Flashcoders mailing list" 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I am really just starting to do video stuff, so i'm a little
clueless.. I believe it's a progressive download. And the code doesn't
seem to be being executed repeatedly, as the other flv events are
behaving themselves.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FLVPlayback progress event listener

2006-06-19 Thread Sarah Plowright

I am really just starting to do video stuff, so i'm a little
clueless.. I believe it's a progressive download. And the code doesn't
seem to be being executed repeatedly, as the other flv events are
behaving themselves.

The FLVPlayback component is sitting on the timeline, and the
actionscript is on the timeline as well, on the same frame#

The full code I have is:
stop();
skipintro._visible = false;
introflv._visible = false;

var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
gotoAndPlay('main');
};
listenerObject.ready = function(eventObject:Object):Void {
introflv._visible = true;
preloader._visible = false;
skipintro._visible = true;
introflv.play();
};
listenerObject.progress = function(eventObject:Object):Void {
trace('progress');
var percent = introflv.bytesLoaded/introflv.bytesTotal;
trace(percent);
preloader.progressbar._xscale = percent * 100;
};
introflv.addEventListener("complete", listenerObject);
introflv.addEventListener("ready", listenerObject);
introflv.addEventListener("progress", listenerObject);

introflv.load("DRIVERSPLASHLg.flv");


The events ready and complete are behaving as expected, progress is
the only one that's misbehaving.

autoplay is set to false, buffer time is set to 20 sec.

Is there anything else that could be affecting it?

Thanks,
Sarah

On 6/19/06, Steve Krichten <[EMAIL PROTECTED]> wrote:

Are you using streaming video or progressive download?

Please explain the context of this code... How is your flash movie setup and 
where exactly is this code located?  Is this code perhaps getting executed 
repeatedly or going out of scope?

-Steve

-------
Date: Mon, 19 Jun 2006 10:48:06 -0400
From: "Sarah Plowright" <[EMAIL PROTECTED]>
Subject: [Flashcoders] FLVPlayback progress event listener

I have a feeling I'm missing something incredibly stupid...

I'm having problems with my FLVPlayback progress event listener -
everytime I test it, it pauses, then the the event is called once, and
my FLV starts playing. My code is as follows:

var listenerObject:Object = new Object();

listenerObject.progress = function(eventObject:Object):Void {
trace('progress');
var percent = introflv.bytesLoaded/introflv.bytesTotal;
trace(percent);
};
introflv.addEventListener("progress", listenerObject);

Shouldn't it be calling progress more than once? The docs say it's
called every .25 seconds.

Thanks,
Sarah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FLVPlayback progress event listener

2006-06-19 Thread Sarah Plowright

I have a feeling I'm missing something incredibly stupid...

I'm having problems with my FLVPlayback progress event listener -
everytime I test it, it pauses, then the the event is called once, and
my FLV starts playing. My code is as follows:

var listenerObject:Object = new Object();

listenerObject.progress = function(eventObject:Object):Void {
trace('progress');
var percent = introflv.bytesLoaded/introflv.bytesTotal;
trace(percent);
};
introflv.addEventListener("progress", listenerObject);

Shouldn't it be calling progress more than once? The docs say it's
called every .25 seconds.

Thanks,
Sarah
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] jerky tweens

2006-02-20 Thread sarah
Hi -

I'm trying to tween a bunch of arrows using MM's tween class (like the
many snow flake tutorials out there) This part is working fine. However,
when I add another tween on top of the tweening arrows, the movement of
the arrows becomes quite jerky, but will go back to normal briefly before
the first other tween repeats. Does anyone have any suggestions on how to
clean up my tweens? Would it be better if I wrote the tweens by hand?

Thanks,
Sarah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Working with Dynamic Text...

2006-02-14 Thread sarah
What code are you using to change the dynamic text box?

> I bet you are using Flash 8 and that the Dynamic text has Auto Kern
> checked
> ON. Try turning Auto Kern OFF. I have had this problem as well.
>
> Charles P.
>
>
>
> On 2/14/06, Juan Anzaldo <[EMAIL PROTECTED]> wrote:
>>
>> Hi, I have a problem with a galerie.
>>
>> the movie has a thumbnails section, I want to put a
>> dynamic text in each thumb in the rollOver event that
>> get a small title from an array.
>>
>> But when a test my movie it doesn´t appears,
>> when I change the text to static text it appears
>> correctly (but isn´t dymanic text)and if I trace the
>> value of the array, the value is correct.
>>
>> How can I solve my problem?
>>
>> I also try:
>>
>> Embed my text in a movie clip and doesen´t work
>>
>> Where can I read a good tutorial of dynamic text?
>>
>> tnx in advance
>>
>> Juan Anzaldo
>>
>>
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Background transparent ? is it possible

2006-02-10 Thread sarah
it is, just set wnmode to transparent. I use
http://blog.deconcept.com/flashobject/

or am i missing something? it's incredibly easy...

> Hey all,
>
> Just wondering if it is possible to make your background transparent. Or
> do
> have you have to do an elaborate fake out, ninja style?
>
> thanks in advance
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] How are these ads done?

2006-02-10 Thread sarah
You can do transparent flash in firefox, but you need to use a different
embed. These links aren't working for me at all in firefox (I just see
flat images).

> http://mlb.mlb.com/NASApp/mlb/index.jsp
>
> Does MLB.com play properly in Firefox?  There's a "Video Highlights"
> box to the right that extends down over HTML.  So far it has worked in
> all the browsers.  The Black History/WBC/Spring Training sections look
> to be static.
>
> Is this something similar to what we're talking about?
>
> On 2/10/06, Ben Smeets <[EMAIL PROTECTED]> wrote:
>> As far as I know, they are just transparent flash movies over the html.
>> They only work in IE though, since firefox does not support the
>> transparent background for flash movies.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread sarah
swapDepths can only be applied to movieclips. Put the textfield inside a
movieclip and then apply swapdepths to that.

-sarah

> Hello everyone,
>
> I'm using .swapDepths() on a textfield on the stage,
> that was not created dynamically, but was placed there
> from iside the Flash IDE.
>
> It's depth doesn't change and it remains negative.
>
> Is this how it should work?
>
> Thanks,
> Dimitrios
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] flash player 8 video/audio synching issue?

2005-11-09 Thread sarah
Hello,

I have a swf loading in and playing as video (not a flv, just a regular swf)
that was published in flash 6 (thought it may have been published in flash 7, i
have to check on that). we've recently upgraded to flash 8 at work and now when
i look at the site, the video is slightly out of synch with its accompanying
audio.. which is embedded in the swf file. it was a quicktime that was imported
into a fla and then published as a swf.

i haven't yet tried republishing the fla holding the video as a flash 8 swf, so
that might just fix it, but has anyone else had this happen to them or have any
advice?

thanks!

sarah

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders