PM, Jason Boyd jayb...@gmail.com wrote:
You are asking a key question with AS3. Cleaning up movie clips is
*hard*.
There is a list of things that must be done, and they've made it hard to
do
all that.
Here's a decent place to start reading:
http://www.gskinner.com/blog/archives/2008
You are asking a key question with AS3. Cleaning up movie clips is *hard*.
There is a list of things that must be done, and they've made it hard to do
all that.
Here's a decent place to start reading:
http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html
2009/1/14 Joel Stransky
Just Another Handle --
Do we work in the same team? : )
I second the question. The team I am on is trying to solve the same
types of issues. What I've dug up so far has led to the following
conclusions:
- There are [too] many ways to deal with fonts, text, and styles in
Flash/Flex. The list is
of the Flex libraries. In fact, I'm confused as to which libraries
are and are not available by default in CS3, since components
themselves use things like UIComponent, which is documented as part of
Flex.
Thanks for any help!
Jason Boyd
Extra credit questions:
[Embed]ding SWFs and SWF Symbols
Thanks Ian! Helps clarify a lot!
-Jason
2008/12/23 Ian Thomas i...@eirias.net:
Caveat: I believe there has been some progress recently on the use of
Flex components created as .swcs for use within Flash CS4. You'll
probably need to look on Adobe Labs for more info on that.
Other than that,
I'm new to the FLVPlayback component so sorry if these are trivial
questions, but I'm confused about how to create a Flash Video player that
doesn't scale the controls when resized. Do I need to explicitly do some
9-point scaling settings somewhere? It's ironic that Flash is based on
vector
Check the source file's bitrate and codec to see that it is supported?
On 2/12/07, Elena Blanco [EMAIL PROTECTED] wrote:
Hello, please keep me from breaking my monitor... I have a batch of 40
identically compressed mp3 clips that I imported, I wish to use imported
mp3 quality on all of them.
Um. I think we'd need to see more code. For instance, wht is resultTemp
assigned?
Although, this:
allTextData[id].[0] = resultTemp;
is bad syntax. Should be:
allTextData][id][0] = resultTemp;
Also make sure you actually create new Array objects before assigning to
them.
On 2/11/07, Nicola
Respond to a mouseMoved event, track the last mouse position, draw a stroke
from that point to the new point (using the MovieClip drawing API), save the
old point in an array, update lastX and lastY to this point, repeat. When
done, you have an array of the points use to make the drawing. Capture
I didn't get any repsonses with my earlier post. Here's a shorter version.
Is anyone using embedded event sounds in ActionScript 3?
The published docs do not make clear how one is supposed to replace
attachSound(), as they only give a Flex example, which in itself is
screwy in that it requires
by the Class...
Jason Boyd wrote:
I didn't get any repsonses with my earlier post. Here's a shorter
version.
Is anyone using embedded event sounds in ActionScript 3?
The published docs do not make clear how one is supposed to replace
attachSound(), as they only give a Flex example, which
Well it appears this is the shortest way:
var chromaticNames = ['a','aS','b','c','cS','d','dS','e','f','fS','g','gS'];
var loadedSounds:Array = new Array();
for (var oct=1; oct6; oct++) {
for (var n=0; nchromaticNames.length; n++) {
var sndClass:Class =
___
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
I get a blank page. I have scripting turned off by default (using NoScript
extension with Firefox).
When turning scripting on, my first question is: how are the classes
generated for actual code text on any old webpage? Does this apply to any
code block, or what? I guess in general, how is it
By which I mean of course, hehe.
Gmail sent an empty message for some reason.
On 2/7/07, Jason Boyd [EMAIL PROTECTED] wrote:
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http
Hmm ok.
I think what I'm getting at is that to really be useful, it ought to scan
the document for code elements, then parse the text of these nodes,
applying styles (or adding classed span tags or whatever) to the words
based on a look-up of keywords, and syntax checking etc. This way, it truly
This has disadvantage that if the user has javascript disabled, might fail
silently. Though I know of no other way to do this.
On 2/7/07, Jim Berkey [EMAIL PROTECTED] wrote:
I've used this on a flash button embedded in an html page with success:
on (release) {
Check out the BitmapData class, specifically the static loadBitmap(id)
method for creating an instance from a library symbol, and getPixel() which
allows checking individual pixel values.
I would think an algorithm that would work would be to iterate through the
display list, do hitTest() on
Also, just looking this up made me notice that as of Flash 8, you can do
pixel-level hit detection between not only a bitmap and a point, but 2
bitmaps, with alpha threshold support!
BitmapData.hitTest()
On 2/7/07, Jason Boyd [EMAIL PROTECTED] wrote:
Check out the BitmapData class
My understanding is that it's the default behaviour of a clip with
any mouse events handled at all, that the cursor changes when it
enters the clip.
Oh right, sorry. So I wonder if it is possible to override this by
definining an onMouseOver and changing the cursor to the default one?
If I were looking for the super-ideal correct algorithm and hade infinite
coding monkeys, I would at init time create bitmaps of every library item,
and use flood-fill combined with trig math to generate vector trace shapes
of the non-white areas, which I would draw as zero alpha shapes into a
Good point. Yeah I'm tired.
On 2/8/07, Keith Reinfeld [EMAIL PROTECTED] wrote:
The code to
convert a bitmap into vectors would be the tricky part, but is
technically
doable.
ModifyBitmapTrace Bitmap...
-Keith
http://keithreinfeld.home.comcast.net
I was just perusing the Flex/Flash API docs online, and noticed some
changes in AS 3 to the Sound class which alarm me. An application I am
working on now has essentially a simple wavetable synth, which has a
lot of assets named by note (e.g. c#4), and at runtime instantiates
a bunch of Sound
It's possible you are getting confused in further details about event
handling. There is some invisible stuff happening here that goes
beyond just understanding classes and objects. Buttons and MovieClips
are registered listeners of mouse events automatically. What this
means is that an event
.
greetz,
JC
On 2/5/07, Jason Boyd [EMAIL PROTECTED] wrote:
This looks quite promising. One question: it looks like it is
impossible to get reflection on classes in the default package, as
ClassFinder.registerPackage() requires some base package name? Serves
me right for having stuff
There is some issue with Macs where things run slower than the PC
version unless you use the magic frame rates of 21, 31, 41, 51, etc.
Doesn't sound like that's the problem, but just a thought.
Cool asteroids. My Pac Man is in progress:
http://clickandhum.com/portfolio/pacman.html
On 2/5/07,
I have not found great reference on some questions I have about
desiging classes and architecture around Flash's architecture. Partly
this involves not fully understanding how Flash loads classes:
1. Load/init ordering: When do classes load, and when do static
initializers execute? If a class
David, Thanks.
Yeah I'm reading Essential Actionscript (Moock) right now, and he does
somewhat reduce confusion. Part of the problem is that older methods
that have sort of been practically deprecated by AS 2 are still given
out by others (#initclip and registerObject() ) are confusing as they
OK this is making me nuts. It seems to be an impossible scope problem,
to do something that ought to be very very possible, and in fact
common. The basic problem: I want to have initialization code in a
Main class that hooks up GUI controls to methods in this class (acting
as a controller class
Thanks all. That oughta do 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 Leaf Software
Premier Authorized Adobe
I'm having some weird behavior. The short version is, when I edit one
of my classes, and re-run the FLA in the IDE which absolutely is
dependent on this class, it is not getting the new behavior, and is
clearly running some older version of the class. Is there some reason
the IDE would get
I think I know the answer, but...
Is there any way to get a stack trace programmatically? I've got a
simple assert function, which terminates script execution on fail, and
it would be sooo helpful to be able to print a stack trace, instead of
having to *tell* the assert function where it is
32 matches
Mail list logo