[Flashcoders] Loaded Jpegs dissapear after loop

2006-08-23 Thread Brian Weil
I have a flash movie that plays a small intro text while a slideshow of 5
images are being loaded into 5 instances of a container movieclip. The goal
is to play the intro, then start the slideshow but when the last slide is
viewed, loop back to the first slide, skipping the intro text. I have the
movie all set up but when I loop back to the first slide the loaded jpg
dissapears leaving me with the empty conatiner. The loaded slides are always
on stage, just set to alpha=0 when the slide is not currently being viewed.
It's very simple code I just don't understand why the loaded jpgs dissapear
after the loop. Here is the basic code:

On frame 2
[code]
// load all slides
slide1.loadMovie(images/home/slide1.jpg);
slide2.loadMovie(images/home/slide2.jpg);
slide3.loadMovie(images/home/slide3.jpg);
slide4.loadMovie(images/home/slide4.jpg);
slide5.loadMovie(images/home/slide5.jpg);
[/code]

On frame 60 - LABEL:loopstart

On frame 810
[code]
gotoAndPlay('loopstart');
[/code]

The slides show up fine for the first viewing, but dissapear after the
playhead goes back to loopstart. The container MC shows up but the loaded
jpgs are gone. Is this a known behavior?

Thanks,
Brian

___
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] VitalStream Bandwidth detection

2006-10-03 Thread Brian Weil
Does anybody have code to detect users bandwidth on VitalStream? I'm using
the custom player source provided by vitalstream but it only works with
single bitrate streams. When I try to use a multi bitrate stream as the
sname parameter in the m_XMLURI string the player fails. Looking through the
source code I found some clues as to why it is not working, but don't have a
lot of time to debug the code and find the solution. I've been working with
VitalStream support on this and they are no help at all. They sent me links
to an irrelevent adobe tutorial as their solution.

Here is a fragment of code from that player that hints about bandwith
detection but also says it is not used?!!?

[code]
//the server calls this object to continue (auto bandwidth detection is
complete)
this[nc+i].onBWDone = function(p_bw) {
trace(onBWDone: +p_bw);
//we pass the successful netConnection and the
calculated bandwidth speed to
// the onconnected function to continue
this.mc.onConnected(this, p_bw);
};
m_payload = 0;
//this function is not currently used; it is for checking
bandwidth speed
// initiated by the server
this[nc+i].onBWCheck = function() {
trace(onBWCheck returning:
+(this.mc.m_payload+1));
return ++this.mc.m_payload;
};
[/code]

So my question is: Does anybody have a working (multi-bitrate streams)
example of a video player for the VitalStream content delivery system? They
have players that work with multi-bitrate streams in .swf format but do not
release the flv source for those players. 

Any help would be appreciated. A working .fla example would be priceless!

Thanks,
Brian


___
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] VitalStream Bandwidth detection

2006-10-03 Thread Brian Weil
 Hey Brian.  Can you give a little more info?  Are you passing a smil 
 xml file to the flv player or are you trying to detect based on the 
 bandwidth profile being returned from the server?

I think you would have to be familiar with the vitaltream service to really
understand my question. I'm using their flash streaming service and they
have a specific protocol for accessing the video stream. I'll explian the
service briefly:
- They host all of your .flv video content and mirror it worldwide and
stream using Flash Media Server.
- They offer two ways to display your .flvs: 
- 1. embed their pre-compiled .swf player by passing parameters to the swf
via html. 
- 2. a custom player where they provide the .flv source, you customize and
compile.

The XML file is telling flash the fastest mirror to connect and stream name
containing the flv files. This stream name works fine when there is only one
filename being passed but when multiple filenames are passed the code fails.
There is no bandwidth detection in their source code so it does not know
which stream to deliver. If anyone has created a custom VitalStream player
they may have already created this code. VitalStream will not release the
source code for their pre-compiled players.
I hope you understand this because I'm confusing myself trying to explain! I
can send you the player source offline if you want to take a look.

Thanks,
Brian

___
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] RE: VitalStream Bandwidth detection

2006-10-05 Thread Brian Weil
I solved this. This is actually part of the final solution. The problem is,
the code returns an empty value for onBWCheck and onBWcomplete never fires.
I finally discovered the key piece of code after a lot of trial and error.
There is a boolean being passed to the server in the following code:

//We have the stream, app and server, call the connect function
VSConnect(serverName, appName, true, streamName);

That third argument is a switch that tells the server to check the users
bandwidth or not. In the example provided by VitalStream it was set to false
so the bandwidth check was never performed by the server. Once I switched it
to true the variable p_bw does contain the users bandwidth and it was a
breeze from there. Just an if statement comparing p_bw to the bitrate of the
encoded .flv files. Now everything is working great. 

It's funny I had a support ticket open with VitalStream for about one month
going back and forth on this issue. They insisted that their was no
bandwidth detection in their code and I would have to write the code myself
but I could see parts of the bandwidth detection code in their source. It
was as simple as switching a variable from false to true to make it work. I
hope this helps someone else with the same issue.

Brian

 looks like bwcheck to me. i'd just use p_bw in a condition where p_bw is
detected bandwidth.

 if p_bw is less than than x play stream1, else if p_bw is greater than x
and less than y play stream2, else play stream3. 
ie. stream1=56kbps; stream2=150kbps; stream3=300kbps;

 i usually run the bwcheck on an interval several times and get an average
bw figure to go by and even dynamically change streams-- you can do it
seemlessly by bookmarking ns.time and seeking to it once new stream has
loaded.


___
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] FFMPEG - On2 VP6 support

2006-12-05 Thread Brian Weil
Has anybody successfully compiled FFMPEG with the On2 VP6 codec to produce
VP6 compressed flv's on the fly? 

I'm using FFMPEG on the server to convert videos to flv and deliver them to
my streaming provider. I'm trying to add VP6 support to the compressor so I
can get higher quality video files that VP6 produces. I believe FFMPEG uses
the Sorenson Spark codec by default. I've done a lot of research on google
and other video forums, but I can only find hints about doing this - no
cetain this is how you do it type of answers. There is a hint of support
here on the mplayer website: http://www.mplayerhq.hu/DOCS/codecs-status.html
(about half-way down the page you'll see On2 VP6 Personal Codec)

On2 has a server side solution for $3500 but I'm loking to do this much
cheaper. Is there any way to extract the codec from Flash 8 or Flix Encoder
and compile it into FFMPEG(linux)? Any other suggestions? 

Thanks,
Brian

___
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] RE: Seeking in a Progressively Downloaded FLV

2007-02-07 Thread Brian Weil
Jeff,

This can be done with some clever server-side code, a properly coded media
player and flv's with metadata injected. All the sources you need are here:
http://www.jeroenwijering.com/?item=Flash_Video_Player 
including a php implementation of the server-side script. Read his code for
that player and you will learn a lot.

If you don't use php you could do something similar in java, coldfusion(saw
a script smewhere) or .NET. Or use lightHTTPD as descibed here: 
http://blog.lighttpd.net/articles/2006/03/09/flv-streaming-with-lighttpd

For metadata injection there are a couple tools you can use:
http://www.buraks.com/flvmdi/
Or:
http://inlet-media.de/flvtool2

Also, read up on this for more background info:
http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-
take-two

This should give you a good start.

Brian

 Message: 5
 Date: Wed, 07 Feb 2007 10:20:07 -0500
 From: Jeff Harrington [EMAIL PROTECTED]
 Subject: [Flashcoders] Seeking in a Progressively Downloaded FLV -
   Return of
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1
 
 With Flash 8 am I correct in believing that if I add cue points to a FLV
 that I'll be able to seek within it even though it's being delivered via
 a regular web server?  How does that work?  Does the web server actually
 get a new request? 
 
 Thanks,
 
 Jeff Harrington
 [EMAIL PROTECTED]
 http://jeffharrington.org

___
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] * Paid Project * - FLV Player Skin, enhancements

2007-04-19 Thread Brian Weil
I'm looking for an actionscript developer to customize the flv player here:

http://www.jeroenwijering.com/?item=flash_video_player

All of the graphics are complete and I have a prototype of the skin working
with an older version of the source code, but need further enhancements
within a tight time line.

Here are the basic requirements:

1. New look and feel - graphics provided.

2. Modify fullscreen behavior. The player will be loaded into a flash
website and the fullscreen mode will be 640x480 contained in the same
flash movie. The fullscreen controlbar is slightly different than the normal
size controls. So it's actually two different player views.

3. Two playlist views. In fullscreen mode the playlist has larger buttons
and more info on each button.

4. The code must be clean, well documented and adhere to the MVC pattern of
the existing code.

If you are interested please contact me off-list and we can discuss in
further detail.

Thanks,
Brian

___
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] RE: Zombie symbol - can't get rid of some text

2007-05-09 Thread Brian Weil
Maybe you are not viewing the entire work area in the flash IDE? If the text
is not showing up in the library it may just be some accidentally pasted
text somewhere off stage that is not in a symbol.

Open the file in flash and go to View-Work Area then look around your
stage for the offending text. If you don't have view work area checked the
flash IDE masks the stage while your authoring.

Brian

___
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] OT: Extract flv metadata using php

2007-05-30 Thread Brian Weil
Does anybody know how to extract flv metadata using php(without ffmpeg or
other binaries)? I can do it on the client side with flash, but I'm
generating playlists via php and I would like to include the duration of the
movie in the playlist xml file.

Thanks,
Brian

___
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] RE: OT: Extract flv metadata using php

2007-05-31 Thread Brian Weil
Thanks everyone for pointing out flv4php. I looked at using that but there
are quite a few files and I'm trying to keep things as simple as possible.
Flv4php would be overkill in this case. I'll check out the flv module for
id3 and report back. I'm currently using ffmpeg to extract the info but it's
kind of clunky. I'd rather have a pure php method, Ideally a single function
or class file without a lot of other dependancies.

Thanks again,
Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan Reid
Sent: Wednesday, May 30, 2007 9:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] OT: Extract flv metadata using php

I found these while searching for a way to insert cuepoint data into FLV via
php, never did get very far though, I have not tried them myself, but if
your a php guy i'm sure you will be able to get something useful out of
them.

http://blog.netxus.es/projects/flv4php

looks like an flv module for getID3, it might very well be included, can't
be certain though...
http://getid3.sourceforge.net/source/module.audio-video.flv.phps

hope this helps some,
Dunc



On 5/30/07, Brian Weil [EMAIL PROTECTED] wrote:

 Does anybody know how to extract flv metadata using php(without ffmpeg 
 or other binaries)? I can do it on the client side with flash, but I'm 
 generating playlists via php and I would like to include the duration 
 of the movie in the playlist xml file.

 Thanks,
 Brian

 ___
 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] swfobject still preferred method?

2007-10-19 Thread Brian Weil
If you're already using a javascript framework check for swf support.
Mootools has this in the upcoming release:
 
http://svn.mootools.net/trunk/Source/Swiff/Swiff.js

No sense in using swfobject if your framework has it built in.

Brian

-Original Message-
From: [EMAIL PROTECTED] [mailto:] On Behalf Of Count
Schemula
Sent: Thursday, October 18, 2007 10:09 AM
To: flashcoders list
Subject: [Flashcoders] swfobject still preferred method?

Is swfobject still the preferred method of publishing flash files?

For some reason I thought I heard there was a newer project he was either
working on, supporting, or recommending?

--
count_schemula
___
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] lightweight AS2 combobox?

2008-02-22 Thread Brian Weil
Does anybody have a good, lightweight AS2 combobox? The default flash  
AS2 combobox is around 50k in an otherwise 5k swf. I just need to  
display the 50 USA states in a flash form and the added 50K is way too  
much.


Thanks,
Brian




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


[Flashcoders] Re: lightweight AS2 combobox?

2008-02-24 Thread Brian Weil
I realize it's not that difficult to make a simple combobox-like  
movieclip, but I do need full functionality like keyboard support,  
etc... It needs to function just like the browsers select element. The  
closest thing i've found so far are the Ghostwire AS2 component. Their  
combobox weighs 17KB  but those don't offer keyboard support either.  
If I had an extra day I'd create this myself but I don't! I wouldn't  
mid paying for the ghostwire component if it did what i needed.


Anyone else? Maybe a class that I could borrow from another AS2  
framework?


Thanks,

Brian


On Feb 23, 2008, at 7:03 AM, [EMAIL PROTECTED]  
wrote:



Message: 16
Date: Fri, 22 Feb 2008 17:28:05 -0500
From: eric e. dolecki [EMAIL PROTECTED]
Subject: Re: [Flashcoders] lightweight AS2 combobox?
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8

It wouldn't take much to get that working, unless you needed the  
keyboard to
work  solve any focus issues. if its a click to open, scroll   
select, you

can do that with a mc, your own scrollbar  a mask.

depends on how much functionality you really need.

On Fri, Feb 22, 2008 at 3:31 PM, Brian Weil [EMAIL PROTECTED]  
wrote:



Does anybody have a good, lightweight AS2 combobox? The default flash
AS2 combobox is around 50k in an otherwise 5k swf. I just need to
display the 50 USA states in a flash form and the added 50K is way  
too

much.

Thanks,
Brian




___
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] Re: I Must Be Asking This Question Wrong... (beno -)

2010-02-03 Thread Brian Weil
+1 Ban beno 


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