Re: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-14 Thread Johannes Nel
why On 11/14/05, Hindman, Jeff [EMAIL PROTECTED] wrote: Nope ... http://www.dwuser.com/flexcomponents/ -- Jeff Hindman -Original Message- From: Pete Hotchkiss [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 10:43 AM To: 'Flashcoders mailing

Re: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-14 Thread Johannes Nel
just felt like yanking ya chain :) On 11/14/05, Dustin Krysak [EMAIL PROTECTED] wrote: Maybe in case there are aspects of a project developed in both flash and flex? Not sure otherwise. On 14-Nov-05, at 12:45 PM, Johannes Nel wrote: why On 11/14/05, Hindman

Re: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-14 Thread Johannes Nel
: [Flashcoders] Flex Style Flash MX2004 Components Maybe in case there are aspects of a project developed in both flash and flex? Not sure otherwise. On 14-Nov-05, at 12:45 PM, Johannes Nel wrote: why On 11/14/05, Hindman, Jeff [EMAIL PROTECTED] wrote: Nope

Re: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-14 Thread Johannes Nel
far to the other side. Pre-Flash MX, it was no Flash UI assets look the same. Now, post Flex 1.5 it's all Flex apps look the same. Mars needs women. Flex needs UI designers. - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders

Re: [Flashcoders] Seeking Using Collections tutorial

2005-11-16 Thread Johannes Nel
what do you mean collections - an array with a custom api? what are you trying to acheive? in flex, for databinding purposes i just need two methods public function get length():Number public function getItemAt(i:Number):yourType so that would be a good start for an api On 11/16/05, Steven

Re: [Flashcoders] Xml editor

2005-11-22 Thread Johannes Nel
eclipse + oxygen. the cool thing about oxygen is that some people have figured out how to get mxml hinting in it as well On 11/22/05, Patrick Matte [EMAIL PROTECTED] wrote: What software do you people use for editing xml for your flash projects ?

Re: [Flashcoders] Dynamic variables in as3

2005-11-24 Thread Johannes Nel
push it into an array. myArr.push(new MovieClip()); On 11/24/05, Phil Douglas [EMAIL PROTECTED] wrote: Does anybody know of a way to create and reference dynamic variables in as3. Specifically movie clips, but if there's a difference between them and any other type of variables, that'd be

Re: [Flashcoders] Syntax HELP: Passing Variable to GetURL

2005-11-25 Thread Johannes Nel
getURL(http://www.domain.com/; + someVariablehttp://www.domain.com/*VARIABLETO ,_self); On 11/25/06, Dominic Fee [EMAIL PROTECTED] wrote: Hi there guys I'm having trouble with a simple variable issue, due to lack of syntax knowledge, on my behalf I have a variable which does the following:

Re: [Flashcoders] ::::::::::::: How to trace a movie ::::::::::::::: ? ? ?

2005-11-28 Thread Johannes Nel
anyway thanks for afterthought, which i still use. On 11/28/05, g.wygonik [EMAIL PROTECTED] wrote: sadly, the word trace in the title is misleading. reading the question it appears as though the poster wants a thumbnail of a dynamic MovieClip to update as the main MovieClip updates. i think

Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Johannes Nel
try dropping the last slash in ur xpath statement On 12/7/05, Merrill, Jason [EMAIL PROTECTED] wrote: Why is it a workaround? Doesn't the XPath return the XMLNode? I haven't used this XPath-extension, but maybe I should check i out. Morten, I'm not sure it returns the actual node - it might

Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Johannes Nel
sorry no, u r doing a query which returns an array, try slectSingleNode, and that will work On 12/7/05, Johannes Nel [EMAIL PROTECTED] wrote: try dropping the last slash in ur xpath statement On 12/7/05, Merrill, Jason [EMAIL PROTECTED] wrote: Why is it a workaround? Doesn't the XPath

Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Johannes Nel
use the selectSingleNode method or use the array accessor On 12/7/05, Mike Boutin [EMAIL PROTECTED] wrote: even in this case the result is undefined string = XPath.selectNodes(my_xml, /pathto[1]/xml).nodeValue; !-- single node Johannes Nel wrote: sorry no, u r doing a query which returns

Re: [Flashcoders] interfaceof

2005-12-09 Thread Johannes Nel
instanceof will work at runtime On 12/9/05, Scott Hyndman [EMAIL PROTECTED] wrote: I know you can do this. var implementsInterface:Boolean = ISomeInterface(objectToTest) != null; You may also be able to use instanceof, but I haven't tried. Scott -Original Message- From: [EMAIL

Re: [Flashcoders] debug tool?

2005-12-12 Thread Johannes Nel
goto osflash.org, there are several debugging sollutions there using local connection or just moitoring the flash log file. i still use afterthought (got it from artificialcolors.com) On 12/12/05, Mike Boutin [EMAIL PROTECTED] wrote: I am creating a project in flash/php/xml output, It is a

Re: [Flashcoders] [offtopic] XMas spam

2005-12-28 Thread Johannes Nel
spam on my gmail account went from aprox 5/day to about 30/day in the last week On 12/28/05, JesterXL [EMAIL PROTECTED] wrote: Yeah man, same here, although not as many. Open proxy servers = fair game during the holidays. - Original Message - From: Weyert de Boer [EMAIL PROTECTED]

Re: [Flashcoders] a Flash coding question

2006-01-03 Thread Johannes Nel
set it to html text as well On 1/3/06, Tom Sakell [EMAIL PROTECTED] wrote: Hello all: I've a pesky Flash question, and since it's a new Year, I'm going to move beyond lurker on this list. So. On my site, I use Flash news boxes: Scrolling text boxes that are populated by a TXT file outside

Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-04 Thread Johannes Nel
no it needs to be a ref to the constructer function. this can be solved however with this: Object.RegisterClass(myClipSymbolName, _global[com][blackhammer][test][TestClass]); On 1/4/06, August Gresens [EMAIL PROTECTED] wrote: Hello We're new to flash, migrating over from Director. We're

Re: [Flashcoders] Flash Ant build for Flash IDE?

2006-01-05 Thread Johannes Nel
just execute a jsfl file from the ant script and in the jsfl file publish the movie On 1/5/06, Ben Smeets [EMAIL PROTECTED] wrote: Hi all, Been trying to get a build.xml rolling with the flash 8 IDE in combination with coding in eclipse. Did anybody have succes with the setup coding in

[Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Johannes Nel
Hi All some code to look at first function meth2() { var x:XML = new XML(); try{ x.onLoad = function(success)//Delegate.create(this,handleXmlLoad); { throw new CustomError(); } x.load(somefile.xml); }

Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Johannes Nel
well currently i am handeling my errors by dispatching them (take the same error object add a type property). this seems terribly inelegeant, since I use throw all over the place except in one of the places i need it most. since that exception is being traced out i would however imagine that it

Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Johannes Nel
no mate you are missing what i am trying to acheive. On 1/5/06, bryan.rice [EMAIL PROTECTED] wrote: On Jan 5, 2006, at 4:26 PM, Johannes Nel wrote: has anybody have any idea of how to handle asynchranous exception handeling in flash? You need to do something more like this: function

Re: [Flashcoders] what happens to exceptions i throw in asyncfunctions.

2006-01-05 Thread Johannes Nel
same problem. all async functions are part of a different stack so all my exception handeling code go out of the window. On 1/5/06, JesterXL [EMAIL PROTECTED] wrote: Late to the thread. Could you perhaps check if the onData actually contains any data, and if so, throw an exception if she

Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.

2006-01-06 Thread Johannes Nel
try Flex and wonder why it doesn't block. Sorry bro, async is like Bryan said, oil and water. - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 7:03 PM Subject: Re: [Flashcoders

Re: [Flashcoders] Massive XML files and Flash

2006-01-06 Thread Johannes Nel
Besides, I'm not fooling with any 3rd party workarounds, not with E4X on the way. this has been around for ages...add to this that e4x is currently in alpha and slow, and the fact that xpath is a w3c spec and even macromedia implement a much thinner version of this in F7 then this statement

Re: [Flashcoders] Massive XML files and Flash

2006-01-06 Thread Johannes Nel
xpath has been around for a while On 1/6/06, ryanm [EMAIL PROTECTED] wrote: this has been around for ages...add to this that e4x is currently in alpha and slow, and the fact that xpath is a w3c spec and even macromedia implement a much thinner version of this in F7 then this statement

Re: [Flashcoders] Massive XML files and Flash

2006-01-07 Thread Johannes Nel
XPath != *native* E4X i realise this, correct xml parsing is still faster while xpath is a comfort library to use when speed is not essential. xfactorstudio is the best and most complient xpath. have not used MM xpath since 7.0, but its api is extremely limited the best sollution thus far

Re: [Flashcoders] TreeDataProvider - There is no method with thename 'addTreeNode'

2006-01-11 Thread Johannes Nel
cast it. On 1/11/06, Andreas Weber [EMAIL PROTECTED] wrote: Thanks Devendran - This should do it and usually does do it... However in the context of my project I got the 'no method with the name 'addTreeNode' error, no matter in how many even remotely related classes I put the import

Re: [Flashcoders] TreeDataProvider - There is no method with thename'addTreeNode'

2006-01-11 Thread Johannes Nel
! -- Andreas Weber motiondraw.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Mittwoch, 11. Januar 2006 21:57 To: Flashcoders mailing list Subject: Re: [Flashcoders] TreeDataProvider - There is no method

Re: [Flashcoders] TreeDataProvider - There is no method with thename'addTreeNode' - SOLVED

2006-01-12 Thread Johannes Nel
yeah its a sollution, but a baaad habit to get into. On 1/11/06, Andreas Weber [EMAIL PROTECTED] wrote: Thanks Derek - that's it! Not typing the dataprovider as XML allows to publish for Player 7: import mx.controls.Tree; class Test{ function Test(){ // Published

Re: [Flashcoders] TreeDataProvider - There is no method with thename'addTreeNode'

2006-01-12 Thread Johannes Nel
null untypednode data=0 label=node / Cheers! -- Andreas Weber motiondraw.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Johannes Nel Sent: Thursday, January 12, 2006 3:21 PM To: Flashcoders mailing list

Re: [Flashcoders] Using a Function as Variable[code]

2006-01-12 Thread Johannes Nel
either container_mc.messageText.text = messageDisplay(); or public function get displayGreeting():String { if (now == afternoon) { message = Disco Rules; } else { message = Samba Rules; } } On

Re: [Flashcoders] Using a Function as Variable[code]

2006-01-12 Thread Johannes Nel
forgot the return statement in there nction get displayGreeting():String { if (now == afternoon) { return message = Disco Rules; } else { return message = Samba Rules; } On 1/12/06, Andy Johnston [EMAIL

Re: [Flashcoders] Using a Function as Variable[code]

2006-01-12 Thread Johannes Nel
rutbum. s if (now == afternoon) { return Disco Rules; } else { return Samba Rules; } On 1/12/06, Johannes Nel [EMAIL PROTECTED] wrote: forgot the return statement in there nction get displayGreeting():String

Re: [Flashcoders] JSFL help

2006-01-16 Thread Johannes Nel
I need to create some templated swf's and would like the text fields in the swf to be populated either by a human being whois not a flash developer (e.g. enter data into a panel and it puts the data into the correct text field variables). Or to have swf's generated from a text file, say coma

Re: [Flashcoders] OT: Saving as MX2004 from v.8

2006-01-18 Thread Johannes Nel
no its not possible. once you do a save as an then do a save as again you can just press enter, enter (pain in the rear) -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] modelChanged Tree component

2006-01-18 Thread Johannes Nel
Hi All I have a model which dispatches the model change event which in turn gets caught by the Tree (i have established this by subclassing the tree and checking if the events come in), but my tree just does not update and to add insult to injury after that it stops dispatching nodeOpen events in

Re: [Flashcoders] Looking for a guide to mxp, mxi and templetes creation

2006-01-18 Thread Johannes Nel
a good start for mxi creation http://www.muzakdeezign.com/mxi_creator/index.asp On 1/18/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Good afternoon Flashcoders. I'm looking for an online resource to guide me through the creation of an extension that would install some files in the

Re: [Flashcoders] Looking for a guide to mxp, mxi and templetes creation

2006-01-18 Thread Johannes Nel
a custom folder in the templates panel with some fla files? I was researching the lecture that Guy Watson wrote about using the JSFL file API to see if that might provide my best solution for that. Mani On 1/18/06, Johannes Nel [EMAIL PROTECTED] wrote: a good start for mxi creation

Re: [Flashcoders] Looking for a guide to mxp, mxi and templetes creation

2006-01-18 Thread Johannes Nel
oh thats the one you are talking about, got confused since guy also had another unsuported fileAPi in the past On 1/18/06, Johannes Nel [EMAIL PROTECTED] wrote: no use flFile its part of the 7.2 update On 1/18/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Johannes, I've been reading

Re: [Flashcoders] Documenting my code

2006-01-19 Thread Johannes Nel
i would much rather them work on releasing a good product than building stuff like editors(zorn is nice however) and documentation applications when there are a aready numerous things out there. On 1/19/06, Judah Frangipane [EMAIL PROTECTED] wrote: Let's all get on MM-Adobe wish list and ask

Re: [Flashcoders] Re: Search engine indexable Flash content; anyone with insight please help!

2006-01-19 Thread Johannes Nel
a word of caution. google can ban you for using ripple. On 1/19/06, elibol [EMAIL PROTECTED] wrote: Nevermind... http://osflash.org/ripple/overview H On 1/19/06, elibol [EMAIL PROTECTED] wrote: Hi, EGO7's Flash CMS, CMSmx, allows for deep linking and search engine indexable

Re: [Flashcoders] Re: Search engine indexable Flash content; anyone with insight please help!

2006-01-19 Thread Johannes Nel
affect search engine spiders On 1/19/06, elibol [EMAIL PROTECTED] wrote: Is there any way to index Flash content without that risk? On 1/19/06, Johannes Nel [EMAIL PROTECTED] wrote: a word of caution. google can ban you for using ripple. On 1/19/06, elibol [EMAIL PROTECTED] wrote

Re: [Flashcoders] Re: Search engine indexable Flash content; anyone with insight please help!

2006-01-19 Thread Johannes Nel
peter hall (the owner of the project) was told this by google in person 5 months ago. On 1/19/06, Ian Thomas [EMAIL PROTECTED] wrote: Um. Why? And have you any concrete examples of that sort of ban? Just seems like an extremely odd decision by Google. Cheers, Ian On 1/19/06, Johannes

Re: [Flashcoders] Search engine indexable Flash content; anyone with insight please help!

2006-01-19 Thread Johannes Nel
I would assume that the indexing method follows patterns that are similiar to domains that abuse SEO, and so, like a virus scanner would, the domain is flagged the same as an abusing domain is flagged. I think this distinction is important, as to not assume that google is exclusively targeting the

Re: [Flashcoders] Problems with Flash Plugin Switcher 2.1.0

2006-01-22 Thread Johannes Nel
not an insatller just an executable and it works like a charm. On 1/22/06, Adrian Lynch [EMAIL PROTECTED] wrote: I'm just about to install Flash Plugin Switcher 2.1.0 and wondered if this has caused any problems for anyone. I'm coming to the end of a project and I don't fancy trying to fix

Re: [Flashcoders] Considering player performance, Strings or Arrays?

2006-01-23 Thread Johannes Nel
remember concating a string is a very expensive procedure in java in general (unless you use a buffer), and also working with strings in general are just much slower than other data types. On 1/23/06, elibol [EMAIL PROTECTED] wrote: Hi there, The application must store many numbers, then

Re: [Flashcoders] Free Flex???

2006-01-31 Thread Johannes Nel
eclipse and the zorn plugin will obviously not be there. a tried and tested model IMO. On 1/31/06, hank williams [EMAIL PROTECTED] wrote: There is an article on news.com that says the following. Adobe is introducing a free, basic software developers kit which includes the Flex Framework,

Re: [Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread Johannes Nel
auto update built in prompting the user to upgrade On 2/1/06, hank williams [EMAIL PROTECTED] wrote: Does anyone know exactly what differences there are between 7 and 8 that might make 8.5 adoption faster than 8 adoption? My recollection is that there is some improvement in 8 in this regard,

Re: [Flashcoders] Stage.width not working in IE

2006-02-12 Thread Johannes Nel
even in a single frame movie onEnterframe is called repeatedly, thus allowing you to do as lanny suggests. look for a function called doLater On 2/12/06, John Giotta [EMAIL PROTECTED] wrote: Perhaps Lanny's suggestion will work, but may not work with a single frame SWF. The problem resides in

Re: [Flashcoders] Flex Pricing

2006-02-12 Thread Johannes Nel
, isn't flex just a cumbersome way to generate interactive flash? no. its a whole framework with better written components, databinding and autolayout. we don't use the enterprise servers in my current contract (nothing goes onto the servers without a code review...) and flex is still much better

Re: [Flashcoders] Flex Pricing

2006-02-12 Thread Johannes Nel
just download flex 2's bree beta and get playing! its very similiar to flex 1.5 in general (more strict as is to be expected) but you would be kiling two birds with one stone. if you are adament to use flex 1.5 check this out http://www.darronschall.com/weblog/archives/000182.cfm download the

Re: [Flashcoders] Using Cairngorm, good idea?

2006-02-13 Thread Johannes Nel
i would use ARP when building flash apps. On 2/13/06, Weyert de Boer [EMAIL PROTECTED] wrote: I am in the need of building a flash website is mainly standard flash microsite with 6 sections which include a simple news section, and a portfolio section. The website will be used to express a

Re: [Flashcoders] no method with name 'createClassObject'.

2006-02-13 Thread Johannes Nel
its a method of uicomponent On 2/13/06, Peter Burke [EMAIL PROTECTED] wrote: Hello, I'm trying to create a button on-the-fly within a class declaration, but am running into this error: There is no method with the name 'createClassObject'. -- Contents of

Re: [Flashcoders] No variables in Interfaces?

2006-02-13 Thread Johannes Nel
getters and setters are allowed in AS3! On 2/13/06, David Rorex [EMAIL PROTECTED] wrote: Hadn't thought of that, I guess that would work. Thanks On 2/13/06, Ian Thomas [EMAIL PROTECTED] wrote: No, there isn't. Is there a reason why you can't roll your own accessor functions?

Re: [Flashcoders] Guy's FileSystem Dll

2006-02-14 Thread Johannes Nel
the way to insatll dll's on nt manually is to use regsvr32 from command line and point to the path where the dll is. if you want to unintsall it use regsvr32 u path if the dll can not be registered due to dependencies that are missing that will give you a fair idea. On 2/14/06, John Grden [EMAIL

Re: [Flashcoders] Guy's FileSystem Dll

2006-02-14 Thread Johannes Nel
it? Or maybe the extenstion manager runs it for you - do you happen to know? I'll give er' a shot anyway to find out Thanks Johannes On 2/14/06, Johannes Nel [EMAIL PROTECTED] wrote: the way to insatll dll's on nt manually is to use regsvr32 from command line and point to the path

Re: [Flashcoders] Guy's FileSystem Dll

2006-02-14 Thread Johannes Nel
to use regsvr32 since Flash doesn't require it? Or maybe the extenstion manager runs it for you - do you happen to know? I'll give er' a shot anyway to find out Thanks Johannes On 2/14/06, Johannes Nel [EMAIL PROTECTED] wrote: the way to insatll dll's on nt

Re: [Flashcoders] Making the text centered vertically in a combo box

2006-02-15 Thread Johannes Nel
the reason it does not work on the stage is because when you are setting it theat component is most prob not created. remember that v2 components take a frame (in some cases 2 frames ) to be created (love this about flex, you have a creationComplete event). i would suggest trying to poll opver

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
an mxp should do the trick, no? On 2/16/06, eric dolecki [EMAIL PROTECTED] wrote: Is anyone aware of a JSFL Command to ease installation of packages into the Flash 8 IDE? I'm going to research File I/O a little bit, perhaps that will be enough to whip one up quickly. Perhaps one exists

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
to do it within the IDE. -edolecki On 2/16/06, Johannes Nel [EMAIL PROTECTED] wrote: an mxp should do the trick, no? On 2/16/06, eric dolecki [EMAIL PROTECTED] wrote: Is anyone aware of a JSFL Command to ease installation of packages into the Flash 8 IDE? I'm going

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
, and using a checkbox or button include them in your current fla's classpath. is this the right track? i will gladly help you if there is anything you need to make this work. cheers johan On 2/16/06, Johannes Nel [EMAIL PROTECTED] wrote: aah. i think what you want to look at is claspaths, instead

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
going to change over time. -edolecki On 2/16/06, Johannes Nel [EMAIL PROTECTED] wrote: hi eric i have a file and folder browser i wrote as a windowSWF panel. now how this kind of extension can work is. you add a known class path to your lists

Re: [Flashcoders] Guy Watson's FileSystem Extension

2006-02-16 Thread Johannes Nel
hang on 5 minutes. i almost have it working using flFile, which will make it Mac usable as well/ On 2/16/06, eric dolecki [EMAIL PROTECTED] wrote: Ok - I downloaded Guy's FileSystem extension and there is something called FileSystem.copyFolder( param1, param2 ); which rocks. But I want

Re: [Flashcoders] Guy Watson's FileSystem Extension

2006-02-16 Thread Johannes Nel
the folderURI - I alert through and its correct, the copyFolder operation, using folderURI actuallly copies the contents INSIDE the folderURI, and not the folderURI itself - frustrating! -edolecki On 2/16/06, Johannes Nel [EMAIL PROTECTED] wrote: hang on 5 minutes. i almost have it working

Re: [Flashcoders] Guy Watson's FileSystem Extension

2006-02-16 Thread Johannes Nel
as a side note. on usage :) lets say i want to import the xfactor xpath classes, just point it to the com directory and the whole com thinga'mabob gets copied over. On 2/16/06, Johannes Nel [EMAIL PROTECTED] wrote: nothing a bit of plagarism and a slight rewrite couldn't sort out. go through

Re: [Flashcoders] Re: Ensuring commercial is played before the video while keeping .FLV external

2006-02-16 Thread Johannes Nel
sorry for not getting into the morality of this. dispatch an event from the swf you load in. or have something that checks currentFrame vs. totalFrames ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Johannes Nel
instqead of poling just use object.watch On 2/28/06, Philip Smith [EMAIL PROTECTED] wrote: As noted, I am working within another developer's framework, and cannot make fundamental design changes at this time. The new DropShadowFilter works on the principle I described, you register a view

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Johannes Nel
yeah. the type property can be whatever, as long as you know what you are listening for all is good. On 2/17/06, Jamie Alpers [EMAIL PROTECTED] wrote: This may be a duh question, but when you use dispatchEvent in a custom created component, can I use my own event name or do i have to use one

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Johannes Nel
what john is outlining here is fine in essence, but unless you never want to remove this event listener this will cause a memory leak. either you create the delegate function on a class scope or you use arguments.caller in the handler function to remove the event listener On 2/17/06, John Grden

Re: [Flashcoders] Problem with LocalConnection?

2006-02-23 Thread Johannes Nel
i would imagine that the lc class would be declared dynamic, but maybe it ain't on his machine. anyway check if this solves your problem var receiving_lc:LocalConnection = new LocalConnection(); receiving_lc[showpic] = function (goWhere:String) { gotoAndPlay(goWhere); }; On 2/23/06, Dave

Re: [Flashcoders] Order of dispatched events?

2006-02-28 Thread Johannes Nel
in the order you added the listeners. it just loops through an array and executes the methods one by one On 2/28/06, Judah [EMAIL PROTECTED] wrote: Is there a way to make the order that events are called Fixed? Are they guaranteed to be executed in a particular order? Judah

Re: [Flashcoders] Can a class be conditionally included with an if statement

2006-03-03 Thread Johannes Nel
that class will get included search for a pre-compiller On 3/3/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Would something like this keep a file from being included in compilation ? If(debug){ debugData:TestData=new TestData(); } My goal is to have some class files that are not

Re: [Flashcoders] Getting a screenshot of flash app?

2006-03-07 Thread Johannes Nel
if it flash 8 you could use bitmapdata On 3/7/06, Sean K. Moran [EMAIL PROTECTED] wrote: Anyone know an automated server-side way of getting a jpg screenshot of a flash app? Would need to be linux based...no windows here. TIA, Sean ___

Re: [Flashcoders] Flex2 Project Conversion

2006-03-14 Thread Johannes Nel
i would start porting without worrying about it, beta2 is on its way out, and some things might change, but nothing to be overly concerned about i think. it took me less than a day to port all my code from alpha 1 to beta 1. if you know mxml already you are already well on your way . flex 2 and

Re: [Flashcoders] Flex2 Project Conversion

2006-03-14 Thread Johannes Nel
as a side note, you don't need to use flex if file size is a worry, but the flex framework really gives you a ton of power. On 3/14/06, Johannes Nel [EMAIL PROTECTED] wrote: i would start porting without worrying about it, beta2 is on its way out, and some things might change, but nothing

Re: [Flashcoders] Web service call not working on network

2006-03-14 Thread Johannes Nel
sound like a crossdomain policy issue. run a http sniffer and see if there is a request for a crossdomain.xml file On 3/12/06, Mick G [EMAIL PROTECTED] wrote: Does anyone have any tips why a site i'm using that is connecting to Web Services works fine in the IDE, and works fine outside my work

Re: [Flashcoders] Flex2 Project Conversion

2006-03-14 Thread Johannes Nel
i am contracting to large company and we are doing stuff using flex2, so... i don't quite agree with your argument. also note what he says, they want to move an existing app to flex2 and his concern is that it will change radically from beta 1 to final product. the very fact that beta 2 is coming

Re: [Flashcoders] Setting Focus on TextInput Component

2006-03-14 Thread Johannes Nel
it can be done by targeting the textfield inside the component directly On 3/14/06, John laPlante [EMAIL PROTECTED] wrote: The focus rectangle doesn't appear when you use setFocus() or when you click into a text field. Message: 24 Date: Tue, 14 Mar 2006 16:13:12 -0600 From:

Re: [Flashcoders] Setting Focus on TextInput Component

2006-03-14 Thread Johannes Nel
pop a textinput onto the stage called a this.onEnterFrame = function() { delete this.onEnterFrame; Selection.setFocus(a.label) a.drawFocus(true); } its a v2 component takes a frame to init. i misread the question the firstime and thought you meant ust giving it selection focus

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Johannes Nel
interesting you should say its the same in as3 jese. i take it you are aware of peter halls post on this http://www.peterjoel.com/blog/index.php?archive=2006_02_01_archive.xml#114064012876401732 however that does not work ala as2, since all private members are ignored. (which leaves me to suspect

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
need to remove bitmaps only at a certain depth? Because I really don't want to clear all BitmapData from the movieclip... Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15

Re: [Flashcoders] asking book opinion-OOP with AS2, Jeff Taper et al.

2006-03-19 Thread Johannes Nel
a good book thats a free download is thinking in java by bruce eckel. then as everyone keep saying head first design patterns. bruce eckel also wrote a design pattern book which i haven't read. On 3/19/06, Martin Weiser [EMAIL PROTECTED] wrote: Hello , anyone have read this book, could

Re: [Flashcoders] Some Computers Won't Stream MP3 in Flash/I.E.

2006-03-19 Thread Johannes Nel
are you using apache or iis as your webserver? (or in the case of something else what is that?) On 3/19/06, Marc Hoffman [EMAIL PROTECTED] wrote: Johannes, This looked promising, but it doesn't fix the problem when playing from the web server for some reason -- it now breaks in I.E. and also

Re: [Flashcoders] Some Computers Won't Stream MP3 in Flash/I.E.

2006-03-19 Thread Johannes Nel
ok for iis here is a tech brief on how to do the whole mime type bit. http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/cd72c0dc-c5b8-42e4-96c2-b3c656f99ead.mspx?mfr=true so what i suggest is not to remove the extension completly, rename is to .somethingrandom and

Re: [Flashcoders] Some Computers Won't Stream MP3 in Flash/I.E.

2006-03-19 Thread Johannes Nel
it could be a combination of things. first off, it could be something else grabbing hold of the mp3, (it happens a lot), then creating a new extension (which is a good thing to do inanycase) might fail because of mime type settings. it might be failing on different computers in the same browser

Re: [Flashcoders] Alphabetize XML

2006-03-20 Thread Johannes Nel
a hard ine break will also cause a cause attributes to break. anyway, if it cannot be done on the server (aka in your select statement) then the best is to get it into an array and use the sortOn functionality. i am 100% that this can be doen with xfactorstusdio's path implementation as well, but

Re: [Flashcoders] Alphabetize XML

2006-03-20 Thread Johannes Nel
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Monday, March 20, 2006 2:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Alphabetize XML a hard ine break will also cause a cause attributes to break

Re: [Flashcoders] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Johannes Nel
are you reffering to a hook? like this? create a function that is named like public function thisHappens():Void { } and then the user of the component would go instance.thisHappens = function() { ///some code } On 3/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I tried that- but if they

Re: [Flashcoders] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Johannes Nel
, rather use a delegate. On 3/22/06, Johannes Nel [EMAIL PROTECTED] wrote: are you reffering to a hook? like this? create a function that is named like public function thisHappens():Void { } and then the user of the component would go instance.thisHappens = function() { ///some code

Re: [Flashcoders] Simple date comparison bug?

2006-03-23 Thread Johannes Nel
you are comparing objects, so you are asking in the firstone are these two references the same no they are not. its two different objects the you are asking is this reference smaller than equal to that refrence, flash then goes huh wtf a refrence that you are doing = on this object, ok lets

Re: [Flashcoders] Using an Interace as a means of Sharing constants

2006-03-25 Thread Johannes Nel
yes, for example java. On 3/25/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: ts-The sound of an idea deflated. So does it work like that in other languages? Just curious On 3/25/06, Johannes Nel [EMAIL PROTECTED] wrote: no go in actionscript. create a class

Re: [Flashcoders] Enourmous data Transfer by Flash.

2006-03-26 Thread Johannes Nel
Theoretically Flex is better fit for the job huh? do you mean as3 and the 8.5 runtime is better. yes that would be true, but flex 1.5 is as apt as flash for large data transfers. On 3/26/06, elibol [EMAIL PROTECTED] wrote: Theoretically Flex is better fit for the job, but practically speaking,

Re: [Flashcoders] Recommendation on good AS 2.0 framework code?

2006-03-29 Thread Johannes Nel
arp and cairnorm i suppose. and yes reading is good for you, looking at your name it seems william gibson is your choice. On 3/29/06, Boon Chew [EMAIL PROTECTED] wrote: Hi all, I am looking for some well-written framework code done in AS2.0 to read up on (Reading source is good for ya). Does

Re: [Flashcoders] Use Microsoft CRM .NET Webservice through Flash

2006-04-06 Thread Johannes Nel
i have used .net WS without a problem On 4/6/06, Ashwan Wadhwa [EMAIL PROTECTED] wrote: Has anyone tried to connect to a .NET webservice. This URI that I was provided does return a WSDL file, so the webservice connector component fails. Is there any other method? thanks

Re: [Flashcoders] Need help understanding EventDispatcher

2006-04-12 Thread Johannes Nel
hopefully this does not spark a big debate. always try to favour composition over inheritance, not that extending movieclip is a bad sollution, however then you start dealing with linkageID's in the ide and all that schlep. anyway that said this is how to fix the code. import mx.utils.Delegate;

Re: [Flashcoders] Need help understanding EventDispatcher

2006-04-12 Thread Johannes Nel
and as to why. it was a scope issue, you weren't dispatching the event out of your class, but out of the movieclip. On 4/12/06, Daniel Cardenas [EMAIL PROTECTED] wrote: Hi Mike, Thanks for your reply. The class I created was based on a tutorial I found online (communitymx.com) a

Re: [Flashcoders] Need help understanding EventDispatcher

2006-04-12 Thread Johannes Nel
ok sorry, you are extending movieclip. i thought for soem reason you were not. there is no reason for you to be extending movieclip, so don't once you have gotten rid of the inheritance then it should work. the reason the onPress function works is due to the fact that you are extending movieclip,

Re: [Flashcoders] Need help understanding EventDispatcher

2006-04-12 Thread Johannes Nel
you add and use delegate to solve scoping issues. On 4/12/06, Johannes Nel [EMAIL PROTECTED] wrote: ok sorry, you are extending movieclip. i thought for soem reason you were not. there is no reason for you to be extending movieclip, so don't once you have gotten rid of the inheritance

  1   2   3   >