Anthony Pace wrote:
Sure for the corporate environment, or cell phones, or tv, javaFX wil
kick flashes ass until adobe gets smart and gets rid of licensing
drawbacks
Good morning:
http://www.openscreenproject.org/
Cheers,
Claus.
___
Flashcoders
Hey Claus, one of the reasons I can't use it is because of its inability
to work with a .zip file created on Mac OSX. The other reason, is that
I've attempted to use it to write out a .zip file, and I can't get it to
produce a valid .zip file. I've even tried loading in a .zip, and then
saving
Mac Angell wrote:
Hey everyone! I'm trying to find a solid zip/unzip library for AS3. I've
done some testing with both FZip and AS3 Zip, and I've been running into
problems with both. So I'm wondering if there are any others out there
that anyone knows about that have been tested extensively.
I think this is the latest:
http://llvm.org/devmtg/2008-08/
See last presentation in list.
Cheers,
Claus.
ben gomez farrell wrote:
Hey, I'm on the papervision3D list, and was just discussing what physics
engines to use. A guy named Andy on there was talking about how
Box2DAS3 is great, and
An example is worth a thousand words.
public interface IBounce {
function bounce():void;
}
public class Balls implements IBounce {
public function bounce():void { }
}
public class Boobs implements IBounce {
public function bounce():void { }
}
var balls:Balls = new Balls();
var
Also, mind this:
var a:*;
trace(a);
// undefined
var b:Object;
trace(b);
// null
An Object can't be undefined.
Cheers,
Claus.
Ian Thomas wrote:
'*' means discard type checking
'Object' means 'treat it as type Object'
If you have functions:
public function getThing():*
{
return new
Dan Wade wrote:
Turning on popup blocker shouldn't block user initiated clicks that call a
js function to open a new window. Or, popup blocker should allow for a
simple getURL(url, _blank). I'm finding these calls are being blocked
some cases in Firefox on PC's with flash player 9.
The Flash
FWIW, Adobe is also going to open the .fla file format:
http://blogs.adobe.com/jnack/2008/03/flash_moving_to.html
Cheers,
Claus.
Cutter (FlashRelated) wrote:
All well said. One other nugget to add to this conversation: Adobe is
not open sourcing these proprietary formats, but rather removing
Merrill, Jason wrote:
Curious why not use AS3 instead?
I don't speak for the OT here, just a comment to your earlier comment
that AS3 made XPath obsolete. This is not really true.
It is true that with E4X you have almost the same functionality as
XPath, but E4X fails badly if your query
Ricky Bacon wrote:
Claus Wahlers wrote:
Merrill, Jason wrote:
Curious why not use AS3 instead?
I don't speak for the OT here, just a comment to your earlier comment
that AS3 made XPath obsolete. This is not really true.
It is true that with E4X you have almost the same functionality
Dunno if that has been mentioned, but if you are NOT a command line guy,
like me, and want a kick ass non-CLI SVN client, by far the best option
is TortoiseSVN, which afaik is only available for Windows and beats the
crap out of everything else i've seen.
This one tiny software is the main
Claus Wahlers wrote:
Dunno if that has been mentioned, but if you are NOT a command line guy,
like me, and want a kick ass non-CLI SVN client, by far the best option
is TortoiseSVN, which afaik is only available for Windows and beats the
crap out of everything else i've seen.
This one tiny
Dwayne Neckles wrote:
can anyone say why dictionary is better than array.. Im seeing it
used in alot of papervision examples and i dont get why? I will
research this on my own as well..
Keys in an Array can be numeric, strings, or both:
var a:Array = [];
a[0] = something;
a[hello] =
Using Delegate is just one of those best practices and should be used at all times,
even if it kinda works without.
+1
Also, Omar *might* want to refactor his code later. Using Delegate he
likely won't run into any trouble.
Cheers,
Claus.
___
var letter:Array
This should be
var letters:Array
Cheers,
Claus.
___
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
Pedro Kostelec wrote:
Thanks, but there is still the other error
1120: Access of undefined property letters.
var randomIndex:uint=Math.floor(Math.random()*letters.length);
This code works for me:
var letters:Array= [A,B,C,D,E,F,
G,H,I,J,K,L,
M,N,O,P,Q,R,
S,T,U,V,W,
X,Y,Z,];
function
import mx.utils.Delegate;
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = Delegate.create(this, onLoadXML);
xmlData.load(gallery.xml);
function onLoadXML(success) {
if(success) {
trace(xml Loaded);
proceed();
} else {
trace(xml Not Loaded);
Apparently the flash 9 cs3 compiler uses the same compiler so I dont see
why this couldnt be done to integrate parts of the flex framework
components into flash. That would be awesome.
That's not as easy as it sounds. Base classes work differently, styling
works differently, etc pp, Flash
) {
greater = arr[i];
}
}
trace(greater is + greater + \n);
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options
I'd like to be able to find the VISIBLE height and width of those
SWFs; however _width and _height return the size of ALL the masked
content.
Can't you just check the width/height of the mask?
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br
,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you
?
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo
);
graphics.lineTo(30, 30);
graphics.endFill();
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
--
READ CAREFULLY. By reading this email you agree, on behalf of your
employer, to release me from all obligations and waivers arising from
any
focusRect
and displays a custom one.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
--
READ CAREFULLY. By reading this email you agree, on behalf of your
employer, to release me from all obligations and waivers arising from
any and all NON
somewhere else.
Anyway. Its for flash MX. And I'm using Flash 9. Is anyone aware of
something more recent.
I'm working on DENG 2.0 (Actionscript 3). It might take quite a while
yet though..
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus
the way he ran Flashcoders in the early days
Can you elaborate?
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
--
READ CAREFULLY. By reading this email you agree, on behalf of your
employer, to release me from all obligations
translate to US$ 31k a year.
Never trust statistics that you didn't fake yourself. ;)
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your
request to the server. And with FZip
you have access to files while the zip is still loading.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your
.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo
complete, not very fast), but it might satisfy your needs.
http://deng.com.br/
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http
. Security always belongs on the server side.
Aggressively use good encryption (public/private keys) and monitor the
game progress, if the potential damage justifies it.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
frames until Stage size is
reported correctly.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman
strict typing everything, and I mean everything.;
emailSignature:String = HTH, + newline + Steven;
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Syntax error.
Cheers,
Claus ;)
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
, in
preparation for AS3 where strict typing has a very noticable improvement
in speed, I am strict typing everything, and I mean everything.;
var emailSignature:String = HTH, + newline + Steven;
trace(emailBody + newline + emailSignature);
trace(Cheers, + newline + Claus ;));
--
claus
, and Boolean values are compared by value.
Objects, arrays, and functions are compared by reference.
A variable is compared by value or by reference, depending on its type.
Availability: ActionScript 1.0; Flash Player 6
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
to create a SWF on the client
that wraps your mp3, and then push it into Loader via loadBytes.
This may get you started:
http://www.flashcodersbrighton.org/wordpress/?p=9
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
documents. In your CSS, just include the fonts Linkage Identifier in the
list of font families, like here:
div { font-family: my_embedded_font, Arial, sans-serif; }
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
source
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you
users embed your
SWF into MySpace profiles, as MySpace prevents all Flash-Javascript
communication: enableJavascript=false allowScriptAccess=never
allownetworking=internal
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
DENG, please let Adobe know.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
for the noise.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
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
, i would
guess not), and a lot of injected metadata.
I cleaned only the metadata and the resulting SVG is 52k. If you
compress that, you end up with not even 5k. Not too much i guess, given
that the SVG itself seems not very optimized.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http
Player can't resolve 301's.
Can i manually eval 'http://tinyurl.com/k23u4' somehow?
Maybe you could hand it over to JavaScript via ExternalInterface, and
then in JavaScript do some Ajax magic (send a HTTP HEAD request) and
send the real URL back to Flash?
Cheers,
Claus.
--
claus wahlers
video src=rl512k.flv
system-bitrate=512000/
ref src=rl256k.flv/
/switch
/body
/smil
SMIL xml parsing weirdness.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders
Everything comes across fine but that one attrubute.
You probably did .attributes.system-bitrate.
Both .attributes.system and bitrate are undefined.
The - then converts it into a Number, thus NaN.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
]
RewriteRule ^(.*)$ http://whitehorsemedia.com/$1 [R=301,L]
Alternatively, google for crossdomain.xml, or strictly use relative paths.
Cheers,
Claus.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your
);
zip.load(request);
}
private function fileCompleteHandler(evt:FZipEvent):void {
var file:FZipFile = evt.file;
trace(File loaded: + file.filename)
trace( + file.sizeCompressed);
trace( + file.sizeUncompressed);
}
[1] http://blog.brokenfunction.com/
--
claus wahlers
Number.toString() is a little borked.
Meister Skinner explains it here:
http://www.gskinner.com/blog/archives/2005/12/source_code_tra.html
Cheers,
Claus.
Jeroen Beckers wrote:
var n:Number = -16777216
trace(n.toString(16));
Gives me:
-100 ?
Claus Wahlers wrote:
pixel = -16777216
Merrill, Jason wrote:
-16777216 is 0xff00 (solid black)
I thought solid black was
0xff
16777215
That'd be white. 0 is black. The additional 'ff' in the highest byte is
the alpha value (returned by getPixel32).
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
is
the alpha value (returned by getPixel32).
--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
that are equally qualified. I honestly don't think they are
*that* off with their requirements.
They could have put that Detroit (or US/Canada) requirement in the
subject though.. ;)
(This is my first and last comment re: job postings on this list. Keep
'em coming, i don't mind)
--
claus wahlers
pixel = -16777216
-16777216 is 0xff00 (solid black)
Try to trace pixel.toString(16)
Cheers,
Claus.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://www.dopelogik.com/flash/snakes_in_a_class/
this._snakes.push( snake ); // BUG!
Cheers,
Claus.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
In HTML enabled TextFields, the content of href in a href=.. has a
128 (or something) character limit.
Cheers,
Claus.
Aaron Hedquist wrote:
Hello,
I have a node that is being parsed by Flash, then used as a .url text
link. However the link that opens up once you export the flash is being
Gregory,
The latest Flash IDE is the Flash 8 IDE.
The latest Flash Player is Flash Player 9.
The Flash 9 IDE is currently in public alpha test, and can be downloaded
from http://labs.adobe.com/ (You need a valid Flash 8 IDE serial number
to run it though). The new IDE is expected to be
Right now there's several things that could be done with this that
I can think of. Like Claus said, a tool could be created that
takes regular zip files and adds checksum info without damaging
compatibility.
I already have a class ready that correctly parses a ZIP archive..
Stay tuned!
Right now there's several things that could be done with this that I
can think of. Like Claus said, a tool could be created that takes
regular zip files and adds checksum info without damaging
compatibility.
A quick progress report, just in case somebody is interested:
We kinda got it
Max,
not sure if this helps but it's worth a try.
I was trying to uncompress files from zip archives a while ago. The most
common compression method used in zip is deflate (as you already know)
so theroretically it shouldn't be a problem to uncompress() files in a
zip, BUT.. the thing is,
ryanm wrote:
Imagine compressing XML files to a tiny fraction
of their original size and decompressing them within flash!
No need, you can do this now. If you gzip a file and send it via post
response (sendAndLoad), the browser will decompress it for you
automatically
A possible use case:
ryanm wrote:
To me, the most useful thing would be a a standardized implementation,
so that it could be compressed at runtime or in advance, so that it
can be used with packages like you were describing, or individual
(possibly dynamic) files compressed by the server. Something
like that
Doesn´t haXe www.haxe.org address this issues ?
No, we're talking about a clientside ECMAScript interpreter/compiler
written in AS3.
Cheers,
Claus.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
I made a decision to go with a low price point for specific reasons that may
not apply in every case. Also, I'm not that worried about clients balking
when I eventually raise rates. I'm pretty confident in my ability to make
myself indispensible. :)
Another thing I've done is offer a New
Rather, I meant making *my services* indispensible -- i.e. doing such a
strong job that the client can't imagine doing the next project without me.
I'm sorry Adam, i misinterpreted that. We're on the same page then :)
cheers,
Claus.
___
That's not true. You can license the Flash Player source code.
PS, Mike, last time i researched Flash Player source licensing,
Macromedia redirected me to Vibren Technologies:
http://www.vibren.com/Eng_Solutions/macromedia_engineering.htm
Maybe that helps,
cheers,
claus.
Still, I imagine a subscriber would require a very
good excuse as to why they required the source :-)
Not really.. A subscriber requires to afford the licensing fee. ;)
cheers,
claus.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription
As a thought, though. Is there anyone out there who even thinks they
have the skills to develop there own Flash player? The way I see it, so
long as it doesn't directly read the SWF format, there would be no
license infringement! And one could always create a third party file
converter ;)
Wouldn't having full www support for html in Flash mean building in a
browser. Not too likely I think.
What about a component in Flash that allows the display of a web
browser window in a flash document, using the browsers functionality.
I wouldn't know where to start, but it would be cool.
I haven't seen the HTML
capability, but it's obviously possible to write a
browser, or a subset of a browser in actionscript.
http://osflash.org/deng/
cheers,
claus.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search
I need to explain XML namespaces to several marketing people
think phone numbers
my phone number is 1234-5678
in a different state though, this phone number may belong to somebody else
so, i put a code in front of it to distinguish it from same numbers in
other states
555-1234-5678 (me)
555-1234-5678 (me)
556-1234-5678 (somebody else)
that code would be a namespace prefix in xml terms
somewhere i'd have to define where and what 555 really is. that'd be
my namespace declaration.
there's also a default namespace. if i call my neighbor i can omit
the state code because my
xmlns=mystate xmlns:556=anotherstate etc (not really accurate here
as i could use both 555-2345-6789 and 2345-6789 to call my neighbor,
which afaik isn't possible in xml
actually it should be possible, not sure:
xmlns=mystate xmlns:555=mystate xmlns:556=anotherstate
cheers,
claus.
Is there any way to index Flash content without that risk?
http://wahlers.com.br/claus/blog/seffs-to-flash-or-not-to-flash/
cheers,
claus.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
RegEx + E4X means insanely fast custom parsing and conversion, plus
insanely fast searches and filters for XML. The need for XPath is about to
be a thing of the past (whenever they get around to releasing 8.5, that is).
I did some benchmarks comparing fp8 XML vs fp8.5 flash.xml.XML vs
var session:Session = Session.getInstance();
session(foo) = bar;
which would set the item foo equal to bar. i can't see that
there's a way to do this kind of non-method calling of the class
instance.
__resolve?
cheers,
claus.
___
Flashcoders
Wrong? Dude, wtf? Why don't you drink some coffee and take a look at
what the hell VB is doing (ASP, whatever).
roffle.
it's 4am and i might have smoked some funny cigarettes already.
anyways, at least it feels wrong.
but then.. vbscript.. ehrm.. ok..
*ducking*
cheers,
claus.
I'm working on a chat, and what I want to do is highlight text that is
whispered. But the background-color style property doesn't work on spans,
does anyone know of a good way to set the background color of text in an
HTML text field? Is it even possible?
Not possible, without using ugly
hi folks,
i'm currently playing with the flash player 8 FileReference stuff. i'm
uploading a file to a server script (works fine). the server script
returns an xml with info about the uploaded file. is there any way i
can access the server response?
tia, cheers,
claus.
thanks ryan and don for your help!
i need to upload a binary file from a local flash 8 app to a 3rd party
server (webservice, fixed api, takes a mix of post/get data and
returns xml) so i guess i'm at a dead end here..
cheers,
claus.
___
Flashcoders
I found the ogis2svg command line tool quite straightforward but now
am stuck trying to convert the SVG output to SWF using the svg2swf
tool mentioned above.
I've googled it and haven't found many respectable tools for this purpose.
Have you tried Adobe Illustrator for SVG to SWF conversion?
80 matches
Mail list logo