Maybe I'm misunderstanding the implementation of the Singleton but I
thought a statement like this was impossible? Doesn't the singleton
have a private constructor that only a public method such as
getInstance() can access? I didn't think you could use new outside of
the class itself like
Question about protecting my swfs.
If I use external AS2 classes and compile my swf, will those classes be
exposed if someone were to decompile my swf with a program like
Sothink's SWF Decompiler or other similar decompiler? It creates a bunch
of empty files, one for each class I have
Thanks! I'm actually excited about jumping in now.
It's making me wonder if some of the larger Flash apps I'm maintaining
now wouldn't benefit from a port to Flex. I'll have to look into the
server licensing to see if it makes sense for the projects I have in mind.
I guess my next step is
I think all classes will be exposed.
ActionScript Viewer mentioned by John http://buraks.com/asv/ is really
the best one.
So, there are several ways to protect your code:
1) Obfuscators (utilities or try do it manually)
Viewer Screwer http://www.debreuil.com/vs/ ,
ActionScript
I was saying the same type of stuff...a few days of playing with the
flex alpha has blown me away. I really couldn't grasp it from what
everyone was talking about, after running through the few quick start
tutorials I could plainly see how much time was being wasted
building apps in flash (or
One of the downsides of Flash (7 and 8) regarding components is that its not
easy to change the look and feel, not to mention
skinning, which is a pain.
With Flex 2 this has become soo easy.
Everything (or almost) can be done through CSS (internal and external),
including embedding assets
How are you embeding the font? Are you using action script or the
characters button in the properties panel of the textfield?
misprintt wrote:
Has
This bug only happens when using a textfield that has been drawn on stage
(or in an attached movieclip symbol) using embeded fonts
STEPS:
In this project I am dealing with 495 images, they are big. I have
them grouped in different swfs, for ease of loading, and since they
can be shown as a sequence, they are all embedded in the timeline,
one for each frame. The problem now is that since there are so many
images, once I go
I have embeded the characters using the embed button on the textfield
property panel.
That is not the issue - the characters are definately embeded (because it
works fine with a setTextFormat). The issue is that flash is not recognising
the text formating that is applied to a textfield in the
http://www.27bobs.com/preload.html
http://www.f-mod.com/?p=2
- Original Message -
From: JesterXL [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, October 27, 2005 5:05 PM
Subject: Re: [Flashcoders] Drawing/painting applicatin examples
You have never been able to numerically resize text in Flash. Flash 7
had
the same behaviour. Many had hoped Flash 8 would *resolve* this issue,
but
it didn't happen. It certainly isn't a new issue.
Actually, you're right.
I'm too used to AS dynamic instanciation and new swf build tool.
Sorry
it doesnt works in AS3 as well :(
On 10/7/05, franto [EMAIL PROTECTED] wrote:
Yea Alain, it works only in Flash 7, in Flash 8 it doesnt work...
Nehal..is it working for you in Flash 8 as Alain wrote?
down: 65
down: 67
down: 67
up: 65 = in Flash 8, this never
Can't reproduce it here though.
Only seen this behavior if not the correct glyphs (or none) were selected from
the embed options.
Muzak
- Original Message -
From: misprintt [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005
Browser caches swfs, you can load yout images/swfs into blank mc,
unload. Your destinaton swfs you can yust make by loadmovie, plugin get
them from cache.
Robert Wąs,
Guillermo Torres Troconis wrote:
In this project I am dealing with 495 images, they are big. I have them
grouped in
Hi list,
I have some MCs named mc1, mc2, mc3 ...
I'm trying to access them like this:
mc[number].someProperty ... but no luck!
How can this be done!?
Jorge Rego
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Jorge Rego wrote:
Hi list,
I have some MCs named mc1, mc2, mc3 ...
I'm trying to access them like this:
mc[number].someProperty ... but no luck!
How can this be done!?
just do it like this:
[mc_+number].someProperty - when referencing mc's by name you have to
put it in square brackets...
The particulars of MXML require a specialized editor that understands the
model. I am not sure that Flash would be the right place for this. As we saw
with Forms Screens sometimes new paradigms in older tools just do not
work.
I do believe there needs to be a dramatically better UI for editing
this[mc+number].someProperty
(assuming 'this' is the current timeline)
On 10/28/05, Jorge Rego [EMAIL PROTECTED] wrote:
Hi list,
I have some MCs named mc1, mc2, mc3 ...
I'm trying to access them like this:
mc[number].someProperty ... but no luck!
How can this be done!?
On 28 Oct 2005, at 11:08, Jorge Rego wrote:
Hi list,
I have some MCs named mc1, mc2, mc3 ...
I'm trying to access them like this:
mc[number].someProperty ... but no luck!
How can this be done!?
I use eval()
eval(mc+i).someProperty
where i is some number
perhaps a more correct way would
[mc+number].someProperty
Cedric
Hi list,
I have some MCs named mc1, mc2, mc3 ...
I'm trying to access them like this:
mc[number].someProperty ... but no luck!
How can this be done!?
Jorge Rego
___
Flashcoders mailing list
On 28 Oct 2005, at 11:08, Roman Blöth wrote:
[mc_+number].someProperty - when referencing mc's by name you
have to
put it in square brackets...
Cool, you learn something everyday on here :
Goodbye eval()...
___
Flashcoders mailing list
Hiya,
I reckon that it would be a good idea not to make it a singleton but
create new instances every time. The fact that you are running into the
problem with listeners is a pretty clear indication that you require new
instances to be created for every use of the class - not really the
That is exactly what has crossed my mind.
I think I will have to do it just like that.
I just finished up my singleton now, but it isn't really able to be a singleton
as you say.
I will try to start from the beginning again. At least I do know what will be
implemented.
Thanks for pushing me
Thanks all! :-)
Just curious about this,
if i want to access nested MCs normally i do it like this
theParentOfYourMCs.mc1.someProperty (with dots in between)
but in the descrived situation i must ommit the dot to get it to work, why's
that!??
theParentOfYourMCs[ mc + number
there is some source code similiar at this map in flash? i like it very much
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Yeah, the new non-annoying library panel is almost worth the upgrade price
on its own...
Alias
On 10/27/05, Judah Frangipane [EMAIL PROTECTED] wrote:
I'd upgrade to Flash 8 even though you are doing Flash 6 and 7. It has a
lot of little things that make development quicker. So even though you
Not sure which docs you're using, but here's what's in mine:
quote
List.selectedIndex
The following example selects the first item in a list by default and displays
the index of the currently selected whenever the user
selects a new item:
var my_list:mx.controls.List;
This page tells you some basics on this GIS/Flash stuff...
http://www.bliki.com/flashims/
Jason
- Original Message -
From: Marco Sottana [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 6:50 AM
Subject: [Flashcoders]
I case anybody has the same problem: the easy solution is to postfix url
with ?wsdl resulting in:
http://nickhome/WebServices/WebServiceList.asmx?wsdl;
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: 28 October 2005 13:46
To:
but in the descrived situation i must ommit the dot to get it to work, why's
that!??
because there are two ways of accessing a property (the parent has a
property named mc1 that references a movieclip). one way is to use a
dot, the other to use a string (i.e. a variable of type String or a
I think you should base your decision on what the new improvements to
Flash actually are, and see if you would make use of them with your
clients... and if they are things that are going to be supported by the
target player your market will have.
At the same time, even still, its important to
There is a form to let the BMW Webmaster know of your poor experience with the
detection script:
Lol!
Jason Merrill | E-Learning Solutions | icfconsulting.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Anonymous Pepper
Sent: Thursday, October 27, 2005 7:24 PM
To: Flashcoders@chattyfig.figleaf.com
Subject:
Check out the product made by the folks who host this list - really
nice:
http://www.figleaf.com/products/wysidraw.cfm
Actual demo:
http://products.figleaf.com/samples/coldfusion/index.cfm
Jason Merrill | E-Learning Solutions | icfconsulting.com
-Original Message-
Keep in mind too, you can still use Flash 8 and output Flash 7/AS2 content.
The IDE is a big improvement in speed resource usage as well as fixing a
few bugs in Flash MX 2004.
I've been getting myself into trouble designing in Flash 8 with my clients
expecting me to transfer the design to
I upgraded as they increased the stage size in the IDE, for example when
designing for 1000 x 600 with the document set to that size in the flash mx2004
ide I could not scroll far enough to the right when designing large movie
clips, I'd have to to move all the symbols from 0,0 to something
I've been running a few experiments and how can I create event
handlers for Flash Comm Server responses?
For example, I'm doing a basic bandwidth check and I need to handle
the onBWCheck event.
Any tips a on creating custom event types?
___
Flashcoders
snip
a href=asfunction:addStory,
_root.arrStorys[6]
bBRUCE CLARKE'S SONbr
/COPS A SECURITIES ACT PLEA/b/abrbr
/snip
snip
When I click, nothing happens, unless it is trying
to open a browser and
I'm testing in the debugger or simply running the
movie. I've added a
trace()
Hmm, really? I think the documentation are quiet good -- not a lot of
outdated information and such. Borland could learn from it ;-=)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Hi everyone!
i really hope someone here can help out, because i think we have a doozie of
a strange problem.
i partenered with an artist and built a game that takes place in a zoo. i
built a stick and ball version while the artist built the graphics. The
stick and ball version works fine
Try:
var my_bool:Boolean = flashvar_bool==false?false:true;
The basic problem is creating a Boolean with any string makes it true.
So creating it with the string false still makes it true.
On 10/28/05, Matt Ganz [EMAIL PROTECTED] wrote:
hi.
i'm receiving FlashVars in my object and embed code
My only immediate thought - did the artist deliver his art files to you in
Flash format? Are you sure he hasn't accidentally buried some code somewhere
in the frames of one of those movieclips?
HTH,
Ian
On 10/28/05, Buck Ruckman [EMAIL PROTECTED] wrote:
Hi everyone!
i really hope someone
What's wrong with the following?
var my_bool:Boolean=(flashvar_bool==true);
Ian
On 10/28/05, Steve Mathews [EMAIL PROTECTED] wrote:
Try:
var my_bool:Boolean = flashvar_bool==false?false:true;
The basic problem is creating a Boolean with any string makes it true.
So creating it with the
(um ... i think you responded to the wrong person ... ?)
From: JesterXL [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] File under BIZARRE: Keyboard Freezes
Naw, just made it up. If Ian's comment doesn't help, post some code, and
upload a SWF if you can.
- Original Message -
From: Buck Ruckman [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 11:43 AM
Subject: Re: [Flashcoders] File under BIZARRE:
both methods work nicely.
thank you.
On 10/28/05, Ian Thomas [EMAIL PROTECTED] wrote:
What's wrong with the following?
var my_bool:Boolean=(flashvar_bool==true);
Ian
On 10/28/05, Steve Mathews [EMAIL PROTECTED] wrote:
Try:
var my_bool:Boolean = flashvar_bool==false?false:true;
Good thought. They were delivered in Flash format with zero code.
The animal clips do have code in them. Here's the extent of it:
Each animal clip has 3 frame labels - visible, hidden and noisy.
Playhead burns through the stretch of hidden animation, does a random dice
throw, goes to and
I was wondering if any of you knowledgeable and generous souls had
any pointers on how to approach building my own scroll bars for
dynamically created movieclips.
I've made a very simple one that just has buttons for scroll-up and
scroll-down, but I'd like to add a slider too, and I;m
sorry about my previous example ;)
can't your receive 1 and 0 instead of true/false ?
this works:
var my_boolean_string:String = 1;
var my_boolean:Boolean = Boolean(Number(my_boolean_string));
if(my_boolean == true) {
trace(cool);
} else {
trace(nope);
}
Cedric
Try:
var
Nevermind, I'll need to either extend the NetConnection class or
rewrite the detection script.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
That does sound weird. If you're sure it's not stray code (or a stray
component kicking around offstage somewhere or something), then all I can
really suggest is my standard 'something's weird' debugging approach; to
make a temporary copy of the app, and start peeling away bits of it until it
Uh. Did for me in Firefox and Flash 8.5 player (thouh it doesn't
require the 8.5 player). Worked for me previously with IE and the 7
player.
Jason Merrill | E-Learning Solutions | icfconsulting.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL
i created one for this site:
http://www.frogtoggle.com/twistedhip
It responds to the scroll wheel, has the hold-down-the-arrow-to-scroll
functionality, a draggable thingy, etc etc.
It's imperfect. It doesn't resize the dragger based on the amount of
content on the page, and it's slow ...
Ah, we're getting somewhere...
In Firefox 1.07 (my default browser) running Flash 8 it all seems to work
fine.
In IE 6 running Flash 7, it does, indeed, hang when I press a key. And
restarts when I stop pressing the key. And gives me a memory error when I
quit the browser.
So is the difference
Take a screenshot, save to a file and load it in at runtime.
Scott
-Original Message-
From: [EMAIL PROTECTED] on behalf of Tom Lee
Sent: Fri 10/28/2005 11:08 AM
To: 'Flashcoders mailing list'
Cc:
Subject:[Flashcoders] Rendering color models
Hi everyone,
I decided
Assuming the Game class is your root/stage class:
Public class Game extends MovieClip {
public function Game(){
var gameworld:MovieClip = new MovieClip(); //new GameWorld()?
this.addChild( gameworld );
var game_bg:MovieClip = new MovieClip();
Shaw, Matt wrote:
Assuming the Game class is your root/stage class:
Public class Game extends MovieClip {
public function Game(){
var gameworld:MovieClip = new MovieClip(); //new GameWorld()?
this.addChild( gameworld );
var game_bg:MovieClip = new MovieClip();
Good lord!
Why do you say that?
It's an extra 2 lines of code and it allows you to reparent any of the
children of any of the movie clipse.
I'd be more inclined to say it's awesome!
Spike
On 10/28/05, Andreas Rønning [EMAIL PROTECTED] wrote:
Shaw, Matt wrote:
Assuming the Game class is
On Oct 28, 2005, at 1:55 PM, Shaw, Matt wrote:
Assuming the Game class is your root/stage class:
Public class Game extends MovieClip {
public function Game(){
var gameworld:MovieClip = new MovieClip(); //new GameWorld()?
this.addChild( gameworld );
var
No answer from MM on their labs forums, or anywhere else for that
matter.
Anyone locate the standalone player for OS X yet? It aint in the
FlexBuilder2 installer or in the plug-in installer. Only the PC exe
files are standalone.
??
thanks...
Jon
Avoiding the word this is to avoid easy to understand code
It tells you that a variable is not a local variable but a important one
that's gonna be around to a while ;]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon
Bradley
Sent: Friday, October
tabbed windows on the mac...that's worth the price of admission for me. Hell
any improvement on the mac version was worth it.
On 28 Oct 2005 15:07:51 -, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I upgraded as they increased the stage size in the IDE, for example when
designing for 1000
You don't need to use the 'this' keyword.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley
Sent: Friday, October 28, 2005 2:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Newbie AS3 question
On Oct 28, 2005, at 1:55 PM, Shaw,
right on. that's what i'm talking about. flash was about 80%-90% there
for developers and then they forked the sucker. are they focus on
developers in the next version of flash authoring since 8 was a designer
oriented release? i like flex and where it can be used but i'd like to
see the
*snip*
i like flex and where it can be used but i'd like to
see the features in flex syncronized in/with flash authoring. that would
be killer.
*snip*
I don't see any reason why that wouldn't be good for everybody.
Personally I have always found Flash authoring a very frustrating tool to
work
This example makes me wonder:
If I was to write this in AS2, it would probably look like:
class Game extends MovieClip {
public function Game(){
var gameworld:MovieClip = new
createEmptyMovieClip(gameworld_mc,getNextHighestDepth()); //new
GameWorld()?
var
I'd be more inclined to say it's awesome!
I have to agree, I'm just dissapointed that it doesn't work like that in
Flash 8.
ryanm
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Bitmap - Gimp
Vector - Inkscape
There are some for sound and video, but I don't know them off the top of my
head.
Spike
On 10/28/05, Patrick Matte [EMAIL PROTECTED] wrote:
Hi, I'm rounding up a list of free and open source software.
For flash, I have found MTASC and swfmil.
Does anyboby
no, but if you are interested in open source flash stuff you should
check out osflash.com
It is the home of all things open source flash.
Regards
Hank
On 10/28/05, Patrick Matte [EMAIL PROTECTED] wrote:
Hi, I'm rounding up a list of free and open source software.
For flash, I have found
Sorry for hijacking the list with this problem today, folks.
When we installed the Flash 8 Player on the broken machines, the problem was
solved.
Conclusion: my game aggravated a bug in Flash Player 7 in IE.
Does that sound accurate?
- Ryan Creighton
(PS if that DOES sound accurate, can
Eric,
Couldn't get your code to work at first. Made some slight modifications to
get it to work in a single frame based code structure.
This code works great for relatively small tree structures. Took around
10-15 seconds to open 1500 nodes. Meanwhile it just sits there without
feedback.
If you have big money, you could try PopChart.
http://www.corda.com/products/#dev
--
andy makely
On 10/25/05, Wade Arnold [EMAIL PROTECTED] wrote:
I am trying to figure out what charting components I should use for an
RIA that I am working on. Anyone have any recommendation? Unfortunately
This example makes me wonder:
If I was to write this in AS2, it would probably look like:
Think of it like this: createEmptyMovieClip is functionally equivilent
to new MovieClip PLUS addChild. The benefit of seperating them is that
you can add things to and remove things from the display
Hmm, I am currently working on the good version of the quiz only I
have a question how I should implementate some part. The quiz should ask
yes/no questions and the user should only have three to six seconds to
answer the question. If the user fails to answer the question within
this time, the
I think that flex is a developer friendly environment and flash is not.
By that I mean, for one thing, that flex is built around the eclipse
environment, which is the gold standard for developers. Macromedia
wanted to grow the community. That meant designing a tool that would
appeal to rank and
Well, to me it's the other way around.
Code that doesn't use proper references looks messy to me.
Whe I'm lazy or in a hurry, I do skip them, but I usually find myself adding
them afterwards anyway.
So, I'm with ryanm on this one ;-)
regards,
Muzak
- Original Message -
From: Martin
Still weirding me out. To me part of the appeal of working with
movieclips is their inherent hierarchy, which makes a kind of basic
sense that's easy to grasp.
This new method seems to place more control in the hands of the
developer, but at the same time complicating what has always been a
The keyword this makes sense to me. I use it for instance variables. I
guess at the end of the day, though, as long as you're consistent anyone
can pick up your code.
For MovieClip and addChild, is this similar to the way we use XML in AS2?
As in, you use createElement, then appendChild?
Well, I dont agree, this keyword refers to current class, so its only more
typing to include it, and making code less
readable. Only reason keyword this exists is if you want to pass reference
to current object somewhere, in which case
you must use this. To me using this in your code makes you
*snip*
AS3 and Flex both hammer the point that this really has little use other
than confirming for those programmers who are not familiar with
ActionScript. Same goes for the Singleton.method vs.
Singleton.getInstance().method argument; the latter is for those programmers
who don't know
Passing a reference to the current object is not the only place where using
the this prefix is useful.
If you come along maintain someone's code 6 months from now and you find a
complex method of 200 lines of so, it's useful to have the this prefix to
distinguish between variables that are local
Forgot to mention, the other common place you'll see it is in constructors
or anywhere else you find yourself with method arguments that match the name
of an instance variable.
public function Person(fname:String,lname:String) {
this.fame = fname;
this.lname = lname;
}
Is it good practice?
Hi,
Partly right :)
The plan has always been to support AS3 in both Flash authoring and Flex
and that is still true.
At one point we were looking stretching to get AS3 in Flash Player 8 and
Flash Professional 8, but we realized that was a *bad* idea...we just
couldn't do it with the quality and
ActionScript 2, no, no difference. You actually have to do a tincy bit of
extra work to get AS2 to support getInstance like I've seen it in Java.
This all goes way in AS3 since prototype is strictly in the hands of
flash.util.Proxy; basically, prototype is now read-only, and Proxy is the
only
If you come along maintain someone's code 6 months from now and you find a
complex method of 200 lines of so, it's useful to have the this prefix to
distinguish between variables that are local to the function and those that
are available to the instance.
true, but i would also immediately
Close; the MovieClip IS instantiated, just not drawn. I think Ryan said it
best earlier when you think of:
var a:MovieClip = createEmptyMovieClip(mc);
as:
var a:MovieClip = new MovieClip();
addChild(a);
addChild merely tells Flash to draw it each frame.
So yeah, you could have a list, and
Example:
var a:MovieClip = new MovieClip();
a.graphics.beginFill(0x00);
a.graphics.lineTo(100, 0);
a.graphics.endFill();
That creates a new MovieClip, and draws a black line in it.
But, you won't see anything drawn on the screen until you actually add it to
the DL.
- Original Message
What's drawn at each frame is it only the BitmapData representation of the
movieclip or is it the actual movieclip? I know technically that could
end-up to the same thing, that's why I'm curious.
Just trying to get a good grasp of how addChild and new MovieClip work
internally.
Anyone know?
i dont know about the bug but you should look into flashObject for the
detection: http://blog.deconcept.com/flashobject/
On 10/28/05, Buck Ruckman [EMAIL PROTECTED] wrote:
Sorry for hijacking the list with this problem today, folks.
When we installed the Flash 8 Player on the broken
To clarify:
class ServerConnection
{
private static var url;
private static var port;
private static var socket;
public static function connect(p_url, p_port)
{
url = p_url;
port = p_port;
socket = new Socket();
socket.connect(url, port);
Eclipse, Doxygen, eclox, ArgoUML, Pixia, Ant for development.
GanttProject,OpenOffice and FreeMind for management tools
Ron
Patrick Matte wrote:
Hi, I'm rounding up a list of free and open source software.
For flash, I have found MTASC and swfmil.
Does anyboby know of any other free
Can you elaborate? Why wouldn't the static class work in that case?
- Original Message -
From: Spike [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 9:54 PM
Subject: Re: [Flashcoders] Newbie AS3 question
ok,
That's just
92 matches
Mail list logo