I think that's only possible using mxml...
just kidding, sorry could't resist :)
On Fri, Nov 21, 2008 at 8:45 AM, Elia Morling [EMAIL PROTECTED] wrote:
Has the ugly Glow-Filter trick been replaced with anything better in CS4?
Thanks,
Elia
___
LOL
- Original Message -
From: Hans Wichman [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, November 21, 2008 9:40 AM
Subject: Re: [Flashcoders] Text Stroke?
I think that's only possible using mxml...
just kidding, sorry could't resist :)
On
Jason, no pun intended.
Adobe, pun intended:
this marketing bu**s**t
I think the term Flex is kind of confusing people though, as it
can mean different things just like Flash cam. Sometimes people
use Flex to refer to the framework and SDK, sometimes as
Flexbuilder, sometimes as the
hi,
certainly OOT, but for the sake of exactness, Ecodazoo was not made
with papervision.
Roxik (http://roxik.com/) used a custom 3d engine (Sharikura):
http://temp.roxik.com/
Olivier
Merrill, Jason a écrit :
Sure - I mean again, it just comes down to what KIND of sites you are comparing - a
I never spoke about 'cool' sites ;)
I agree we cannot compare applications and event/marketing sites, or
even experimental sites.
As a precision, I view EcoDaZoo as the best flash site ever made
(MHO). First, because of the way it communicates, and then because of
its technicity (inhouse 3D
and that's when you don't do liquid layout in Flash ;)
Yep - but to be honest the .fla still contains all the links to the
external assets.
Erm, Ian, all you need to reference in the FLA is ONE Class file;
and that class file can then contain ALL the references to all the
subclasses; so
Hi,
im not sure about your syntax.
This:
class MyClass {
public static var _instance:MyClass = this;
}
will not work.
You are looking for something like:
class MyClass {
public static var _instance:MyClass = null;
public function MyClass () {
_instance = this;
}
}
Although
Hello list,
I've been having a question since a time ago... I'm using a flash framework
within my websites (Gaia), and between the classes, I use some singleton
pattern to communicate between them. This way, theorically, I can get any
class instance from another, and I don't need to know the path
Hello,
About the syntax, I meant the second one, actually, declare the _instance
just in constructor, but I just noticed a very weird thing...When I get null
as I was referencing, if I just declare in my main class, a var casting the
type of class that was returning null, it'll work. Seems
I love this list so far. Thanks for highlighting that Ian.
I think you explained clearly that I'm bypassing good type checking so maybe
you could help me with an alternative.
The issue arose from Lee Brimelow's AS3 preloading
videohttp://gotoandlearn.com/play?id=85.
He basically defends that the
What I'd do to retain type-checking in this case is to define an interface:
public interface IMyModule (or whatever)
{
function startUp():void;
// and maybe other functions...
}
Make your document class implement IMyModule (i.e. it must define
function startUp()).
Then in your loading
Hi Fabio,
could you maybe post 2 examples, one that works, and one that doesn't?
A picture says more than a thousand words:)
greetz
JC
On Fri, Nov 21, 2008 at 2:19 PM, Fabio Pinatti [EMAIL PROTECTED] wrote:
Hello,
About the syntax, I meant the second one, actually, declare the _instance
Wow I really should have thought of interfaces. That will work perfectly.
On Fri, Nov 21, 2008 at 9:11 AM, Ian Thomas [EMAIL PROTECTED] wrote:
What I'd do to retain type-checking in this case is to define an interface:
public interface IMyModule (or whatever)
{
function startUp():void;
Interesting, I thought I had first been introduced to it via the Papervision 3D
site - regardless, it's very impressive.
Jason Merrill
Bank of America Instructional Technology Media · GCIB Staff Support
LLD
Interested in Flash Platform technologies? Join the Bank of America Flash
OK, you're right, you said, best and used words like slick, not cool - so
I just assumed, sorry. I mean, we'd all probably agree opinions are all
pretty subjective. Flash has been around a lot longer, so the developer
community there certainly is more mature.
Jason Merrill
Bank of
Thanks Ian, very interesting. Thanks everyone - good discussion.
Jason Merrill
Bank of America Instructional Technology Media · GCIB Staff Support
LLD
Interested in Flash Platform technologies? Join the Bank of America Flash
Platform Developer Community
Interested in innovative
You should try using git with flex builder projects, amazing. Changing
branches on the fly and Flex Builder with go right along with you, saving
your different swfs as well.
On Thu, Nov 20, 2008 at 4:03 AM, Ian Thomas [EMAIL PROTECTED] wrote:
On Thu, Nov 20, 2008 at 8:59 AM, Ian Thomas [EMAIL
Sure thing!
In my main document class, I have
class BaseClass {
public function BaseClass() {
}
}
I have a second document class, that is loaded inside the first one.
class SecondClass {
public static var _instance:SecondClass;
public function SecondClass() {
Hmmm... I'm not sure I can pinpoint exactly where the problem is in your
code. But there is some weirdness there around where and how that _instance
variable of yours is getting instantiated. It seems like there's nothing to
enforce it only gets created once or doesn't get overwritten multiple
???
This is totally not a valid comment, either I don't understand the term
liquid, or other's don't know how to implement it.
Cedric Muller wrote:
and that's when you don't do liquid layout in Flash ;)
Yep - but to be honest the .fla still contains all the links to the
external assets.
haha, nice one.
Well, honestly the glow can be 'massaged' to look acceptable.
:P
Elia Morling wrote:
LOL
- Original Message - From: Hans Wichman
[EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, November 21, 2008 9:40 AM
Subject: Re:
Fábio,
The reason you are seeing null is because your getInstance() does not assign
the instance of SecondClass to _instance if it hasn't already been
instantiated:
public static function getInstance():SecondClass {
return _instance; //_instance has never been assigned
So I'm writing the most basic of timeline preloaders and flash seems to have
a mind of its own.
My test.fla has two frames. Frame 1 has a text field and a progress bar
movieclip. Frame 2 has a very large image. There is no code what so over.
The document class is set to Test.as and is essentially:
Is it possible to show the progress of a code loop on a progress bar?
For example, if I have a progress bar named pbar already defined on
the stage, and I execute the following function:
private function init():void
{
var total:int = 10;
for (var i:int = 0; i total; i++)
Don't worry, I doubt it even fk'ing matters anyway. I can't access a stage
instance on frame 2 or higher without some psychotic hack I've yet to find
on google. How the f*ck did macromedia expect any common flash designers to
keep up? I don't want to write a custom class for each stage instance
Just simulate a for loop with an ENTER_FRAME listener.
var total:int = 1;
var i:int = 0;
root.addEventListener(Event.ENTER_FRAME, simLoop);
private function simLoop(e:Event):void
{
if(i = total){ root.removeEventListener(Event.ENTER_FRAME, simLoop); };
pbar.setProgress(i, total);
i++;
}
Yikes! I don't think he actually wants the loop to take any longer than
necessary. I'm assuming he's got some sort of computationally expensive
operation (huge parse or something) that he wants to show the progress. How
about subdividing your loop into more manageable chunks that get called once
a
Hi, Joel,
I'm taking a longshot guess that you had the same problem I had last week
when the list helped me...?
I had an instance on a keyframe of the stage and it (sometimes) wasn't
available i.e. null when I gotoAndPlay() to the frame it first appears? Did
you find a solution? I have had good
someone discovered some way to make synchronous app?
something like that:
foo = doSomeHttpRequest();
and the response from http request is attribued to foo var
--
=
Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
fazendo do
nah where'd be the fun in that!? :)
On Sat, Nov 22, 2008 at 6:14 AM, poste9 [EMAIL PROTECTED] wrote:
someone discovered some way to make synchronous app?
something like that:
foo = doSomeHttpRequest();
and the response from http request is attribued to foo var
--
Hi,
the onenterframe will work, but you can approach it a little
differently, in pseudo:
onEnterFrame {
if (no items to process left) { clear onEnterFrame, signal done; }
set loop start time
while (currenttime - loop start time 100 ms) {
process loop item
}
update progressbar
}
greetz
31 matches
Mail list logo