Hello!
Because of some technical difficulties with the web server I happen to
have lost the e-mail from the last few days.
If you have tried to contact me via this e-mail address, please be so
kind and resend any communication again.
Of course, if you know people who tried to contact me in
Can anyone see why the callback events on the oLoadListener object in the
following class aren't firing:import mx.data.binding.ObjectDumper;import
mx.events.EventDispatcher;import mx.utils.Delegate;class TowerVideoPlayer
extends MovieClip {//
// RUN
function runOnce ( id )
{
trace( arguments );
}
// CHECK
function runCheck ( id )
{
if ( doneOnce [ '_' + id ] == undefined )
{
doneOnce [ '_' + id ] = true;
doneOnce.func.apply (null, arguments);
}
}
//
Hi,
I'd like to move few constants and functions my project is using
into a separate class, called Util. How could I please make them
importable, i.e. so that I could write just
import Util;
trace(SOME_CONSTANT);
instead of always prepending Util. in front of the variables:
Verso bvba, an Antwerp based Adobe partner specialized in RIA-development,
is looking for a contract and long-term as3/flex2 developer.
Requisite skills needed are:
- Strong Actionscript 3.0 and Flex 2 coding skills
- Experience in RIA development
- Proficiency with Coldfusion, JAVA,
The problem is that those properties are in another Class, and that's how
you have to reference them. You do have a few choices.
//
// VAR
//
The first is probably NOT what you want to hear - make a variable for each
of the constants.
import com.project.MyClass
var CONSTANT =
Short of someone giving you a better answer, I'd say no. Unless you write
something that took a class and put all it's static members in the current
scope.
Best to wait till someone else answers this though, I'm just guessing :)
Adrian
-Original Message-
From: [EMAIL PROTECTED]
You email lost it's formatting at my end. Try sending again.
Adrian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen
Ford
Sent: 04 April 2007 07:27
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] MovieClipLoader ...
Can anyone see why
Works fine here.
Allthough you should consider making the class the MovieClipLoader listener
object, rather than creating a seperate object (and
using nested functions etc..);
I also prefer initializing EventDispatcher outside the constructor (through a
static property), because then the mixin
The third is to define the variables before hand in a separate .as file and
include them ( like the VAR example above). This is really just a way of
compartmentalizing the code and doesn't really solve the issue. You're just
storing part of your code in another file and it's including that
Hello,
I'm working on the Syntax Highlighter pilot project.
I want to offer it as a part of Google Code Search service or as a
parallel separate service, so I sent a few mails to Google team;
absolutely no feedback followed. May be someone among flashcoders has
a contact in Google, so he could
a normal GET should do the trick as the caching is done with the browser.
On 4/4/07, Stephen Ford [EMAIL PROTECTED] wrote:
Hi,How do I preload video when the target player is 7?.The delivery
technique I'm using is progressive download.Should I be using a proxy SWF
to load an external FLV
On Apr 3, 2007, at 10:34 PM, john robinson wrote:
On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote:
I've got a bit of a question that I'm trying to wrap my head around.
Can Flash Media Server 2 take dynamic paths to FLV content?
As long as the path exists, then yeah it should be fine. I'm
On Apr 3, 2007, at 8:12 PM, Kerem İşeri wrote:
I couldnt find any software directly converts avi to flv better
then flash.
I am open for other ideas : )
FFmpeg is free and it also will do it just as well as Flash. It's
just tricky to use and get running, more so if you're on a windows
Does ffmpeg support VP6 flv encoding yet?
Last time I tried it (quite some time ago though) it only supported Sorenson
Spark H.263 flv encoding.
ON2 VP6 quality is superior to Sorenson Spark.
regards,
Muzak
- Original Message -
From: Jon Bradley [EMAIL PROTECTED]
To:
Hi!
I have an identical movie in a swf file and as a flv.
They loaddifferently but I was wondering if there is a way to match the
frames so that the flv goes to the same frame in the movie as the swf?
The only option I can think is doing it by hand, frame by frame. Are
there any other
Hi there,
A project requires me to create an app that enables people to upload .avi
and mov's.
These movies must be visible in the frontoffice.
Does anybody know how to convert .avi and .mov into FLV?
Or is there a better alternative?
Kind regards,
Tom
You might want to try ObjectSwap -
http://blog.neo-archaic.net/2006/04/25/objectswap.htm
Karina
-Original Message-
From: Matthew Ganz [mailto:[EMAIL PROTECTED]
Sent: 03 April 2007 17:20
To: Flashcoders mailing list
Subject: [Flashcoders] eolas fix for IE7
hi.
i've tried
We use the Flix Engine for one of our clients.
http://www.on2.com/developer/flix-engine-sdk/
jord
On 4/4/07, Tom Huynen [EMAIL PROTECTED] wrote:
Hi there,
A project requires me to create an app that enables people to upload .avi
and mov's.
These movies must be visible in the frontoffice.
Tools that I know can convert to FLV server-side :
Sorenson Squeeze using command-line or watch folder ($$$)
On2 Publisher (they ask to write for pricing so I don't know)
FFmpeg (free)
Check out this thread: http://www.jeroenwijering.com/?thread=152
Useful stuff.
On 4/4/07 9:07 AM, Tom
You might want to try ObjectSwap -
http://blog.neo-archaic.net/2006/04/25/objectswap.htm
If all you want to do is circumvent the EOLAS patent issue, and don't
care about player detection (and maybe if IE7 is hosing Flash player
detection, you don't WANT to worry about it :) ), then just write an
Yes. There is a way to On2 VP6 with FFmpeg.
I found this article when I needed to do automatic video encoding from a
drop folder.
http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html
Otherwise I use Sorenson Squeeze 4. It has the Sorenson Pro Codec which is
really nice if
You can preload FLVs with the NetStream and even see how big the FLV file is
as long as you've encoded it properly so that it has MetaData. I know that
if you do your compression in Sorenson Squeeze it'll inject the MetaData for
you, and I think most other tools do the same automatically.
Check
Preloading works super fine! Thank you very much for this class.
I am preloading a bunch of FLVs. Once they get at 100%, how do I access them
using a NetStream object (or other) ?
(I need to implement something that initates the playback of the first one,
when it reaches the end I must start
I'm loading xml with special characters. These display as their entity codes
i.e. as amp;. If I put enitity codes in the xml, I still get entity
codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!!
Screen Output:
Akbar amp; Jeffapos;s ActionScript Hut
my_xml.xml:
hut_data
Play with nodeValue. As a test add the entity code into the XML file and use
nodeValue:
// XML
hut_data
titleAkbar amp; Jeffapos;s ActionScript Hut/title
/hut_data
//
// AS
theClip.txt.text = xmlNode.firstChild.firstChild.nodeValue;
//
instead of:
// XML
hut_data
titleAkbar
On 4/4/07, Steven Loe [EMAIL PROTECTED] wrote:
I'm loading xml with special characters. These display as their entity codes
i.e. as . If I put enitity codes in the xml, I still get entity
codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!!
This:
You need to decode the entities first.
function decodeEntities(entityString:String):String
{
var x:XML = new XML(n+entityString+/n);
x.parseXML();
return x.firstChild.firstChild.nodeValue;
}
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools
try puttign this into your movie..
System.useCodepage = true;
On 4/4/07, Steven Loe [EMAIL PROTECTED] wrote:
I'm loading xml with special characters. These display as their entity
codes
i.e. as . If I put enitity codes in the xml, I still get entity
codes displaying on screen. What am I
Andrew,
nodeValue works! I don't even have to convert the special characters to
entities to have it display correctly. Thanks very much.
Next Question: Do you understand How/Why it works?
Thanks,
Steven
--- Rost, Andrew [EMAIL PROTECTED] wrote:
Play with nodeValue. As a test add the
Hi Steven
Try:
theClip.txt.text = xmlNode.firstChild.firstChild.nodeValue;
Jake
On 04/04/07, Steven Loe [EMAIL PROTECTED] wrote:
I'm loading xml with special characters. These display as their entity codes
i.e. as . If I put enitity codes in the xml, I still get entity
codes displaying on
Thanks for all your help. i put the wineback_btn in the first frame and set
the _visible to false and that works.
yeah, wasn't sure if this problem belonged in flashcoders. will send to
flashnewbies next time. thanks for helping regardless.
On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote:
Hello,
You could check if your XML file is UTF-8 encoded.
Then, if it still isn't working (it should...), you could try to put
the text in a CDATA tag:
hut_data
title
![CDATA[Akbar Jeff's ActionScript Hut]]
/title
/hut_data
hth,
Cedric
try puttign this
solved:
the problem was with a corrupt flash player. i've implemented the fix as you
described below, Jason, and i also implemented the swfobject fix. they both
work. my computer was on the fritz and ended up passing away this morning
and i'm back on a new one and all is working as expected.
The PreloadAssetManager class simply preloads your assets into your
browser's cache; it is not meant to be used for playback or managing your
FLVs once they're preloaded. There's nothing special that you need to do in
order to access the preloaded FLVs - just call them as you normally would
either
Did you even google this? There are many tools that convert to FLV
server-side.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Tom Huynen
Sent: Wednesday, April 04, 2007 6:07 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] FLV
Im just guessing but how about getting a percentage played of the swf
using currentframe and totalframes, then using that number to target
the matching playhead position in the flv.
On Apr 4, 2007, at 6:02 AM, Ellen Sundh wrote:
Hi!
I have an identical movie in a swf file and as a flv.
Ben you're doing the right thing by having MyClass contain the clip you load
rather than extend it. You can't cast a MovieClip (or any object) to a new
type that's lower in the class hierarchy than the original object.
Doug
-Original Message-
From: ben gomez farrell [mailto:[EMAIL
Seems like alot of hassle still to get vp6 encoding to work.
Furthermore the vp6 codec is no longer available from the ON2 website, so you
have to google it (and then grab it from some obscure
site that offers it for download I suppose).
I found the sorenson vp6 encoding to be *very very* slow
If they both have the same duration, then you can use the percentage from
the SWF and apply it to the FLV...
var swfPercent:Number = swfmc._currentframe / swfmc._totalframes;
flvNetStream.seek(flvDuration * swfPercent);
Should work.
On 4/4/07 1:42 PM, robert [EMAIL PROTECTED] wrote:
Im
On 4/4/07 2:56 PM, Muzak [EMAIL PROTECTED] wrote:
I found the sorenson vp6 encoding to be *very very* slow and stopped using it.
I had the same experience, and didn't see much of a difference compared to
the Flash 8 Video Encoder, which works must faster. FVE also dealt better
with alpha
Hi,
Has anyone used the Start:Number parameter from the NetStream.Play() method
?
There isn't much documentation from Adobe. I want to start the playback of a
FLV at, say, 5 seconds... So logically I would do:
netStream.play(flvPath, 15);
But it's always playing from 0...
Maybe that's the case... I'll try to find out via other technologies
such as JS or C.
I'll post whatever I find here.
Cheers,
Juan
On 4/4/07, Andy Herrman [EMAIL PROTECTED] wrote:
Is it possible the clocks on the PocketPC architecture just don't have
that much precision? If that were the
My guess is that you were just using the node itself instead of
getting nodeValue (basically using the toString() function). If
that's the case then toString probably gives the raw data in the file,
while using nodeValue does the full conversion of the data in the
node.
-Andy
On 4/4/07,
You're right the documention is *very* thin. Have you tried getting the effect
you're after with NetStream.seek(50)?
-Steven
--- leolea [EMAIL PROTECTED] wrote:
Hi,
Has anyone used the Start:Number parameter from the NetStream.Play() method
?
There isn't much documentation from Adobe.
Does anyone know if you're going to be able to call flash 9 CS3
components from
flex? Ala accessing a button component in flash 9 cs3 on the stage with
the flex framework?
That way if you load in a flash 9 cs3 movie you can access the rest of
the component set such as
a datagrid component
netStream.play(flvPath);
netStream.seek(5);
BLITZ | Steven Sacks - 310-551-0200 x209
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of leolea
Sent: Wednesday, April 04, 2007 12:20 PM
To: Flashcoders mailing list
Subject: [Flashcoders]
I have a main class that will act as a holder for the rest of my classes,
somethig like this:
//start sample
import com.views.*;
class com.Application {
var menuL: MovieClip;
var contentLL: MovieClip;
var footerL: MovieClip;
var mc :
Where's the code that has the motion tweens?
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Helmut Granda
Sent: Wednesday, April 04, 2007 5:14 PM
To:
Also, you are casting the same variable twice:
var target: Application;
public function Application ( target:MovieClip )
mc = target;
is target an application or a movieclip?
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia
Hello,
I am not sure I understand your question perfectly. If you are asking:
Will I be able to create components in Flash CS3 and then use them
inside a Flex application?, then answer is YES. We are working on some
things that will make this much easier, in the relatively near term.
-David
No workee.
Still plays from 0 and spits a NetStream.Seek.InvalidTime
On 4/4/07 5:05 PM, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
netStream.play(flvPath);
netStream.seek(5);
BLITZ | Steven Sacks - 310-551-0200 x209
-Original Message-
From: [EMAIL PROTECTED]
Both movies have regular scripted tweens. so that is why I am afraid they
are conflicting with each other
On 4/4/07, Merrill, Jason [EMAIL PROTECTED] wrote:
Where's the code that has the motion tweens?
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
majordan,
Thanks a ton! While I was hoping for some magical switch I could flick for
this ;-), this solution works well, though it took me forever to get working
in an AS2 Class file. I need to make another pass at my solution, but can
share the class if you have any interest.
Again, thanks
target is a movieclip, this helps me to instantiate the class in the place I
desire
for example:
var upsApp:Application = new Application(this);
var upsApp:Application = new Application(movie1);
var upsApp:Application = new Application(movie2);
Learned that this week :)
On 4/4/07, Merrill,
Thanks David,
That helps, however, I meant more of a workflow, like create the
animation in flash cs3 and
the animation has certain flash components in it, such as a datagrid at
the end of the last frame
or the flash animation has a few buttons in it on the side, along with
other types
you would have to play it till it call the metadata event first only then
you can start manipulating the stream, I would recommend to set the video
object to visible false and the set it to visible true on the metadata
event, then you should be able to seek it to any point
hth,
a
On 4/4/07,
Both movies have regular scripted tweens. so that is why I am
afraid they are conflicting with each other
Yeah, I mean, I'm not sure I can picture what:
the latest movie plays as
if the latest movie stealed all the motion Tweens and used
them leaving the first movie naked
looks like, but
You should probably try to post this in the flashcoders forum. A lot
more help available there.
[EMAIL PROTECTED] wrote:
There is 1 message in this issue.
Topics in this digest:
1a. Re: Set Visibility For Next/Prev Buttons
From: Bad Aegis
Message
target is a movieclip, this helps me to instantiate the class
in the place I desire
Right - so then to remove any potential conflicts, take out:
var target: Application;
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
This is very strange.
Calling the seek method inside the metadata event re-triggers the metadata
event, resulting in an endless seeking loop...
On 4/4/07 6:02 PM, Alon Zouaretz [EMAIL PROTECTED] wrote:
you would have to play it till it call the metadata event first only then
you can start
You have to wait for the ready event before you can seek. Read the docs
and it will all come clear.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Read the docs and it will all come clear.
Ah ha ha! That's hilarious.
___
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
Even if this will be possible, you probably should think about separating
animation from non-animated visual elements
(ui-components).
Why bring in a different framework if Flex already has one?
fl.controls.Button (CS3)
vs
mx.controls.Button (Flex)
Different package, but the same Button
Muzak,
I mainly just want to be able to access components such as a text
area and have it work in flex and flash and not have to worry about the kind
of text area I'm using if its flex or flash. They should both be able to
work together. Or a simple component such as a button, they should
Jason -
I'm pretty sure this is NOT in conflict, but still not good practice.
Since target:MovieClip is a variable local to the constructor, you just have
to access the class target:Application by using this.target. In this case,
the class's target:Application variable is never touched and
If you want to send me your files, I don't mind taking a look.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, April 04, 2007 5:27 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Combined Classes fail
I didn't meant THAT was the conflict he was seeing with the animation,
just that he shouldn't name it the same thing so he doesn't have
conflicts as he develops the class further.
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
-Original
sorry if i posted this before, i asked this question a couple of days ago
but never saw it come back in the digest, and it doesn't show up in the
archives search. although it did seem someone else recently asked nearly the
same question and nobody really knew. so let's try again.
i have some
I mainly just want to be able to access components such as a text area and
have it work in flex and flash and not have to worry
about the kind
of text area I'm using if its flex or flash. They should both be able to work
together. Or a simple component such as a button,
they should be
The main thing on this is if I load in a flash 9 cs3 swf with a textarea
created.
var t:TextArea;
I then try and reference this same text area from flex
var text:TextArea = myflashmovie.myClass.getText();
This would create a compiler error as the textarea would be the flex
framework and the
Thanks Muzak,How to best initialize EventDispatcher outside the constructor via
a static property ?How would you do
this?___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Thanks for the feedback guys, let me go back a little to explain why this
behavior. I am trying to implement the MVC Design Pattern to a item. Trying
to do it properly I am creating my Views as classes and now I wanted to
integrate them into my layout.
View 1 Class = menu
View 2 Class = content
Greetings all,
I've got a form type application in which I use a the NumericStepper
component from Flash 8 professional. We're asking users to rate a
series of items on a 1 to 3 scale. I've set the minimum value for all
instances of the NumericStepper to 0, the maximum value to 3 and the
74 matches
Mail list logo