This will happen if elements.length is undefined. i will never equal
undefined. Use i elements.length
P
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of daniel
Sent: Tuesday, July 10, 2007 11:52 PM
To:
I needed a text field which only accepts letters, digits, spaces, or a
dollar sign or underbar, so I set the restriction attribute as:
textfield.restrict = A-Za-z0-9 _$
OK, then I needed to add accented characters, so I added:
textfield.restrict = A-Za-z0-9 _$\u00C0-\u00d6
Now, the text
System.setClipboard()
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Corban Baxter
Sent: Monday, June 25, 2007 10:16 AM
To: Flashcoders mailing list
Subject: [Flashcoders] copying text to clipboard?
Hey guys a client is wanting me
Are you testing this within the IDE? Just a guess, but perhaps you need
to ControlDisable Keyboard Shortcuts
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Danny Kodicek
Sent: Thursday, June 21, 2007 7:11 AM
To:
Does FLEX include a SOAP-based web services component? Does it work
better than the buggy MX component (i.e. huge memory leak)?
We have shied away from Flash Remoting for the time being; I'm simply
looking to determine if there is support for SOAP web services.
Pete Miller
Sounds like the second class should be the base class. Extend the
larger from the smaller.
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Helmut Granda
Sent: Monday, May 07, 2007 4:10 PM
To: Flashcoders mailing list
Subject:
Is dataProvider.sortOn a proper method? Do you want
dataProvider.sortItemsBy instead?
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Thursday, March 15, 2007 1:16 PM
To: flashcoders@chattyfig.figleaf.com
I thought this was as easy as:
String.prototype.traceFoo = function():Void {
trace(foo);
}
var s:String = new String();
s.traceFoo();
But that results in an error, There is no method with the name
'traceFoo'. Well, duh, traceFoo doesn't exist until the code executes,
but how do you
the Adobe class and the Core2 class.
eKA+ :)
2007/2/13, Pete Miller [EMAIL PROTECTED]:
I thought this was as easy as:
String.prototype.traceFoo = function():Void {
trace(foo);
}
var s:String = new String();
s.traceFoo();
But that results in an error
Just to fuel your query, how does it affect the user to know whether
they are 'get'-ing from a variable or a function call, encapsulation
considered?
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Holth, Daniel C.
Sent: Tuesday,
in the Xray UI,
or
rolling over it, gives you the same effect as clicking/rolling over
the
control on the stage. So the question is, what happens when you click
the
control on the stage?
Karina
-Original Message-
From: Pete Miller [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 20
in the Xray treeview generates a similar
response
as clicking on it in real.
K.
-Original Message-
From: Pete Miller [mailto:[EMAIL PROTECTED]
Sent: 05 February 2007 16:38
To: Flashcoders mailing list
Subject: RE: [Flashcoders] XRay freezes controls?
I'm publishing to AS2.0
: Pete Miller [mailto:[EMAIL PROTECTED]
Sent: 05 February 2007 17:39
To: Flashcoders mailing list
Subject: RE: [Flashcoders] XRay freezes controls?
Therein is my problem. Once I click on an item in the
treeview, the corresponding item in the movie becomes locked
up; it no longer responds
I'm trying out XRay for the first time, and it seems that after taking a
snapshot, when I click on an item in the UI to examine its properties,
that control becomes disabled (no longer responds to mouse events)
anymore. If I examine the properties of an mc containing controls, the
entire mc is
Without looking up the source of that formula (i.e., just based on what
you wrote), I determine this: that in order for the result of
multiplication to be negative, one of the terms containing subtraction
must be negative. In order for that to occur, one side of your triangle
is longer than the
Another possible strategy is for the ball to fire off an event every
time it crosses certain vertical location thresholds. The target
objects could then listen for the event which matches their vertical
location to test for a collision.
For example, when the ball descends to the row containing
an event system like this in games? It
seems
like a good idea, but for some reason I always thought this approach
would
introduce unnecessary latency, but now I'm not sure why!
-Scott
On 12/13/06, Pete Miller [EMAIL PROTECTED] wrote:
Another possible strategy is for the ball to fire off
Are you by any chance trying to set the selectedIndex before the
dataProvider array has been filled? Presumably myTrack_Pos is known
immediately via the URL query-string, but the datagrid needs time to
become populated (via XML?).
-Original Message-
From: [EMAIL PROTECTED]
=fopen(myxml.xml,w);
fwrite($fp,$HTTP_RAW_POST_DATA);
fclose($fp);
?
! -- END PHP --
On Nov 9, 2006, at 2:49 PM, Pete Miller wrote:
Learn PHP is still on my to-do list, and now I'm fumbling my way
through a few simple PHP scripts. I simply want to send an XML object
to a PHP script
My application starts with a user login/authentication. I want to
implement an idle user process that logs the user out after X amount of
time of no activity.
The most obvious way I can think to do this is to start an interval
timer, and keep reseting it any time a widget is used. That means
Additionally, the reason you must create a function is because, as you
put it, it is something that one will use again and again. Not in the
way you understand it however.
The XML class definition knows that there is (should be) a function
called onLoad() that it must call when it successfully
You tripped, exactly the way I described earlier, by accessing
external_xml right after calling Load(). Wait until onLoad() is called
before doing anything with external_xml. You should trace the XML
object inside the onLoad function:
external_xml.onLoad = function(success:Boolean) {
if
Learn PHP is still on my to-do list, and now I'm fumbling my way
through a few simple PHP scripts. I simply want to send an XML object
to a PHP script that will write it to the server. What PHP function
will catch the end result of a XML.send() function? No need for too
many details, I'll read
I wuz a noob once. I cured it by hanging out with non-noobs.
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Thursday, November 09, 2006 5:36 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Noob,
maxIdleTimeExceeded(nDiff:Number){
trace(Method 2: You've been idle for +nDiff+ seconds. Get
Moving!!!);
}
*/
// END USAGE
On Nov 9, 2006, at 1:45 PM, Pete Miller wrote:
My application starts with a user login/authentication. I want to
implement an idle user process that logs the user
My backend server is changing its web service component from an
RPC/encoded binding to document/literal, and Flash is producing an odd
result when sending complex objects.
The short story is this: the object that I'm sending as a parameter is
complex; it contains an array of objects. It
Pressing your button causes the code to create the delegate function,
not execute it. You want the result of Delegate() to be stored as the
onRelease function. Do this:
this.mcButton.onRelease = Delegate.create(this.objRef,
onClick)
P.
-Original Message-
From: [EMAIL
Check your algebra,
Since sin(a) = y/r, then y = r sin(a), etc.
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Jayson K Hanes
Sent: Sunday, October 22, 2006 7:42 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders]
Get rid of the extra period
_root.mainMC.auto.subMC.[textField+i].text =
^
^
_root.mainMC.auto.subMC[textField+i].text =
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED]
I'm having the same problem and I don't think it was answered. How do I
tell FlashDevelop/MTASC what/where my packages are? If my class path is
MyDirectory, and I
import components.*
from MyDirectory/components, how do I add this to the setup? I've tried
several combinations, but haven't hit
Hi Pete,
check out the project page for flasc, there are video's available
that
demo
it.
In addition as mentioned before, FlashDevelop wraps around mtasc too.
greetz
JC
On 10/13/06, Pete Miller [EMAIL PROTECTED] wrote:
This looks great, but I can't figure out how to create a project
This looks great, but I can't figure out how to create a project in
FLASC. Specifically, it asks me to create a batch file first.
What batch file? What it is looking for?
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Steven Sacks
RTFM has been an obligatory response since the day we started using
the Internet to ask questions. Its not just programmers.
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of slangeberg
Sent: Friday, October 06, 2006 1:11 PM
To:
A preloader by definition is a short, small movie that loops endlessly
until the swf is completely loaded; the load-end stops the movie.
You're describing a movie that wants to end when it reaches its last
frame. What does it have to do with the load process? You cannot
guarantee which will end
And a preloader for the preloader's preloader...does Zeno's Paradox
apply here?
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Aaron Roberson
Sent: Thursday, October 05, 2006 1:57 PM
To: Flashcoders mailing list
Subject: Re:
If someIndex != 0 then you have to
foo[someIndex] = new Object();
foo[someIndex].typ = B;
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Thursday, September 28, 2006 1:26 PM
To: Flashcoders mailing list
Try putting a saveResultObj.onFault() handler in your code to see if
you're getting a failure response. Note that if your server responds
with a 505 HTTP header, your fault handler won't see it, as the Flash
player filters these out. You need a TCP snoop utility to monitor the
messages passed
I think you probably want parenthesis around your typecast, as
var label:Label = (Label)(owner.attachMovie(Label.symbolName,
instanceName, depth, initObj));
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Lieven Cardoen
Sent:
Try tracing the value that you get from getNextHighestDepth(). If the
result is 1048575, you are incorporating v2.0 components, which causes
getNextHighestDepth() to be less than useful. Use DepthManager instead.
This pointer isn't entirely related, but might help explaining why:
I picked this book up after thumbing through it and deciding that one or two
chapters would solve a problem I had. Later, when I read the entire book, I
realized that the XML layout framework described by the author is quite
useful. I am currently using it in a next-gen version of a project
40 matches
Mail list logo