As2 lol
On Jan 24, 2013 8:42 PM, "Sumeet Kumar" wrote:
> Hi All,
>
> I am creating a multilingual as2 app and the data for this app will come
> from XML. I need to target almost 17 language(including Arabic and urdu). I
> have heard that Arabic and urdu are very difficult to implement in flash.
>
I have also made a piano keyboard years ago and had the same problem. In the
end I found a series of "C" notes from a grand piano and used SoundForge to
change the pitch on the notes, thus extrapolating all the notes of the keyboard
from those Cs.
This message is for the named persons use only
This is meant to be a Flash coders list. When did it become a job-seeker site
which apparently specializes in underpaid web developer jobs? Most developers I
know are very busy people who do not need their time wasted by spurious,
inappropriate posts to the list.
This message is for the named
Thanks to all the suggestions re my random list problem. Particular thanks to
Gerry Beauregard for this suggestion:
"It's probably best just to create an Array or Vector containing numbers 1 to
40. (Vectors are only available in AS3, not sure about Array). Shuffle the
array, then choose the f
I am working in ActionScript 2. I want to create a quiz in which 10 questions
are randomly selected from a block of 40 questions. I found the following code,
but I can't work out how to stop it doubling up the questions.
function randRange(min:Number, max:Number):Number {
var randomNum:Numbe
wanted effect for my clients.
Has anybody seen this sort of thing before, and maybe has a solution to stop
this filter rendering error from occurring?
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privileged information. N
(enterPage.text<=19) {
whichPage = int(enterPage.text);
holder_uh.myPageFlipperuh.gotoPage(whichPage);
go_btn._visible=false;
}
}
};
Alan Neilsen
if (mouseX <= 430) {
If (mouseY >= 50) {
if (mouseY <= 72) {
enterPage.text = "";
}
}
}
}
}
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lo
Your artistBio closing tag is /artist, making it invalid XML.
Hope it helps!
Alan
OK, why is this happening?
var artData:XML = new XML(
an artist
He sucks
She rocks
);
var lastName="Agrafiotis";
// undef
quent SWF using it is loaded.
Can anyone shed any light on why it only works on the first SWF loaded, and
what I might do to make it work when subsequent SWFs are loaded?
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privi
seen this sort of thing before, but have no idea what is causing it. Can
anybody shed light on this for me?
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lo
ystem only" and
do a search for addEventListener I get no results - which seems ludicrous to
me. How is it possible that the term addEventListener does not exist anywhere
in the Flash Help system?
Alan Neilsen
This message is for the named persons use only. It may contain
confidential,
(pME:MouseEvent):void {
first _btn.tabIndex=1;
second _btn.tabIndex=2;
third _btn.tabIndex=3;
}
button3_btn.addEventListener(MouseEvent.CLICK, fnClick);
Alan Neilsen
This message is for the named persons use only. It may contain
confidential
o then get that text into a
dynamic text field. Can anyone please give me a simple example of how to do
this.
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived
animators.
Thanks!
Alan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
like that
loader_clip.removeChild(ldr);
}
But when I trace (loader_clip.child) it comes back "undefined" whether the
child is still there or not.
What can I use to test this so loader_clip.removeChild(ldr); doesn't produce an
error if the child has already been removed?
Alan Neilsen
This
How can load a SWF into my movie so it does not end up on the very top layer? I
am using the following to load the SWF which works, but always puts the loaded
SWF on a layer above everything else:
// Load SWF for sawn timber intro
var urlSawn:String="swfs/sawn_intro.swf";
var urlReqSawn:URLReque
What if you use the KeyboardEvent.KEY_UP event instead? I don't know
what you're trying to accomplish, but I've always used the
KeyboardEvents for textfield interactions.
Alan
Hey List,
Consider something like this:
//inputTextField is multilined
fdb?
http://livedocs.adobe.com/flex/3/html/help.html?content=debugging_03.html
It's a good way to trackdown elusive bugs. Hopefully you can recreate
the error though, because you'd be the only one who can do the
inspection.
Alan
On Sep 5, 2009, at 11:00 AM, flashc
atest flex_sdk to make sure I'm all up to date.
Viewing on OSX 10.5.7 + FP 10,0,22,87.
Anyone have this issue before?
Thanks,
Alan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
It turns out that setting a low '-default-script-limits' in mxmlc was
causing the freaking out. Strange.
Alan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I think the current Mailman configuration works well, although it
would be nice if the web archives worked. There's so much helpful
information coming through this list, but they end in late 2007.
Alan
If the consensus is that we should move over there, I'm willing to go
ah
When I use 'Options' in 'Properties' to apply a link to text in my Flash movie
(CS4), it works okay when I test the movie, but when I create the SWF and try
the same thing, it tells me, "Adobe Flash player has stopped a potentially
unsafe operation." This seems strange, because hypertext created
Thanks Patrick Matte
Installing the Flash CS4 update from
http://www.adobe.com/support/flash/downloads.html has fixed the problem I had
with Flash CS4 running slowly (and a few other thing). I recommend all Flash
CS4 users do themselves a big favour and install this update.
Alan Neilsen
This
anything - it
just locks up for those seconds. 4 or 5 seconds does not sound much, but when
it happens again and again and again day after day it really slows my work down.
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privileged
John,
I just ran into this issue yesterday. You need to set the blendMode
on the textfield so it will force the player to render system fonts to
its own layer:
textField.blendMode = BlendMode.LAYER;
Alan
Howdy all,
Does anyone know of a solution to doing an alpha Tween on a
Can anybody tell me what might cause this, "Warning: Filter will not render.
The DisplayObject's filtered dimensions (4365, 240) are too large to be drawn."
There is nothing in my project with dimensions anywhere near that, so I am at a
loss as to what it means.
Alan Neilsen
Thanks, Gerry! I've been wanting to know how to do that!
-A
On Fri, May 8, 2009 at 2:36 AM, Gerry Beauregard wrote:
> Just want to share some things I've learned while using Flex Builder 3 to
> create Flash Player 10 dependent code...
>
> If you're using Flex Builder 3, and you want to use a Fl
Check this out:
http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-actionscript-flash
On Sun, Mar 22, 2009 at 11:11 PM, Anthony Pace wrote:
> I am looking for some really good examples of amoeba or microbe simulations
> done in as3
>
> I know that it is probably just done us
I actually prefer your usage. The reason not to use it would be that
'everybody' expects to use getInstance().
-A
On Wed, Jan 21, 2009 at 10:35 AM, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:
> Does anyone know of any reason not to use an accessor in my singleton
> inst
I guess its the equivalent of working in London! (UK)
and wouldnt apply to towns outside of the big cities
just caught me of guard you could say!
i just thouht it was freelancers who earned that kind of dough.
a
> Not really. That's far less than I work for.> > alan
Surely thats not the going rate for a flash developer in the US?
Thats an obscene amount of money ;o)
_
It’s the same Hotmail®. If by “same” you mean up to 70% faster.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotm
public function completeHandler1(event:Event):void {
MovieClip(event.currentTarget)._parent = this;
trace(_parent.ldr1);
}
}
Alan Neilsen
This message is for the named persons use only. It may contain
confidential,
ork this out, and to be honest, Flash help
is less than useless unless you have been doing OO programming for years. It
does not contain decent examples of everything one needs to do to get stuff to
work.
Cheers
Alan
Hi Alan.
In the same class / at the same position where you load your ch
ed to follow to pass user input text from one SWF to another.
Alan Neilsen
This message is for the named persons use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this m
nsight into why
it's acting funky? I've tried stripping things down to a minimum yet
it still behaves this way. Is there another way to force a redraw of
a displaycontainer?
Thanks!
Alan
___
Flashcoders mailing list
Flashcoders@c
xt entered in the first SWF (e.g. Fred Smith) to
be accessible by the second SWF (rte2124b_topic1.swf)? I want the print-outs
from the second SWF to start with "This activity was completed by User Name
(e.g. Fred Smith)".
Alan Neilsen
This message is for the named persons use
s impossible since a runtime
environment (the plugin) is needed to run a swf but I'm hoping there's
some bizarre workaround. Probably wishful thinking... ?
Alan
Flash uses the mxml compiler which is part of the Flex SDK. As long
as
you are not importing classes specific to the IDE, th
m the
command-line without having some sort of browser?
Thanks,
Alan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
properties for that
dynamic text field. Can anyone advise how I make those properties work for a
dynamic text field?
Alan Neilsen
E-delivery Resources Developer
Goulburn Ovens Institute of TAFE
Wallis Street
Seymour, Vic. 3660
Phone: 0357352466
Mobile: 0437355688
* Please consider the environment
has a tag $MT which will be replaced by all the text in the Movie)
Alan Neilsen
E-delivery Resources Developer
Goulburn Ovens Institute of TAFE
Wallis Street
Seymour, Vic. 3660
Phone: 0357352466
Mobile: 0437355688
* Please consider the environment when deciding whether or not to print this
emai
I am revisiting a fla I worked on a couple of years ago (Flash 8) and have
upgraded it and saved and published it in Flash CS3. For some reason I end up
with a html file that is 2MB which is full of paragraph text from the swf, with
each paragraph repeated in the html file 120 times. What am I d
So i just found out i've to interview an AS guy tomorrow, anybody have any good
questions that i should be asking?
Cheers
_
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.
then deletes the old one?
Thanks,
Alan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thanks Gabino, Matthew & Michael
Can anyone tell me why the following isn't working. I get an error that there
is no property with the name 'time' referring to 'd.time+=(8640*283).
var d:Date=new Date(2008,3,14);
d.time+=(8640*283); // 283 days, in milliseconds
trace(d.getFullYear()+"/
I am building a cattle birthing calculator. Can anyone help me with the code to
add a certain number of days (usually around 283) to the output of a
dateField.selectedDate (breeding date) so the result can be put into a string
and output to a text field such as, "The estimated birthing date is 7
Here is the class I use for dynamic instantiation. Note that it throws a
custom exception type, you'll have to create that type yourself or alter
that line of code. I copied the instantiation technique from Drew
Cummins at blog.generalrelativity.org.
class com.phoenixgp.common.utils.ClassLoade
On 3/24/08, Naveen Bhaskar <[EMAIL PROTECTED]> wrote:
Hi,
I am a flash designer and I am in intermediate in programming.(AS2).
anybody pls tellme what are the good books I can refer.
And remember, just learning Actionscript in particular will not teach
you programming in general. J
27;d be keeping in touch via email, IM,
and phone, and performing regular checkins to our source control system
for code reviews.
Please respond to [EMAIL PROTECTED] Thank you!
Alan MacDougall
The Phoenix Group
___
Flashcoders mailing list
Flashcoders@cha
is is an obvious memory problem. But it seems more logical than
doing:
new myFile();
myFile.getInstance().setFilename()... etc.
Thanks!
Alan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
I was going to start this a few months ago and then found some perl
modules that do it:
http://search.cpan.org/search?query=swf&mode=all
My project is more suited for server-side swf generation, but these
could be ported to as3 fairly easily.
hope it helps,
Alan
Curious if anybody k
Muzak wrote:
AFAIK, both are "between 0 and 1".
The default value for strength = 1, meaning 100% strength.
If strength would take a value between 0 and 255 a default of 1 would make no
sense at all (well at least not to me).
Well, the docs are correct: you can set absurd strength values bec
Hal Leonard wrote:
Yeah in CS3 that's the case - regardless of whether you are using AS2 or
AS3. But to my knowledge, in Flash 8, it is still 0 to 100.
No, that was the problem: In the Flash 8 authoring environment, you set
a 0-100 percentage. But in Actionscript 2.0, the
DropShadowFilter.
Alan MacDougall wrote:
After I create a clip with attachMovieClip, I attempt to write a
DropShadowFilter to it using the following code:
var shadow:DropShadowFilter = new DropShadowFilter(
5,// distance
45,// angle
0x66
After I create a clip with attachMovieClip, I attempt to write a
DropShadowFilter to it using the following code:
var shadow:DropShadowFilter = new DropShadowFilter(
5,// distance
45,// angle
0x66,// color
julian atienza wrote:
but i'm not sure if it's going ok... at least now i haven't to make
another load but... i think the thumbnail is scaling the portion of
big image i see in screen, not the whole image...
That might be a limitation of Flash. I'm not sure what happens when
MovieClips and
natalia Vikhtinskaya wrote:
Hi
I thought it simple but that does not work.I am trying to show long dash
c="a — b"
txt.html=true;
txt.htmlText=c;
But that does not work. What am I doing wrong?
Thanks in advance
Flash actually only displays a few HTML entities:
<
>
"
& (I think)
and one other
julian atienza wrote:
Image is 72Mb.
This is your first problem. I can't think of a single reason you would
have to load a 72 MB image into Flash. Could you tell us a little more
about your application?
___
Flashcoders@chattyfig.figleaf.com
To
Dave Mennenoh wrote:
To avoid loading twice times the image (first in 100% and second in
"thumbnail" navigation image) ... how could i copy content of first
movieclip to second one with fixed size?
You can't really, but since the image is cached once it's downloaded
the first time, loading it
julian atienza wrote:
To avoid loading twice times the image (first in 100% and second in
"thumbnail" navigation image) ... how could i copy content of first
movieclip to second one with fixed size
I did something similar to this while trying to implement my own
Bitmap-based magnifying glass (fo
And another point: Suppose you start out making something as a public
field and then later realize you need to restrict its value in some
way. With properties, this change will make absolutely no difference
to the rest of your code. Without properties, you will have to change
every instance of "
Further derail! What are people's thoughts on implicit vs. explicit
accessors? I prefer explicit ones, but I confess that it's almost
entirely because I learned Java before Actionscript. You can't argue
that explicit setters are required for a "serious" language, because C#
prefers implicit set
Dave Mennenoh wrote:
Lots of programmers never need design patterns as they don't help much
unless your architecting large apps, and lots of Flash programmers
aren't developing those kinds of apps. Keeping your code organized
however should be taught from day one and certain oop concepts are
Jer Brand wrote:
Uncompressed, yeah, that'd be ugly. But how does something like the
following (guesswork code) perform?
foo:BitmapData = new BitmapData() ;
/* put your image data in there, with whatever method */
bar:ByteArray = foo.getPixels(myImageRect) ;
var.compress() ;
Again, mostly aski
I don't think you need to call it procedural. Just call it the basic
building blocks that they will need for OOP (or procedural, for that
matter).
There's not that much difference, really, between OOP and procedural. OOP
just encapsulates chunks of procedural code and its data.
This is the corre
Start small and work your way up. You don't need classes until the
functions start to get unmanageable. That won't happen until you've
thoroughly covered variables and control structures. By the time classes
are necessary, the students should be relieved to have a way to organize
their forest o
Jer Brand wrote:
Coming from someone who's never done this, and doesn't know if it's
possible, but:
Would it be possible to capture your user created design in BitmapData (I
was fairly sure there's a method to extract pixel info from a MovieClip,
correct?) then transmit that back to the server a
bassam mohaisen wrote:
Hi all
I'm trying to do e-tshirt design where the user can desgin his shirt and add
text or images so I need to know how can I save the design as image or swf for
the design how can I take screenshot , if somebody know the concept and the
code .
all the text and photos w
Ron Wheeler wrote:
One of the best books is Head First Design Patterns.
Really nice code. Well explained and shows how to get a lot of mileage
out of code through thoughtful design.
It will make you a better coder and get you thinking about design in
new ways.
He was talking about graphic desig
Marcelo de Moraes Serpa wrote:
Hello folks,
I'm currently mainly a coder, but I also love graphics design and design in
general. I would love to improve my overall design awareness. Does anyone
have any book (or any other resource such as website, magazine, mailing
list, whatever) to recommend ?
Hans Wichman wrote:
Hi,
when the superclass has a default contructor without parameters, there is no
need to call it explicitly.
I'd like to turn it around though, no matter what or how you have defined
them, always call them explicitly for clarity's sake and self documentation.
So if the sup
Compare these two situations:
class SuperClass
{
private var list:Array;
public function SuperClass()
{
list = new Array();
}
}
class SubClass extends SuperClass
{
// when instantiated, the list variable is automatically initialized
}
This is as it should be. The superc
Steven Sacks wrote:
If you do not do anything with an imported class, Flash will not
compile it.
Or, to take it a step further, make a class named ClassRegistry (or some
such), which defines but does not instantiate private static instances
of every class you want to load dynamically. Then ju
Omar Fouad wrote:
is there a way attach a library item from a loaded swf. I think this would
be the best solution...
This suggestion hits close to the correct answer. Really, if your
library is so big that it's killing your app's startup time, your wisest
option is to load the items on dema
Volker Scarpatetti - Advertis Interactiva wrote:
Hi !
Is there a way to know how many lines are written in a textArea component
when filling it up dynamically ?
This is not a perfect solution, but if you know the TextField.textHeight
when there is a single line, you should be able to do a
mx.core::BitmapAsset") {
returnBitmap = new assetClass();
}
return(returnBitmap);
}
Hope it helps,
Alan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chat
Micky Hulse wrote:
Pedro Taranto wrote:
if you want to return diferent types in one function you dont specify
any return data type
Ah, sounds good to me. I was not sure if it was bad practice to not
specify a type.
Well, if you want to write strictly, and if you're interested in exactly
wh
John McCormack wrote:
Consider a Point variable pt:Point(100,200). This generates calls to x() and
y() as expected. But the debugger intialisation of pt causes an uneccessary
call to pt.length() and this inappropriately reset the variable Changed. Why
are getters and setters called uneccessar
Omar Fouad wrote:
com.xfactorstudio.xml.xpath??? where can i get it???
Well, XPath is just one way of searching through an XML document to get
specific nodes. As you might guess from the package name, this
particular implementation can be found at www.xfactorstudio.com . You
can learn more ab
Alan MacDougall wrote:
This looks completely straightforward and identical to Java... but
when I do it, it catches the generic error. Now, obviously an Error
instance is getting caught, which means one is getting thrown, which
means my InvalidPathFormatException IS being recognized as a
Omar Fouad wrote:
I am doing some application on flash that uses an XML file to store
data...
This application has a search form. I understand how to get through
the xml
by loops but i can't figure out how to get flash to know if this
"word" is
included within the xml nodes or not... Any simpl
Okay, here's one for you. I extended Error with a very simple specific
error type, like this:
class com.mycompany.exceptions.InvalidPathFormatException extends Error
{
public function InvalidPathFormatException(message:String)
{
if (message != null)
{
this.message = me
Chris W. Paterson wrote:
this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes;--- this is
how I am trying to
access the content of that node.
First off, I'm guessing I should use .nodeValue? Will that give me the entire
node with
""? Is it even possible to read the html value fo
Danny Kodicek wrote:
The only method I can think of that might do what you're looking for is to
have some of the actual code work on the server. So for example you'd do
something that has a fundamental effect in the game, but you make its code
run on your server instead of on the client and just
There's a constant demand for SWF obfuscation -- any good application,
especially things like standalone games, is a ripe target for theft and
rebranding. *cough ebaumsworld cough* And business clients are often
afraid of plagiarism by real or imagined rivals: if they didn't want to
be the firs
So, coming off the enterFrame() tween discussion, a lot of people
mentioned various tweening libraries. I still use Fuse, which has proven
extremely capable for my purposes; are there any pressing flaws in Fuse,
or benefits in the other packages, that might convince me to change?
_
2007/7/16, John laPlante <[EMAIL PROTECTED]>:
> I'm writing a component and have created a MovieClip with
> createEmptyMovieClip. When I try to create sub-MovieClip inside the
> first MC with createEmptyMovieClip, it is undefined. This must be a
> basic Flash thing. I haven't used createEmptyMov
Van Tuck wrote:
List ->
A client is inquiring about a web-based system that would allow the
user to type in a question, have the algorithm compare the input
character-by-character to a predefined list of answers until all but
one answer had been removed and the correct answer returned.
Basi
archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_
We have a very interesting project coming up where we'd like to bring in
a Flex developer to work a day or two per week on site and a day or two
per week wherever you work best (home, our office, your garage, etc...
sorry Tahiti's not an option.) Essentially we would be looking for a
fair amount of
~o ~o ~o ~o ~o ~o ~o ~o
Looking to get support from a full time or contract Flash developer who
is ideally located in or near New York City.
We are an award winning interactive development shop with an amazing
team of talent and some very interesting projects on the horizon.
We are look
are complete, so if you're interested,
send me an email with links to your work and what-not and we can
discuss the details.
thanks!
Alan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
hi all,
Is there a way to detect a mouseup outside the browser window in
AS3? Or are mouse events trapped to the stage?
thanks!
Alan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http
I use BBEdit along with a custom Applescript to compile my AS3 with
mxmlc and then view the resulting build (if successful) in Firefox.
In BBEdit, I set up Apple-Return to run the script so it's just like
using the Flash IDE (but better).
Alan
On Dec 13, 2006, at 1:22 PM, flashc
[EMAIL PROTECTED]> wrote: You need to use :
var text:String = '1 < 2'
this.tfTest.htmlText = text;
< stands for <
> stands for >
Alan Queen wrote: I have a textfield with html turned on.
There is a case where I need to actually show a less than (<) sign in
xt;
this will only display "1"
--
- Alan Queen
___
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
Premie
opportunity to completely blow out some great
work.
You can check out some of our recent work at www.siite.com.
Thanks for your consideration and I hope to chat at some point soon.
Kind regards,
- Alan
P.S. If this is the wrong forum to be recruiting I apologize. -
I'm loading an external swf at runtime from a different domain,
and the loaded swf is doing some resizing when the Stage is resized..
I'm trying to prevent the loaded swf from doing this... is there a way?
--
- Alan Queen
___
F
I'm also going to work on this capability soon, and my search led to:
http://chakramedia.com/deeplink-backbutton/index.html
-A
On 7/25/06, Radley Marx <[EMAIL PROTECTED]> wrote:
I've found a couple of sites that seem to work:
http://www.orange-project.com/
http://www.redb
something similar in Director a few years ago and ended
up having to rename my php script to proxy.jpg and editing
my .htaccess file for that directory to execute a .jpg as a php
script (using AddHandler, IIRC).
Perhaps this is Flash's issue a
1 - 100 of 170 matches
Mail list logo