Hi!
I'm new to AS2, and I'm trying to convert some old AS1 code to AS2. This
code uses XML.prototype to add functionality to the XML class (which is
based on the XMLNode class, but you knew that already). I'm creating a new
class like this:
dynamic class core.EXML extends XML {
}
This new XML
added methods in your extended
class...
Hope that helps.
Jan
On 1/4/06, Rifled Cloaca [EMAIL PROTECTED] wrote:
Hi!
I'm new to AS2, and I'm trying to convert some old AS1 code to
AS2. This
code uses XML.prototype to add functionality to the XML class (which is
based
All,
Is there a way to get the instance name of a class from within the class? I
need to refer to a variable by its absolute targetPath, but the instance
name of the class is not known until runtime.
class Foo {
var results:String;
var resultVar:String;
function foo () {
Hi!
I've got a class that is linked to a symbol, and I'm instantiating it within
a parent class.
var myComment:Comment = new Comment(
_level0.comments.attachMovie(CommentSymbol,comment,1), // attach
Symbol associated with this class
ADOdata.queryResults // send query results to be parsed
All,
Thanks in advance for answering this:
I have a class that extends the MovieClip class, and I want to instantiate
it in an empty movieclip.
I tried:
myEmptyMC = new ExtendedMC(_parent.createEmptyMovieClip(foo,1));
But it didn't work. Any ideas?
Thanks again!
-g
All,
Does anyone know if it's possible to create a LocalConnection between a SWF
file and a Visual Basic App? If so, are there any open source examples out
there? Thanks!
-g
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or
to the VB app via that LocalConnection proxy SWF
embedded in VB.
- Original Message -
From: Rifled Cloaca [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 26, 2006 6:21 PM
Subject: [Flashcoders] LocalConnection from SWF - Visual
Flashcoders,
With Flash 8, is there a way to turn a bitmapped movieclip into a PNG or
compress it somehow to send it back to the server as a bitmap at runtime? I
imagine you could send it as raw bitmap data, but it would be quite large.
Thanks!
-g
All,
I'm reading a SMIL file, and it has regions with - in an attribute
name (z-index).
Obviously, if I refer to the attrib explicitly, like
XMLnode.attributes.z-index, it'll read that as a minus. Should I use
XMLNode.attributes[z-index]? Is this kosher?
Thanks!
-g
Hi,
I'm trying to do something that would seem to be very simple, and yet it
doesn't work. I'm binding a class to a symbol in the library. This symbol
will be instantiated at runtime. The class extends MovieClip. I've added
the classpath, and added the class in the linkage panel.
I create
so you just
aren't seeing the movieClip?
A few things to try.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rifled
Cloaca
Sent: Friday, May 19, 2006 1:26 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Binding a Symbol to a Class
Hi,
I'm trying
All,
I'm masking a MovieClip with an alpha mask using cacheAsBitmap. The
MovieClip has a dynamic text field inside it that I populate at a later
time. When I play the movie, the area where the textfield is remains
empty. If I drag the corner of the player to resize the movie, the text
in MTASC, and it loads in modules created in the Flash
IDE.
On 5/22/06, Vivek lakhanpal [EMAIL PROTECTED] wrote:
Try embedding font for the textfield.
Thanks,
Vivek
On 5/23/06, Rifled Cloaca [EMAIL PROTECTED] wrote:
All,
I'm masking a MovieClip with an alpha mask using cacheAsBitmap
for the V9 player.
On Tue, 23 May 2006 11:42:35 -0300, Rifled Cloaca [EMAIL PROTECTED]
wrote:
I've embedded the font, naturally. I'm getting extremely buggy
behavior.
Sometimes the textfield will appear partially... only the right half of
the
textfield, but most of the time, not at all
Flashcoders,
So this is one of those things I wonder about. If I type a var to a custom
type, doesn't the compiler automatically import the associated class files?
When or why would I need to explicitly need to use the import directive?
Thanks in advance!
-g
Derek,
Where did you place those imports? On the timeline, or in an external AS
class file? Would it make a difference?
-g
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
How Design would be a Graphic Design forum, yes? From my experience,
graphic designer freelance rates are much lower than an advanced Flash
developers would be.
Yours would be on par with web/application developer rates.
-g
On 6/1/06, Brian Mays [EMAIL PROTECTED] wrote:
Mostly a graphic
Flashcoders,
Has anyone used OpenLazlo to develop desktop-based applications, using the
compiled SWF in an alternate projector like SWF Studio? Does anyone know if
this is even possible?
Thanks in advance,
-g
___
Flashcoders@chattyfig.figleaf.com
To
Flashcoders,
I know it's possible to read from a CDATA tag in Flash... but is it possible
to create a CDATA text node via Actionscript?
Thanks in advance,
-g
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the
Or you could create a SWF using MTASC or the Flash IDE, and replace the
variables after it is published like this guy does:
http://www.neurofuzzy.net/2005/01/27/swf-recombination/
On 7/16/06, Mike Britton [EMAIL PROTECTED] wrote:
I would build a wrapper MovieClip class extension for your
_root.somethingOrOther
thx, jeff
On Jul 18, 2006, at 3:11 PM, Rifled Cloaca wrote:
Or you could create a SWF using MTASC or the Flash IDE, and replace
the
variables after it is published like this guy does:
http://www.neurofuzzy.net/2005/01/27/swf-recombination/
On 7/16/06, Mike
FlashCoders,
I've recently been upgrading some old Flash MX code to Flash 8, and have
been running into issues where properties return 'undefined' instead of
'null'. I seem to recall that undefined was introduced in Flash 7. I've
always been confused about when something is undefined versus
This is particularly annoying:
In files published for Flash Player 6 or earlier, the value of
String(undefined) is (an empty string). In files published for Flash
Player 7 or later, the value of String(undefined) is undefined
(undefinedis converted to a string).
Why convert 'undefined' to a
Yes, and
void(null) / 0
Will format your hard disk.
On 7/19/06, janosch [EMAIL PROTECTED] wrote:
Thats very strange, but in usual case you do not check for the pure
value, but for the value, saved in a variable:
a = foo;
trace(!a); // false
Janosch
Mike schrieb:
That's what I
With SSL, you need to use POST to send info, since Flash uses the browser's
POST transport for it, so the browser handles the encryption.
If you're using PHP and Sessions, you need to set your session_cache_limiter
in your PHP.INI (or using ini_set) from none to public or private, or
nothing
All,
I'm developing an imageloader component, and I want to be able to load
external images into the livepreview. The problem is, it doesn't seem to be
able to find the images. It's as if the location of the livepreview is not
relative to the FLA file. Any clues on how to set this?
Thanks!
All,
I have a large XML document with unique ID attributes that I'd like to
access via the ID shortcut, like so:
trace(myXML[3]);
returns:
myxmlnode id=3...
It works fine when I publish to Flash 6, but publishing to anything greater
returns undefined.
Any thoughts?
Thanks in advance!
So the Flash docs say the FileReferenceList isan Array, but it doesn't have
the array methods? What's the best way to sort the contents of the array?
The reason I ask is that the files don't always come in in any particular
sort order, like alpha by name.
Thanks in advance!
Hi FlashCoders,
I'm just getting started with Video, and I'm adding it to a project I'm
developing in FlashDevelop, compiled from AS (no FLA). Is there a way to
attach Video to an object using only code? The Flash Docs say you need to
place a Video Component on the stage... I have no stage...
All,
I've noticed Revver.com's Flash video embeds don't load content on
long pages until the user scrolls down. Does anyone know how this is
done? I can imagine one could do it with Javascript, but most sites
don't allow embedding javascript, so I imagine it's done a different
way. Any ideas?
30 matches
Mail list logo