Flash 8 Certification Exam? Srsly? And you pay for it? That's crazy
talk!
If you've got money to throw away, why not give it to a charity this
holiday season and use it for something that actually makes a
difference?
___
Hm. That's odd because my script saves as many files as I need it to
with whatever path and filenames I want without prompting me. I wonder
what's different. Are you using Flash 7 or Flash 8?
___
Flashcoders@chattyfig.figleaf.com
To change your
to use objective measures to know that
they are making progress.
Please stick to your normal form of playing nice with the
other kids
here in the Flash playground :-)
Best wishes to you and yours this holiday season!
Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
Flash 8
function XML2AS(n, r) {
var a, d, k;
if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0];
else r = (a=r[k])[d=r[k].push({})-1];
if (n.hasChildNodes()) {
if ((k=n.firstChild.nodeType) == 1) {
r.attributes = n.attributes;
If you're not in a rush, there's always Apollo. :)
___
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
You should download the JSFL documentation file.
fl8_extending.pdf
Not sure what the URL is but search Adobe's site and you'll find it like
I did.
Here's a taste of the functions that handle it.
Check my blog for the entire script where I am creating templates.
http://www.stevensacks.net/
ComboBoxes draw their dropdowns on the _root. If you lock the root in a
nested clip, they'll draw their dropdowns there. This is why you're
getting z-index problems.
Second, if you're having an issue where _height is not returning the
true _height, then store the original height in a variable
Check out the ghostwire components.
http://www.ghostwire.com
They're AS1 but they work in Flash 7 and 8 alongside AS2.
They're extremely lightweight and follow the Macromedia standard methods
like setDataProvider(), etc.
If you want events generated, code it yourself. It's easy:
import
i tried ur suggestion but that did not work !
RTFM !
___
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
Have you tried casting them as Strings and comparing those?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of T. Michael Keesey
Sent: Wednesday, December 06, 2006 12:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Compare Decimal
Math.round(myNum * 10);
:)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Doug Coning
Sent: Wednesday, December 06, 2006 12:32 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Compare Decimal Point Value?
Is there a better way
Yup, there are all kinds of things you can do if you cast it as a
String.
As far as the rounding thing goes, you want it to round.
0.2999 is supposed to be 0.3
If you multiply 0.29 by 10, you get 2.9.
You round it you get 3.
You divide by 10 you get .3.
myNum = Math.round(myNum *
Use the javascript onLoad event in the body tag to trigger
the FLV load in flash using the localConnection object.
Or have the gallery swf tell the FLV swf to start its load after the
gallery is finished loading via localConnection.
-Steven
___
afaik there's no such thing.
Not for long! Woot! :)
http://www.flashguru.co.uk/undocumented-actionscript-3/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
You can use the abstract factory design pattern, interface, etc.
Google it.
___
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
Yuck!
for(var i=myArray.length-1; i=0; i--){
trace(myArray[i])
}
Yum!
var i:Number = myArray.length;
while (i--) {
trace(i);
}
Zoom!
var i:Number = myArray.length;
while (--i -(-1)) {
trace(i);
}
___
Here's a hack to fix that. Have the movie you are loading with the
different frame rate have a silence audio file on the timeline set to
stream. It will force the flash player to play at the new framerate of
the loaded swf.
On projects with multiple developers, you should decide and communicate
It is opening in Acrobat Reader. However, it is opening in the Acrobat
Reader plug-in for browsers as expected. There is no way to access the
user's hard drive from Flash in a browser for security purposes, nor can
Flash launch executables from the browser. This behavior is
long-standing and
Kenny Bunch wrote an interval manager way back when.
http://www.kennybunch.com/index.php?p=16
To answer your question, though, setInterval returns a number, which is a
unique id reference for that interval. If you set another interval to the same
var, you orphan the previous interval
Sometimes, people make scrollbars more complicated than they need to be. The
easiest scrollbar to write and use is one that returns a percentage 0-100 based
on its position in the well.
Here is a quick example. I used onEnterFrame for the update because in my
experience, it's smoother than a
My suggestions:
ABA - Annoying Banner Ads
PTM - Punch The Monkey
SIB - Skip Intro Button
FCA - Funny Cartoon Animation
SECI - Search Engines Can't Index
TTUG - Tell Target Underscore Global
___
Flashcoders@chattyfig.figleaf.com
To change your
If you're looking for bug/feature tracking for your clients, check out
Mantis. It's easy to set up, customize (if you know php), and best of
all, it's free.
HTH,
Steven
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search
If you're looking for something a bit more advanced, check out the
Composite design pattern.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hey everyone,
There's an old problem with Flash that pops up every so often and I've
never been able to determine what causes it or how to solve it.
Sometimes certain clips/buttons stop receiving clicks unless you move
the mouse between clicks. Does anyone know how or why this happens and
how to
Haha! I solved it sort of kind of. If I go to a different application
and come back no more problem.
Looks like general Flash wonkiness and who knows why. Still interested
if somebody knows.
-Steven
___
Flashcoders@chattyfig.figleaf.com
To change
However it seems to think an email address with less that 4
characters before the @' is not valid (when it is).
So just modify it to allow less than 4 characters before the @.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options
google AbstractFactory
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Rich Rodecker
Sent: Friday, November 17, 2006 6:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders] polymorphism, with singletons
What's a good way to go about
Flash Develop
http://www.flashdevelop.org/
Hands down the best Actionscript 2/3 (XML/HTML/JS/TXT) editor I've ever
used. It's autocompletion and dynamic code hinting is second to none.
-Steven
___
Flashcoders@chattyfig.figleaf.com
To change your
I'm coming in late to this discussion but is this lack of compiler error
on strict typing in AS2 causing your code to break or is this concern
purely academic? If it's academic then might I suggest you stop
procrastinating and get on with your project? ;)
AS2 strict typing is a lie anyway. It
Movieclips need one frame to initialize methods. Properties are
available right away but methods are not. I suggest you put the init()
function on the first frame of your loaded clip's timeline and let it
handle its own init(). The properties you set on the clip will be set
prior to the init()
A winky emoticon denotes sarcasm or a joke.
I'm glad that somebody was able to locate your problem, though. I
figured somewhere you were using a loosely typed variable so the
compiler wasn't complaining.
Here's a fun one.
someFileName:String = something.swf;
extension:String =
MySpace is a prime example of allowScriptAccess=never
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of John VanHorn
Sent: Thursday, November 16, 2006 3:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] RE: swf and referring domain
emailBody:String = Strict typing is kind of an all or none thing. If
you only partially strict type, which I have done plenty of in the past,
then you'll only partially get compiler errors. However, in preparation
for AS3 where strict typing has a very noticable improvement in speed, I
am strict
You can't put strict typing like that in the timeline. ( ^^)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Claus Wahlers
Sent: Thursday, November 16, 2006 5:09 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] why are my
Yes, you need to declare it as a var or you'll get a compile error.
That's why I said like that. ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
The Adobe Flash Forward Flashback site has two FLVs playing at the same
time to display the world as it spins.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
In the Flash 9 Public Alpha, it's under Publish Settings
Flash ActionScript Settings Document class
Or if you have nothing selected it's in the properties panel
Or you can use Flash Develop or Flex Builder 2.
___
Inside an onEnterFrame function you have to use this when referring to
things in the class (if the class extends MovieClip, which I hope it
does because only MovieClips can have onEnterFrame as far as I know).
class MyClass
{
var foo:Boolean;
function MyClass()
{
When working on a collaborative team on a big project, design patterns
are your best friend. You should check out the Composite design pattern
and/or MVC.
http://www.asserttrue.com/articles/2006/10/27/max-2006
After attending their workshop, I went out and bought the book they
recommended and I
I don't like anything that puts arbitrary constraints on my code. Ruby
on Rails has fantastic naming conventions but they have very clear
benefits. Also, they use @foo for instance variable names and @@foo for
class variable names. Unfortunately, they don't use braces to contain
functions and
Job offers are accepted here. It's never gotten out of control and
you'll find that most job postings here come straight from the source
because recruiters who post here often find themselves the object of
ridicule for their (sometimes) ignorant job posts and likely they never
post again, which
The math for this is luckily just algebra and doesn't require any
complex trig or calculus, and there are a few different ways to do it.
This might help you on your way:
http://www.darronschall.com/weblog/archives/54.cfm
___
Something else I recommend is have somebody who is in charge of
integration and they make sure that everyone who hands them code
thoroughly tests it first. This is how I write my apps when it's just
me, as well, and as a result my code is pretty much bug-free. If their
code can't be tested
That is true, however if you just need a temporary onEnterFrame then it's
better to just assign it to this instead of delcaring it in the class.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Rákos Attila
Sent: Wednesday, November 08, 2006
and
onEnterFrame problems
From a person who keeps posting against the use of 'this'
and who says
it's bad practice I'd expect something better than using
nested functions, especially if there's no need for it whatsoever.
- Original Message -
From: Steven Sacks | BLITZ [EMAIL
I don't know if it's a remnant.
You may be doing property initialization and need to nail down scope:
class Student {
private var name:String
function Student( name:String ) {
this.name = name;
}
}
That's just bad coding. Don't use class variable names as argument
names. It's
I think he wants to take what some artist drew in Flash and code it to
draw at run-time using the drawing API. I'm not sure what benefit that
has except to make designers have to code their drawings instead of draw
their drawings and I don't know (m)any designers who would like to do
that.
Pretty much. You either muddy up your code or your docs.
I opt to muddy up docs over code, just like Macromedia. ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
I shouldn't have used the term bad to describe these practices and for
that I apologize.
My eyes see all those extra this references as clutter and some
people's eyes see them as useful pointers. I don't use document writing
programs like AsDoc or Jdoc so the concerns of people who do are
They (now Adobe) have pretty much done an about-face on this
issue. The ActionScript 3.0 documentation
(http://livedocs.macromedia.com/flex/2/langref/ ) is excellent.
Macromedia's AS docs were (in)famously bad due to what many considered
to be poor examples and they also had many errors. I
Project 3:16 - For Client so loved the work, that he told his one and
only Developer, that whosoever listens to him shall not finish, but have
eternal changes.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the
Are these copies essentially just pointers to the same array?
Yes. You need to clone the objects/arrays, not just set pointers.
var newArray:Array = [];
var i:Number = oldArray.length;
while (i--) {
newArray[i] = oldArray[i];
}
return newArray;
If you're storing objects in the array
IMO, there's nothing wrong with using TextField.variable. It has its
time and place and can be used properly.
Just because it's overused by novices doesn't make it a bad thing, just
like bevels and dropshadows in Photoshop aren't always a bad thing
either. Of course, Lens Flare is a different
Flash doesn't have access to the operating system on any platform.
___
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
(For the main thread, people usually decide what features their
application might need, and then balance that against the trends in
capability among their own audience.)
MySpace requires Flash 9 Player, You Tube requires Flash 8 (last I
checked). They seem to have no problems getting people
How about this?
class Test {
var foo:String;
var bar:String;
function Test(initObj:Object) {
for (var a:String in initObj) {
this[a] = initObj[a];
}
}
public function get data():Object {
this.holder.loadMovie(some.jpg);
this.onEnterFrame = function() {
if (this.holder._width 4) {
resizeHolder();
delete this.onEnterFrame;
}
};
function resizeHolder() {
holder._width = w;
holder._height = h;
}
The compiler only catches strict typing issues at compile-time, not
run-time. It doesn't know what this.jaar is (because it's being loaded
in at run-time) so it doesn't catch that you're loading a string into
it. Since AS2 isn't actually strict (just for the compiler's sake), you
can put strings
You can still make banner ads and cartoons with Flash 4.
That's what Flash is used for right?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
You can still make banner ads and cartoons with Flash 4.
That's what Flash is used for right?
WINK! ;) *SARCASM* J/K
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
It addresses half the problem. I missed the other requirement.
It's pretty easy to accomplish that, though.
You find the largest dimension delta and determine its percentage delta
and then adjust based on that.
var perc:Number;
if (actualW - targetW actualH - targetH) {
perc =
You don't NEED to use MovieClipLoader and onLoadInit, but feel free to
if you WANT. :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to
I did not write out the entire solution because I was focusing on the
specific functionality.
When you use a holder clip, you're going to be creating it and removing
it on the fly.
this.holder.removeMovieClip();
this.createEmptyMovieClip(holder, 10);
this.holder.loadMovie(some.jpg);
Easy peasy.
Check to see if wmode=transparent in the embed tag of the Flash in the
HTML. That may be the cause of your issue, but I'm not sure exactly
what your issue is because your description is a bit vague. If removing
the wmode=transparent doesn't help, can you please provide more
information or
I may be wrong, but I thought IE on Windows is pretty much the only
browser that it works absolutely correctly on. AFAIK, other browsers
have issues including decreased performance, etc.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription
I thought she said that it was just not working correctly at all, but
maybe she was saying it wasn't showing up at all. If she did, then I'm
wrong. It's impossible to debug without more details, though. I was
just stabbing blindly in the dark. I should have asked for more
information before
Or you could use XML2AS.
// XML2AS - DO NOT AUTO FORMAT!
_global.XML2AS = function(n, r) {
var a, d, k;
if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0];
else r = (a=r[k])[d=r[k].push({})-1];
if (n.hasChildNodes()) {
if ((k=n.firstChild.nodeType) == 1) {
http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex
I click download and it hangs for about 15 seconds before it reloads the
page. No download occurs in either IE or Firefox. I downloaded this
just fine from home last night. Anyone else not able to download Flex
Builder 2?
Can you link me to your forum post?
BLITZ | Steven Sacks - 310-551-0200 x209
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Bbt Lists
Sent: Friday, October 27, 2006 2:17 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Can
ColdFusion FTL. :(
___
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
You don't need separate textfields for bold, italics and bold italics.
You make one html textfield and in that textfield you put
r b i bi
Make b bold, i italic, and bi bold italic.
Then embed the characters you need. :)
___
Well, if you're not changing anything in the timeline(s) of the movie
(such as those animations or new movieclips), and you're only making a
change to the classes, then you'll definitely benefit from using FLASC
for those compiles.
___
Also, you don't need to say this.onRelease inside another function.
Just put the following in your class:
class MyClass extends MovieClip {
function MyClass() {}
function onRelease():Void {
// do something
}
}
You should look into using MTASC via FLASC to compile your games. Since
games are mostly code, you'll save yourself a ton of time by using
MTASC. The difference in compile time is astounding. MTASC compiles in
about one second when the IDE can take much longer.
It used to be bad but as of Flash MX 2004, it was improved a bit.
Most of the Array methods are slow, though, when compared to other
languages. For instance, it's faster to use myArray[x] = val than
myArray.push(val). Shift and Unshift are extremely slow.
If you need speed for an array that
Today's user headspace error brought to you by the number n.
___
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
eval() is not deprecated.
You're right. It's more than deprecated. It's been removed altogether
in the next version of Flash.
http://livedocs.macromedia.com/flex/2/langref/migration.html
Global Functions
eval() Removed
No screen name said on Jul 22, 2006 at 7:59 AM :
Why was eval()
var mc = this[btn + i];
mc is your target.
mc.onRollOver = function() {};
The issue you might have is that you cannot assign functions and certain
properties to a movieclip you are going to loadMovie on because as soon
as the movie is loaded, it overwrites all the methods and properties you
That's odd. Ben Jackson uses it exclusively and has it tied to MTASC
and Subversion. He never has to open the Flash IDE. Have you seen some
of the macros videos out there? I know firsthand that the learning
curve can be a little steep, but if you take the time to learn the
program in and out,
The problem I found with Director is you have to go out and
buy a bunch of Xtras to really achieve anything notable.
All you need with Director for OS level control is BuddyAPI. There is
another extra to disable certain key combos (like CTRL+ALT+DEL, etc.)
for kiosk purposes but the name of
I handle scrolling in the simplest, most straightforward way possible.
First, I get the percentage of where the scrollbar is along its track
from and have it dispatch that percentage.
var perc = (BTN_Shuttle._y - orgShuttleY) / range;
dispatchEvent({type:change, data:perc});
The listener then
// XML2AS - DO NOT AUTO FORMAT!
_global.XML2AS = function(n, r) {
var a, d, k;
if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0];
else r = (a=r[k])[d=r[k].push({})-1];
if (n.hasChildNodes()) {
if ((k=n.firstChild.nodeType) == 1) {
r.attributes =
Or you could skip the mouse listener and delegate and just in your
movieclip put the following:
onMouseDown = function() {};
onMouseUp = function() {};
No listener or delegate needed.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription
Well yes. That is the best way. I was just responding to using a mouse
listener delegate. You definitely want to keep it simple and just put a
clickable area behind the buttons in the clip.
___
Flashcoders@chattyfig.figleaf.com
To change your
http://osflash.org/flasc
You should also check out FLASC, a Flash panel MTASC compiler that is basically
an easy to use GUI for MTASC. I often find myself with FlashDevelop and the
Flash IDE open when making tests or working on projects with heavy design. I
can make a code change in FD, hit
Check out Kenny Bunch's interval manager class.
http://www.kennybunch.com/index.php?p=16
Might help.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Unlike Flash, which if a compile fails during it, the swf is
unlaunchable, mtasc fails before it injects the code. You're not seeing
a swf preview, it's just launching the swf that exists.
FLASC uses MTASC but it doesn't react to a failed build, possibly
because it doesn't know the compile
Or try Filezilla. Once you go Zilla, you never go...
um...just try it.
___
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
BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);
etc.
etc.
:)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
A bad practice most likely, but not technically wrong. I do see it in
text books from time to time.
When I was in 10th grade, I had a French teacher who marked a question
on a test wrong because the test came from the teacher's version of the
text book and her book had a different (wrong)
then is not the opposite of now
Now means at the present time. Then means at any other time other
than now. They are opposite.
The phrase now and then has no bearing on the denotation of the words.
Then is the antonym of now. If you disagree, what do you think is
the opposite of now? It
So you're saying Now refers to this SINGLE point in time, and Then
refers to ANY point other than Now. Definite vs indefinite.
If you put it in code the opposite of now is !now or not now, and when
is not now? Then.
The plaintiff rests.
___
This aftenoon I subscribed to this list once again. And now I remember
why
I unsubscribed from the list so many months ago. Goodbye again.
You'll be missed. Again. ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or
Why can't you use MTASC? If you're serious about Flash development, you
should be using it. I have a Flash application that literally takes 30
seconds to compile in the IDE and less than a second with MTASC.
If you don't want to have to write out that long command line compile
script (and who
get fucked jerk.
What happened to that whole unsubscribing thing you mentioned? How did
you even receive this message if you unsubscribed? And if it indeed was
not an honest statement and instead a sarcastic comment, why are you
surprised by a sarcastic comment in return? I did get f**ked.
fin.
___
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
Ok, fair enough, it seems everything it's up to the browsers. However,
users, bosses and even developers don't care about that. What they see
is that the application is not working properly. What they see is that
Flash is doing weird things _again_. What they see is that they
cannot trust
session data and such, then you'll have to write a back-end to
support it.
BLITZ | Steven Sacks - 310-551-0200 x209
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman
There's a sucker born every minute. - P.T. Barnum
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Victor Gaudioso
Sent: Wednesday, October 11, 2006 10:55 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Logging Flash-Internal
Huh. I was offering an honest suggestion and also giving you a compliment.
Apparently, though, you're perfect for the job you have.
BLITZ | Steven Sacks - 310-551-0200 x209
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Zárate
Sent
601 - 700 of 1049 matches
Mail list logo