You need to use :
var text:String = '1 < 2'
this.tfTest.htmlText = text;
< stands for <
> stands for >
Alan Queen <[EMAIL PROTECTED]> wrote: I have a textfield with html turned on.
There is a case where I need to actually show a less than (<) sign in
the text field itself... but assigning i
I have a textfield with html turned on.
There is a case where I need to actually show a less than (<) sign in
the text field itself... but assigning it dynamically just hides
anything after the <...
any ideas?
example:
var text:String = "1 < 2";
this.tfTest.htmlText = text;
this will only di
ive found that when i use ExternalInterface to call a JS alert, that my
movie will often hang. I get the JS alert like i should, no JS errorsit
just locks up the swf. without having the time to dig deeper, i found a
quick fix, and called the alert with a setTimeout, like this:
ExternalInterf
Hi all,
I am trying to dynamically set a particular item in the list
component, but it does not seem to work at all.
Here's what I'm using:
songList_lb.selectedIndex = myTrack_Pos+1;
songList_lb.dispatchEvent({type:"change", target:songList_lb});
Any ideas?
Thanks!
--
Carl Welch
http://www.c
Whoops! I didn't actually run this test code, just abstracted from my
problem and spat it out.
I guess my buttons are not instantiated like I thought they were.
I'll take another look.
Thanks JC--"override" must be applied to any protected or public
method that is overridden in a subclass
I've run into something similar where events fire differently in
different circumstances. In my case it was the sound.load event, and
the problem was I was calling .load just before adding the listener.
Switching it to add the listener before calling load (which is the
more sensible way of
Ot sounds like it has to do with asynchronous events happening in
different orders.
Try this--when the XML loads, set a "loaded" flag on the dispatcher to
true and then dispatch a "load" event. Your listeners should:
1) Check if "loaded" is true.
2) If so, proceed.
3) If not, listen for the "load"
i'm very interest in this , i want to detailed understand this!!!
赵洪日
2006-11-15
发件人: Joe Cutting
发送时间: 2006-11-14 18:59:55
收件人: flashcoders@chattyfig.figleaf.com
抄送:
主题: [Flashcoders] Best hardware for Flash
Hello,
I'm looking into specifying hardware for running Flash projector
based
I've come across something for the first time...
at first I thought it was my code but...
My application loads xml, then dispatches a build event to another class which
attaches clips from my library.
The application ALWAYS works if i launch the swf directly.
The application also ALWYAS work
Hi,
I'm trying to have flash plot some data and then allow the user to select an
area in the plot, press a button corresponding to some function, and then
pass the user selected coordinates to that function.I'd like the
selection to be done much like a rectangular select box in standard window
Hi,
1. I have a main flash file which loads external SWF's when a particular tab is
clicked on. This main file is embedded in an HTML page. All the data is coming
through the XML file, including the fields that need to be populated in the
SWF's loaded externally.
2. I've assigned a global varia
I assume this is AS3 in Flash AS3 preview?
I tried your example code and it worked as expected, even when I
instantiated Subclass by a variable reference to the class. I have a
feeling you have made some mistake in your code... if not, could you
send a complete example, that we can just paste int
How big can be a resulset if you didn't do the query, or open a file or
wherever you do on the server side?
You can show a indeterminate progress bar. When result come back remove It.
On 11/13/06, Yehia Shouman <[EMAIL PROTECTED]> wrote:
If there's a way for the server people to add a content
JMH> However, what I want is to be able to see the results of certain
JMH> method calls on the objects in my dataProvider. Is there some way
JMH> to accomplish this feat without going berserk?
Why don't you use getter properties in your objects or
DataGridColumn.labelFunction?
Attila
I'm about to go ape over this, and strongly suspect I'm missing an easy fix.
I have an Array of complex objects which I want to display in a DataGrid. I
assign the array to the DataGrid's dataProvider. As expected, the properties of
the complex objects appear in the DataGrid.
However, what I wa
The rough cuts version is definitely worth the purchase, its only like 6
chapters but so much better written then the cookbook. Especially the Display
API chapter in essential.
From: "Paul Steven" <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2006 3:01
> In the Flash 9 Public Alpha, it's under Publish Settings >
> Flash > ActionScript Settings > Document class
Or if you have nothing selected it's in the properties panel
Or you can use Flash Develop or Flex Builder 2.
___
Flashcoders@chattyfig.fig
Rough cuts are available,
http://www.moock.org/blog/archives/000203.html
regards,
- ji\m/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Steven
Sent: Tuesday, November 14, 2006 2:00 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Let
Is Essential AS3 book out yet? I cant see it on Amazon.co.uk
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lori Hutchek
Sent: 14 November 2006 19:24
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Letting go of AS2 for AS3
Okay im in the mi
In the Flash 9 Public Alpha, it's under Publish Settings > Flash >
ActionScript Settings > Document class
―
Mike Keesey
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Lori Hutchek
> Sent: Tuesday, November 14, 2006 11:24 AM
> To: flash
Okay im in the middle of reading AS3 Cookbook, and Essential AS3. And i'm
having some trouble grasping the concept of the main class file {as in the root
package for the program you are constructing}, both books talk about this. But
are they talking about constructing applications using MTASC/mx
I've got this problem for the last couple days and could not figure out why.
The problem is when I have an iframe underneath a swf file, and any flash
buttons over the iframe area not working at all. And this problem only
occurs in FF. You can download the sample bug here:
www.actionscriptor.com
The problem is in how the FLVs are encoded. You have to encode with
keyframes on every frame. Once that's done, they should scroll fine
(although backwards is generaly chunkier than forwards).
―
Mike Keesey
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTE
Hello anyone know the actionscript for a button that will control a
video fast forward and rewind button that forwards and rewinds in a
smooth transition? I want to use it with an existing scrubber that is
working. The buttons are working but at present they only go back or
foreard based on 1 or 2
Hello anyone know the actionscript for a button that will control a
video fast forward and rewind button that forwards and rewinds in a
smooth transition? I want to use it with an existing scrubber that is
working. The buttons are working but at present they only go back or
foreard based on 1 or 2
'undefined' is not a string. Try:
var reliure_var;
if ( _global.pie_glo && _global.pie_glo != "" ) {
reliure_var = "&reliure="+_global.pie_glo;
var_glo.text = reliure_var;
} else {
reliure_var = ³²;
var_glo.text = reliure_var;
}
On 11/14/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote:
H
!== is strict inequality, it tests for the exact opposite of the strict
equality (===) operator.
My bad... I guess I never use the strict operators... Sorry.
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
Hi,
running your example shows: subclass init, as it should.
public override function init(){
trace ("subclass init");
}
whats the override keyword doing there?
greetz
JC
On 11/14/06, Matt Garland <[EMAIL PROTECTED]> wrote:
I was hunting a bug when I found this out:
class SuperClass {
publi
On 14/11/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote:
var reliure_var;
if (_global.pie_glo !== "" || _global.pie_glo !== "undefined") {
reliure_var = "&reliure="+_global.pie_glo;
var_glo.text = reliure_var;
} else {
reliure_var = ³²;
var_glo.text = reliure_var;
}
I can see two
i have sutch suspiction as well, but in that case how come theres nothing
like that on IE ?
doesnt make sence
2006/11/14, Muzak <[EMAIL PROTECTED]>:
If I'm not mistaken, blank/empty calls are made to either create a
connection or check if the service exists.
I'm not 100% sure about that though
!== is strict inequality, it tests for the exact opposite of the strict
equality (===) operator.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Mennenoh
Sent: 14 November 2006 16:52
To: Flashcoders mailing list
Subject: Re: [Flashcoders] >> Undefined
You have an incorrect not equal: !==
There's just one equal sign: !=
!== strict inequality operator
expression1 !== expression2
Tests for the exact opposite of the strict equality (===) operator. The
strict inequality operator performs the same as the inequality operator
except that data
can't understand... any explaination please?
Just guessing, I haven't tried anything like this with
localConnection, but it seems to be the same like with local
SharedObjects:
If you have MyClass in both SWFs, and send an instance 'foo' to the
other, try to set foo.__proto__ = MyClass.prototype
Hi all,
How is it possible to do the equivalent of this in Flash 9 AS 3:
var mc = _root.attachMovie("clip_" + variable, variable, depth);
I realise attachMovie doesn't exist and you have to instantiate a class,
but how do you do dynamically choose the class name?
Thanks,
James
___
RESOLVED!
This turned out to be a problem with Flash Player 9. When I rolled back to
8r22, everything worked beautifully.
A bug report has been filed with this example; thanks for reading.
-Chris Akins
___
Flashcoders@chattyfig.figleaf.com
To change yo
Nope... it seems that object.registerClass remains a link between AS1
class and a movieClip...
I can't get my object pass through the localConnection... :(
++
PiR
PR Durand a écrit :
Hi Martin
thanks for your answer... No I didn't, cause I thought it was
deprecated since we could use classes.
In the age of widescreen television and flat panels, is anyone on this list
deploying fullscreen stuff that is flexible in its display?
I'm just curious and was about to roll up a little class to handle the 2
aspect ratios.
- e.
___
Flashcoders@chattyf
If I'm not mistaken, blank/empty calls are made to either create a connection
or check if the service exists.
I'm not 100% sure about that though.
regards,
Muzak
- Original Message -
From: "Janis Radins" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Tuesday, November 14, 20
Hi Martin
thanks for your answer... No I didn't, cause I thought it was deprecated
since we could use classes...
I'll try this.
Thanks once more...
PiR
Martin Wood-Mitrovski a écrit :
did you use Object.registerClass ?
you have to register your types for them to serialize / de-serialize
wit
Something like this:
import flash.utils.getDefinitionByName;
var class : Class = getDefinitionByName ("clip_" + variable) as Class;
var mc : MovieClip = MovieClip (new Class ());
addChildAt (mc, depth);
Not tested.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] O
Sorry
Brain must be addled. Will definitely bring it in first thing
tomorrow...promise..
Ned
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janis
Radins
Sent: 14 November 2006 11:29
To: Flashcoders mailing list
Subject: [Flashcoders] Remoting blank requ
Object.registerClass is used to register types for a variety of purposes, shared
objects, local connections and remoting apart from the MC / class link usage.
Did you register the class at both ends? and are you sure its compiled into both
movies?
check this post from the archive
http://chat
I asked this question once. Check out the archives of my post:
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/055
709.html
- MM
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http:
myClip = _root.createEmptyMovieClip("appClip",1);
myClip.modifier = 5;
myClip.onEnterFrame = function(){
this._alpha-=this.modifier;
trace(this._alpha);
}
Why is that trace outputting uneven decimals, not integers?
- A
___
Flashcoders@chattyfig.f
You have an incorrect not equal: !==
There's just one equal sign: !=
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription o
Thanks, tried that, still no joy.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian
Thomas
Sent: 14 November 2006 13:31
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Italic text being chopped
Probably irrelevant - the only time I've had that hap
Probably irrelevant - the only time I've had that happen was just
something really silly - the text field was too short for the font
size. :-)
Ian
On 11/14/06, Adrian Lynch <[EMAIL PROTECTED]> wrote:
This is just a static text field. I changed it to dynamic and had a play
about with it's text f
I was hunting a bug when I found this out:
class SuperClass {
public function init() {
trace ("superclass init");
}
}
class SubClass extends SuperClass{
public override function init(){
trace ("subclass init");
}
}
if you create a subclass instances and cast it (or type its variable)
to the s
This is just a static text field. I changed it to dynamic and had a play
about with it's text format but no joy just yet.
Adrian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Trevor
Burton
Sent: 14 November 2006 11:57
To: 'Flashcoders mailing list'
Subject
Hi there!
using localConnection seems to totally "untype" an object, right?
so I use in a sending swf:
var myObj:MyType = new MyType();
// then filling object with values
I send my object to another swf via localConnection
and in my receiving method in my receiving swf :
trace (myObj insta
If it's Verdana then I doubt it's the font - my problem was with Channel 4's
custom font (you'd think they'd have spent some money getting someone to
create it correctly).
If it's only descenders getting cropped then have you tried outlining your
text boxes to see if there's anything going on ther
A couple of things to try...
I've recently been getting VERY unpredictable results with JS/AS
communication and I realised that security settings seem to be a bit
weird... so the first thing to try is uploading it to a web server and
see if it still happens there.
Secondly, I would delete all th
Hi Seb
Seconded. If you find the time I'd love to read that blog.
Jake
On 14/11/06, Ben Smeets <[EMAIL PROTECTED]> wrote:
Oe, I'm liking this one very much.
More background would be greatly appreciated :D
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Hello,
I'm looking into specifying hardware for running Flash projector
based kiosks. The aim is to get the best possible Flash performance
while avoiding spending
money on technology that isn't going to make any difference. Given
that the usual performance benchmarks don't really apply to Fl
Cheers T.
It's verdana, 11, bitmap text (no anti-alias).
I'm stuck with this due to brand guidelines.
Any other ideas?
Adrian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Trevor
Burton
Sent: 14 November 2006 11:31
To: 'Flashcoders mailing list'
Subject
It's because _alpha is stored internally at 255 levels, so it's the
dodgy floating point accuracy and conversion from the internal value
to a percentage that causes the inconsistency. If it causes problems,
I usually have a separate value for storing the current alpha.
myClip = _root.createEmptyM
OK it's on my list, but I'm not sure when that'll be... I have a whole
lot of 3D tutorials to prepare for Flash on the Beach first...
But I have an rss if you want to be the first to see...
http://sebleedelisle.com/?feed=rss2
cheers
Seb Lee-Delisle
http://sebleedelisle.com
On 14/11/06, Jake Pr
Hey!
I'm in a process of exploring why my remoting data feeds get slow somtimes.
Therefore i installed Service Capture and started to look what it does and
found out that there are blank requests before real request with proper
data.
I believe this might confuse my app, since any data request mig
Greetings, all. I've been working on an interactive quiz for a while now,
and it's working correctly, except that some parts of it break after making
a call to any JavaScript function. I've been trying fruitlessly to debug
this for a small eternity now, and I've finally run out of ideas.
Could som
My ps, qs, gs, ys and js are having their tails chopped off when made italic
in a static text field. I've played about with the line spacing and
indenting but to no avail.
I thought it would be a simple fix but nothing I'm doing is working. Any
ideas?
Thanks
Adrian
_
did you use Object.registerClass ?
you have to register your types for them to serialize / de-serialize with their
type information intact.
PR Durand wrote:
Hi there!
using localConnection seems to totally "untype" an object, right?
___
Flashcoder
Might be getting you wrong, but I think you are almost there already?
Instead of using the clip to manipulate the scale of the text, how about
trying to manipulate the TextFormat.letterSpacing? I haven't tested it,
but I think it should do the trick?
Cheers,
Ben
-Original Message-
From:
What font are you using? I've had a similar issue with ascenders in the past
rather than descenders but turned out to be a dodgy font.
T
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: 14 November 2006 10:49
To: Flashcoders
Subject: [Fl
Oe, I'm liking this one very much.
More background would be greatly appreciated :D
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seb L
Sent: maandag 13 november 2006 11:33
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Faking 3D perspective of
How can I do to send an empty var if there is nothing ? I always get
³&reliure=undefined² and I need an empty var
Thank you very much
var reliure_var;
if (_global.pie_glo !== "" || _global.pie_glo !== "undefined") {
reliure_var = "&reliure="+_global.pie_glo;
var_glo.text = reliure_var;
}
Hi,
just a small note:
var a:String, will NOT guarantee that a is actually a string.
for example:
var arr:Array = [_root.createEmptyMovieClip("test", 0)];
var str:String = arr[0];
trace( typeof (str));
will compile just fine and trace "movieclip"
greetz
JC
On 11/14/06, el oskitar <[EMAIL PRO
I will try to explain this:
first, apoligizes for my bloody english, :P
i want to build one menu from XML source like this.
i know the process for linking clases to a symbol in the library, but i
don't wanna to have multiples copys of symbols with different class
linkages.
the type of var cl
67 matches
Mail list logo