Read this:
--> Why does my initializer get shared across all instances like it's static?
http://osflash.org/flashcoders/as2
regards,
Muzak
- Original Message -
From: "James Tu" <[EMAIL PROTECTED]>
To:
Sent: Friday, May 25, 2007 12:46 AM
Subject: [Flashcoders] class member Array
> Has
Thank you to everyone on this. I guess I may have created a closure and
after separating my code into independent functions was able to get the
width/height changes. My onLoadInit was not tracing any target_mc out. Thank
you!
On 5/24/07, Durairaj Subramaniam <[EMAIL PROTECTED]> wrote:
I guess y
Hi,
Yes you could do it on the server, but I was trying to figure it out inside
the as code instead.
A
On 5/24/07 4:32 PM, "Andrei Thomaz" <[EMAIL PROTECTED]> wrote:
> can't you translate HTML to pure text using some kind of script in the
> server?
>
> []'s
> andrei
>
>
> On 5/24/07, Andy An
can't you translate HTML to pure text using some kind of script in the
server?
[]'s
andrei
On 5/24/07, Andy Andersson <[EMAIL PROTECTED]> wrote:
I have a scenario that I try to figure out, don't know if it is possible
yet, but maybe someone here on the list knows if it is?
Scenario are:
I ha
Hi Andersson,
It is possible by checking for the Html tags using the
textField.onChanged event. Check through the tags with splitting up the "<"
and ">" then when the text inside these contains any predefined tags .alert
the user that these contains the html tag. Or you can check for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James Tu wrote:
> If you have a class variable that is of type Array...
> DO NOT DO THIS:
> private var ListOfThings:Array = new Array();
>
> DO THIS:
> private var ListOfThings:Array;
> //then in your constructor, do this
> ListOfThings = new Array()
I guess you didnt add the listener to the movieClip loader using
movieClipLoader.addlistener(ListenerObj).. That might be the reason your
clip doesnt loads up and it is not seen.. Check back the code again for the
method addlistener
I think that might be the cause.
On 5/25/07, Eric E. Dolecki
On 5/24/07, Carl Welch <[EMAIL PROTECTED]> wrote:
Seems to me you guys are doing this the hard way. Why not just draw a
curved line (with the line tool) then use code to attach/snap the
handle to the line, and then just use actionscript to track the Y
position of the handle and scroll accordingly
mcL_listener.onLoadInit = function( target_mc:MovieClip ):Void
{
target_mc._width = 300;
target_mc._height = 300;
}
- eric
On May 24, 2007, at 6:04 PM, Jonathan Berry wrote:
Hello all, I searched the archives for this, but could not find
anything
close to it. I am using a Movi
Has anyone encountered this before...
If you have a class variable that is of type Array...
DO NOT DO THIS:
private var ListOfThings:Array = new Array();
DO THIS:
private var ListOfThings:Array;
//then in your constructor, do this
ListOfThings = new Array();
If you do the former, Flash will c
show us some code.
- Original Message -
From: "Jonathan Berry" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Friday, May 25, 2007 12:04 AM
Subject: [Flashcoders] MC xscale/width/yscale/height with MCL
> Hello all, I searched the archives for this, but could not find anything
Check out Xray
http://osflash.org/xray/
One of its features is it lets you take snapshots of the current
application so you can see where your movieclip is.
Xray is the best thing to happen to Flash Development. Ever.
Rock on John Grden! \m/
Jonathan Berry wrote:
Hello all, I searched th
Hello all, I searched the archives for this, but could not find anything
close to it. I am using a MovieClipLoader and seem to be able to xscale and
yscale the loaded images from the MCL. However, I cannot set width or height
on the images; they actually disappear. I sized my stage up to 1000h by
Muzak telenet.be> writes:
>
> Flash is single threaded..
>
OK, I made a wrong assumption about threading. Actually, that clearly explains
why my attempted busy waiting was preventing the onLoad callback from
completing, which didn't really make sense to me at first.
I will have to play wit
Hi Eric,
Good point yours, but the client just want to care about 1024x768 and
1280x1024. I´ll insist, but if they don´t send me the higher res pictures,
no deal.
Thanks!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or sear
I have a scenario that I try to figure out, don't know if it is possible
yet, but maybe someone here on the list knows if it is?
Scenario are:
I have a couple of dynamic text fields and input text fields where people
write comments, send messages, display messages/blogs etc...
And it goes to the s
> ActionScript, being a programming language for non-programmers, makes no
> mention whatsoever of threads, nor do I see any way to call a sleep function
> or
> a yeild function on the current thread (i.e., some way to tell 'this' thread
> to
> just chill for a sec and let other threads do what t
Happens all the time on this list. Sorry I did not see your post earlier.
Tends to drive you crazy and makes you doubt your whole understanding of
reality. The more things you change, the more things stay the same!!!
Ron
James Tu wrote:
Figured it out:
I'm using runtime shared libraries.
Xpath is a good place to start or any of the page injection techniques.
jason law, detroit
organic, inc. | www.organic.com
retail tech lead | interface engineer
e: [EMAIL PROTECTED] | p: 248.454.3387 | aim: jaylaw81
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On B
Oh cool, I didn't know about that method.
Yeah, that did it. Thank goodness there was a trivial solution to this
problem :)
But it's strange that these sorts of problems happen... I was sure flash
would only update the screen during the next frame redraw step... it seems
like moving stuff on a Mo
my solution?
I don't use the crappy v2 components.
Adobe V2 components = the devil.
Believe me when i say it will be time well spent to create or find your own
solution.
On 5/24/07, Marc Hoffman <[EMAIL PROTECTED]> wrote:
I've just added a couple of line breaks to the xml text:
myTextField.
Figured it out:
I'm using runtime shared libraries. These are automatically imported
in frame 1. The classes in my movie are not exported until frame 5!
So, the version of the compiled classes that I'm getting are from the
rsl's !!! We're using rsl's to share assets and not code, but on
I'd love to know if anyone has any advice... on best way to extract
text from specific objects of an XHTML page which a SWF is loaded
into... then allow the extracted text strings to be available in the
SWF.
I've built Javascript to extract text from XHTML the page in
combination with the
Yea, but the ads are unobtrusive and 90% of the time I don't even
notice them. The other 10% are when I look at them just to see what
kind of random things are being displayed (I've seen some very strange
ads come up and I try to figure out what could have triggered them.
It's fun).
Forums aren'
I'm having a problem that is not directly related to a previous
thread on this list about ASO files.
Here's my inheritance heirarchy...
BaseClass -> VisualBaseClass -> ButtonMessagingBaseClass -> CardBase -
> CardSpecial
I'm on a Mac OSX 10.4.8 running Flash Professional v8.0.
I've updated
I've just added a couple of line breaks to the xml text:
myTextField.htmlText = theXmlText + "";
Hackish, but easy to implement.
At 10:44 AM 5/24/2007, you wrote:
I've run into this issue before as well. My (hackish) work-around was to
create an empty MovieClip right after the text, set its al
Here is the problem: I want to write a function that makes an outside
communication with a web server and exhibits to the caller blocking bahavior.
That is, I call something like getUserStatus(userid), and it either returns
with the value I want from my database (ColfFusion page), or after som
yeh i've had to do something a bit hackish - a bunch of tags
at the end of my script
it's not pretty but it is working
i tried that .invalidate() method but it didn't seem to do anything
thanks for the input, guys
On 24 May 2007, at 18:44, David Ngo wrote:
I've run into this issue before
Seems to me you guys are doing this the hard way. Why not just draw a
curved line (with the line tool) then use code to attach/snap the
handle to the line, and then just use actionscript to track the Y
position of the handle and scroll accordingly? Trig for a simple
scroller seems a little convolu
I've run into this issue before as well. My (hackish) work-around was to
create an empty MovieClip right after the text, set its alpha to 0, set its
height to like, 50 or some arbitrary number to force the scrollbars to
scroll beyond the text. Very hackish and not the best solution, but I had to
ge
try calling invalidate on the component instance after setting/changing the
text:
UIObject.invalidate()
http://livedocs.macromedia.com/flash/8/main/4199.html
regards,
Muzak
- Original Message -
From: "Allandt Bik-Elliott (Receptacle)" <[EMAIL PROTECTED]>
To: "flashcoders"
Sent: Th
lovely - thankyou :)
On 24 May 2007, at 17:20, Muzak wrote:
That's not a bug, but a feature (an annoying one, I agree) of the
v2 component Framework.
Use the DepthManager when working with components
(which is mentioned in most of the examples in the docs that use
getNextHighestDepth())
it's placed procedurally using createClassObject()
On 24 May 2007, at 17:10, Muzak wrote:
If the TextArea (or whatever object) is placed on stage manually,
it will reside on a negative depth.
Objects with a negative depth can not be removed through
ActionScript, unless they're swapped to a
gah - not my day today
i've got my textArea loading up a bunch of text from a string, from
an array loaded from an xml file (erk), but the scrollbars for the
component don't scroll far enough (either the bar or the arrows) -
i've dragged down the text with my cursor and the extra lines are
tried that too i'm afraid - it's a bug in the flash player (see my
other post)
thanks for the input guys
On 24 May 2007, at 17:07, Derek Vadneau wrote:
I'll bet if you trace the movieclip where your class resides from
outside
the class (on the next frame or after a timeout) you'll find t
That's not a bug, but a feature (an annoying one, I agree) of the v2 component
Framework.
Use the DepthManager when working with components
(which is mentioned in most of the examples in the docs that use
getNextHighestDepth())
mx.managers.DepthManager
Components Language Reference > DepthManag
Have you tried updateAfterEvent() ?
http://livedocs.adobe.com/flash/9.0/main/1233.html
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/MouseEvent.html#updateAfterEvent()
regards,
Muzak
- Original Message -
From: "Frederico Ferro Schuh" <[EMAIL PROTECTED]>
To:
That's great, Muzak. It's right in line with what I thought needed to
be done - import the remoting classes and use them only for what's
necessary.
It does seem like quite a lot of effort for something that should be
pretty simple - since the built in XML loading already has events
that c
If the TextArea (or whatever object) is placed on stage manually, it will
reside on a negative depth.
Objects with a negative depth can not be removed through ActionScript, unless
they're swapped to a positive depth.
Use the DepthManager to switch a component's depth to a positive one before
re
I'll bet if you trace the movieclip where your class resides from outside
the class (on the next frame or after a timeout) you'll find that the
movieclip no longer exists.
removeMovieClip is being scoped to the class itself, not the Global
function removeMovieClip.
Just use:
_root[thisColumn_t
bah just found the reason
i used this.getNextHighestDepth() in the createClassObject() for the
depth which puts it beyond the reach of removeMovieClip
seems like a bit of a bug
the reasons can be found in the comments here
http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common
I don't know if anything like this exists for Cairgorm, I do know that people
have written extensions for ARP.
One of them is an XMLService written by Christophe Herreman:
http://www.herrodius.com/upload/arp_extensions.zip
More custom services here
http://www.swapdepths.nl/2006/01/27/customservi
yeh i correct that - still gives me the same jyp
On 24 May 2007, at 16:39, Jason Law wrote:
Make sure your closing your dynamic var.
removeMovieClip(_root[thisColumn_txt); should be
removeMovieClip(_root[thisColumn_txt]);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PR
Make sure your closing your dynamic var.
removeMovieClip(_root[thisColumn_txt); should be
removeMovieClip(_root[thisColumn_txt]);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allandt
Bik-Elliott (Receptacle)
Sent: Thursday, May 24, 2007 11:22 AM
To: f
just corrected a typo in the removeMovieClip statement but the
problem still stands
hi folks
i'm trying to get a function to remove a movieclip (actually a
textArea class object) but i've having a bit of trouble - i think it
may be a scope issue but i can't see why
the function is
funct
Hello coders,
I've been having a problem with custom cursors in AS3, where it sometimes
leaves dirt on the screen, as if it hadn't been repainted on the region
where the cursor just passed. It's also noticeable that the cursor's shape
gets cut off while it moves, like some kind of tearing.
The c
hi folks
i'm trying to get a function to remove a movieclip (actually a
textArea class object) but i've having a bit of trouble - i think it
may be a scope issue but i can't see why
the function is
function changeLayout(layout:Number, textContent:String,
image:String, textContent2:String
Has anyone here approached Cairngorm development without remoting
services?
I'm developing in Flash 8 still - no case to go to Flash 9 yet since
the penetration is way less than the business requirements.
I've got a prototype I'm putting together and am using Delegates that
return stub da
This is really odd behavior so I would assume it is some issue with
the code. It is possible to do what you want, but there is no way to
help unless you post your code. That is most likely why you are
getting no response.
On May 24, 2007, at 6:42 AM, dr.ache wrote:
is there no one wh
Thank you both! This is great. I will try and apply the scroller to this
code today.
Ash
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Dittgen
Sent: Thursday, May 24, 2007 1:35 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoder
hi glen,
I just found out that the problem is that 1) you r right, I should use the
object instead of the frame name. and 2) the line that attibutes the onLoad
method to a outside function wasn't working. Once I put together the onLoad
mehtod inside the same function that i was calling the sen
works for me, but why do Forums or (Google) Groups not work as well?
Because you have to remember to log in. Forums and Groups are a 'go
and look' solution, whereas mailing lists are a 'here's something to
look at!' solution.
Personally, I subscribe to a whole bunch of mailing lists. The mails
Gmail is that good in searching your mails, that it pops up
advertising related to the words within your (private) mails! Look at
the right side! Yeah!
Each of us, who is using Gmail for flashcoders is storing the same
information - which is the definition of redundance, isn't it? So,
don't get m
I second that suggestion. Gmail is really good for storing mailing
lists. My account has this one (fairly high traffic) and a couple
gentoo related ones (massively high traffic). Between the two lists I
have over 19000 conversations (which can each have a large number of
individual mails). Mai
is there no one who encountered the same problem?
should have been an issue somewhere else...
dr.ache schrieb:
hi coders.
you better watch it by yourself. on the following url:
http://www.4inloop.de/typographer
start the typographer, close the first upcoming tab,
open the LINK tab BUT close
First of all, make sure you have the AS2 Remoting components for Flash 8
installed:
http://www.adobe.com/products/flashremoting/downloads/components/
Once installed, you should have a look at the docs that come with it.
When creating a Service instance, you can pass a 4th parameter, which is the
If you base64 encode the jpeg contents then it should be safe to put
in a CDATA node and send over the wire.
Cheers,
Mischa
On 23 May 2007, at 21:25, eric e. dolecki wrote:
I have been asked if its possible to have Flash display a JPG thats
stored
in XML as a binary object (ie. I don't get
Dear all,
dear al,
with as2 remoting you must / can / may :) use the Responder Object.
All you need to do is to pass the Responder as the second parameter
for your Service constructor
like so :
// responder class
class MyResponderSubclass extends mx.remoting.Responder { // please
check the pa
Ahhh, of course. That makes sense to me now.
Thanks very much.
- Kevin
On 22/05/07, Muzak <[EMAIL PROTECTED]> wrote:
- Original Message -
No, you calculate those using the original document width and height and the
Stage.width and Stage.height.
So you'll have to store the original
Hi Chris,
Having just tried a lot of different options for converting, in my opinion,
export from Flash CS3 is by far the best quality and most stable option if
you can live without the user-interaction. It catches all scripted/nested
animations nicely, and you could easily fake basic interaction
/agree
also the mac mail client has an option to show messages by thread
On 24 May 2007, at 09:47, Mikko Törmälä wrote:
The method I use is to assign a message filter to automatically
move all messages with "flashcoders" in the subject field to
another folder.
This separates the important
Hi to all,
i've tried to google to obtain a solution, but no way...
how can I catch STATUS events generated by the remoting connector?
with AS 1 remoting:
_root.conn = NetServices.createGatewayConnection(_root.globals.amfGateway);
_root.myService = _root.conn.getService("myservice", this);
_roo
The method I use is to assign a message filter to automatically move all
messages with "flashcoders" in the subject field to another folder.
This separates the important messages from the less important (you
know... the work ones :) automatically as they arrive.
I have set the filter to move them
63 matches
Mail list logo