Re: Re: [Flashcoders] Word processor in Flash

2006-08-23 Thread grimmwerks
There's also a txtFormat component from netdrims that is nice... ..me I'm also running into trying to glom htmlText into a CDATA in an xml file; I had done something recently using zinc that would save an htmlfile whenever someone would create rich/html formatted text that would have to

Re: [Flashcoders] Help Formating/Styling Dynamic Text

2006-08-23 Thread R.A. Williamson
Aaron, Are you aiming for all the text to be bold, or just a selection set by a TextFormat object or HTML? I would be happy to look at an example of what you're tying to do if you want to shoot me a FLA or some code snippets: [EMAIL PROTECTED] Always hard to debug font issues with my

[Flashcoders] test post

2006-08-23 Thread a . florio
___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training

Re: [Flashcoders] [ot] urgent: please help with cv/resume sample

2006-08-23 Thread Count Schemula
some basic things... show how you take inititiative, identify and solve problems, work well in teams, like people, have a passion for the techniques and the technology, are adapted to rapid change, have a well rounded education and interests. Also, you can't just sit down and pound out a

RE: [Flashcoders] Multiline text in a Tree Component

2006-08-23 Thread Darren Bowers
The script is pretty much the stock script that macrodobe supply, with the exception that I added the autoSize=true property to the textField that is created. One point I did notice is that this Cellrender extends UIComponent, where as the cellrenderer that Alessandro Crugnola uses here:

[Flashcoders] Passing values to a backend

2006-08-23 Thread Stephen Ford
I have a created a little form in flash. I need to get the values into a backend. What I have is a variable called sQuery, like so: sQuery = questionnaire.asp?firstname=James%20J.lastname=Delaneyjobtitle=Web%20Dev[EMAIL PROTECTED]company=The%20Factoryphone=34563456customer=trueq1=7q2=39

[Flashcoders] accessibilty - tabbing cycle

2006-08-23 Thread quinrou .
hi, I am hvaing a problem with tabbing. I am trying to set a tab order on movieclip which aren't in the same scope as in they are embedded into different movieclips. i.e. mcA embeds mc1, mc2, mc3 mcB embeds mc1, mc2, mc3 taborder is made as followed mcA.mc1.tabIndex = 0 mcA.mc2.tabIndex = 1

Re: [Flashcoders] Dynamically Upcast to a class in the _global tree?

2006-08-23 Thread Hans Wichman
Hi, not sure if this is what you mean but: import com.somepackage.HomeView; var bv:BasicView = getSomeBasicView(); var newHomeViewHomeView =HomeView( bv ); grtz JC On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: How do I cast to something that is in the _global tree. by that i mean. cast

[Flashcoders] flip pages in as2 or the like

2006-08-23 Thread Matthias Dittgen
Personally I dislike those questions asking for ready-to-use code, but this time I have such a question by myself: Does someone know of a page flipping/ turn page AS2 solution? I only know Pageflip (http://www.iparigrafika.hu/pageflip/), which is a grown compley flash5/flashMX solution, that I

[Flashcoders] new logger for as 2

2006-08-23 Thread Hans Wichman
Hi list, I am writing a new logger for actionscript 2 projects. It's not completely done yet (say about 90%), but i have together a preliminary set of sources and examples. In short some of its nicest features (imo:)): - automatic reflection, eg you use Logger.log (here) and it prints

Re: [Flashcoders] PHP sessions in AS2

2006-08-23 Thread James
for the record problem turned out to be missing www in URL. Most likely a very common problem discovered by 1000s on this list. URL must have www on mac, on PC it seems to work with either http://yourdomain.com or http://www.yourdomain.com for anyone else who is confused, flash embedded in

Re: [Flashcoders] flip pages in as2 or the like

2006-08-23 Thread julien castelain
hi Matthias, this isn't ready baked code but it can probably help you : http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html On 8/23/06, Matthias Dittgen [EMAIL PROTECTED] wrote: Personally I dislike those questions asking for ready-to-use code, but this time I have such

RE: [Flashcoders] Passing values to a backend

2006-08-23 Thread Lucy Thomson
Yes you can use the LoadVars and try looking up sendAndLoad and onLoad. I usually bundle up my data into the LoadVars to send it off, then define what should happen when the response (either success or not) is returned form the server in the onLoad. That's where you can tell your app to either

Re: [Flashcoders] [ot] urgent: please help with cv/resume sample

2006-08-23 Thread Adrian Park
I've also encountered the issue where having a wide skill base is good in some places but seen as a negative point elsewhere. Back in Zimbabwe, if I could build a web site, fix the fridge, service the car and provide professional child councelling I'd be very valuable - here in London I'd be

Re: [Flashcoders] Passing values to a backend

2006-08-23 Thread Helen Triolo
sendAndLoad code example at bottom of this page if you need: http://flash-creations.com/notes/servercomm_loadvars.php Helen Lucy Thomson wrote: Yes you can use the LoadVars and try looking up sendAndLoad and onLoad. I usually bundle up my data into the LoadVars to send it off, then define

RE: [Flashcoders] Word processor in Flash

2006-08-23 Thread Merrill, Jason
I didn't ever notice because my audience is 100% IE, but now that I tested it in Firefox, yeah, pasting into a text input field in Firefox (Flash player 9) does not work. Must be a bug of some kind. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
Jason, did you ever get this figured? On 6/7/06, Jason Lutes [EMAIL PROTECTED] wrote: Can anyone suggest why a condition would be false for a test on a movie clip using instanceof MovieClip? I have a function that includes the line: if (graphicClip.highlighting instanceof MovieClip)

RE: [Flashcoders] [ot] urgent: please help with cv/resume sample

2006-08-23 Thread jim
I would say leave off any I am great because statements they take up a lot of space and everyone says the same things. Employers are used to seeing these and I feel like they never really help you out. Separate your CV into sections with Relevant Experience, Skills Technologies used, Education

RE: [Flashcoders] [ot] urgent: please help with cv/resume sample

2006-08-23 Thread Danny Kodicek
I would say leave off any I am great because statements they take up a lot of space and everyone says the same things. Employers are used to seeing these and I feel like they never really help you out. Separate your CV into sections with Relevant Experience, Skills Technologies used,

[Flashcoders] Re: new logger for as 2

2006-08-23 Thread Hans Wichman
Hi, ofcourse my hosting provider decided today was a good day to die, sooo here is an alternative link... http://www.screatoris.net/xflas2/ greetz JC On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi list, I am writing a new logger for actionscript 2 projects. It's not completely done

Re: [Flashcoders] Re: new logger for as 2

2006-08-23 Thread John Grden
Hey Hans, if you need a mirror, let me know On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, ofcourse my hosting provider decided today was a good day to die, sooo here is an alternative link... http://www.screatoris.net/xflas2/ greetz JC On 8/23/06, Hans Wichman [EMAIL PROTECTED]

Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Chris Allen
On 6/7/06, Jason Lutes [EMAIL PROTECTED] wrote: Can anyone suggest why a condition would be false for a test on a movie clip using instanceof MovieClip? I have a function that includes the line: if (graphicClip.highlighting instanceof MovieClip) graphicClip.highlighting._visible = false; If I

Re: [Flashcoders] Re: new logger for as 2

2006-08-23 Thread Michael Stuhr
John Grden schrieb: Hey Hans, if you need a mirror, let me know i can mirror that too, if needed. micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Johannes Nel
what happens if you cast it as a movieclip? On 8/23/06, Chris Allen [EMAIL PROTECTED] wrote: On 6/7/06, Jason Lutes [EMAIL PROTECTED] wrote: Can anyone suggest why a condition would be false for a test on a movie clip using instanceof MovieClip? I have a function that includes the line:

Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
this is the only thing that seems to bring it back to life: if(targetMC instanceof MovieClip == false) targetMC.__proto__ = new MovieClip(); before calling MCL.loadClip(), the target is a bonified MovieClip, but as soon as progress starts, it's not anymore. On 8/23/06, Johannes Nel [EMAIL

Re: [Flashcoders] Word processor in Flash

2006-08-23 Thread GregoryN
Tony, I've just tried your test page - it works OK. Firefox 1.5, win2k. However, after submit it is waiting for noen.org forever... :-) -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services.

Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Johannes Nel
thats quite a hack. a normal cast then returns null i assume? On 8/23/06, John Grden [EMAIL PROTECTED] wrote: this is the only thing that seems to bring it back to life: if(targetMC instanceof MovieClip == false) targetMC.__proto__ = new MovieClip(); before calling MCL.loadClip(), the target

Re: [Flashcoders] Dynamically Upcast to a class in the _global tree?

2006-08-23 Thread aaron smith
no that is just the usual way of doing it.. I need to be able to dynamically upcast.. like: vart = new _global['somepackage']['someClass'](); something like that.. i can't remeber how to do that.. with prototypes or _global.. On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, not sure

Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Peter Hall
Perhaps you have a class associated with the symbol, which does not extend MovieClip? Peter On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote: thats quite a hack. a normal cast then returns null i assume? On 8/23/06, John Grden [EMAIL PROTECTED] wrote: this is the only thing that seems to

RE: [Flashcoders] flip pages in as2 or the like

2006-08-23 Thread Ryan Potter
I don't know if a component solution would work for you, but it is supposedly controllable with AS. I can say their scroller component works like a champ. http://www.flashloaded.com/flashcomponents/pageflipper/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Flashcoders] Dynamically Upcast to a class in the _global tree?

2006-08-23 Thread Ian Thomas
Aaron, What are you trying to do..? There's no point in dynamically casting. Casting is just used to tell the compiler that you know what you're doing. For example: class A { function doSomething(){/**/} } class B extends A { function doSomethingElse(){/**/} } var someObject:A=new B();

Re: [Flashcoders] Help Formating/Styling Dynamic Text

2006-08-23 Thread Muzak
When adding a font symbol in the library, make sure to give it an 'Identifier' (right click Linkage.. Export for ActionScript) Muzak - Original Message - From: Aaron Roberson [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, August 23,

Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Chris Allen
Hi Johannes, Welcome back to Boston! (I didn't get a chance to say so on the BFPUG list) On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote: thats quite a hack. a normal cast then returns null i assume? Yeah that's quite a hack indeed! We are casting the thing with a normal cast as well and it

Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Johannes Nel
seeing you at the meeting tonight i take it :) this is a world of pain by the looks of it... have you tried loading it in without a loader, rather old style target.load(path) and see if that solves the problem. i have had some weirdness in flex1.5 with loading content as well and hacking it like

[Flashcoders] Scrollbar thumb moves up too high

2006-08-23 Thread Mendelsohn, Michael
Hi list... I have a scroll pane on the stage with the vertical scroll bars appearing as needed. The issue is that the scrollbar thumb scrolls up too high and actually scrolls over the up button. Anyone seen this before, and how should it be solved? Thanks, - Michael M.

RE: [Flashcoders] Hex colors function?

2006-08-23 Thread Marc Hoffman
Very nice -- thanks for the lesson! -Marc At 05:33 PM 8/22/2006, you wrote: Optimized for her pleasure: hex = [00, 33, 66, 99, CC, FF]; wsp = []; var r, g, b; r = 6; var x = 0; while (--r -(-1)) { g = 6; while (--g -(-1)) { b = 6; while (--b

Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
yeah I tried that this morning (using loadMovie() instead of mcl) - same results On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote: seeing you at the meeting tonight i take it :) this is a world of pain by the looks of it... have you tried loading it in without a loader, rather old style

Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Chris Allen
On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote: seeing you at the meeting tonight i take it :) Yeah! Definitely. this is a world of pain by the looks of it... have you tried loading it in without a loader, rather old style target.load(path) and see if that solves the problem. i have had

[Flashcoders] onLoadInit failure

2006-08-23 Thread Tony Fairfield
Does anyone have any insights as to why onLoadInit (the movieClipLoader event) might fail in some instances? Background: I create programs for CD and web delivery. Programs simply consist of a menu system and a movie clip into which external swfs are loaded as the content. I preload this swf

Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Chris Allen
BTW, there is a unit test to recreate the problem. It can be found here: http://svn1.cvsdude.com/osflash/fling/DEV_Source/classes/org/osflash/fling/tests/TestMovieAsset.as See testShowMovie() -Chris On 8/23/06, Chris Allen [EMAIL PROTECTED] wrote: On 8/23/06, Peter Hall [EMAIL PROTECTED]

[Flashcoders] Regular Expressions

2006-08-23 Thread Miguel Serrano
Hi list! I don't understand one issue of RegExp framework: the illustrative example: var pattern:RegExp = /(a)|(ab)/ pattern.exec(nnnabnnn); trace (result[0]) // output a pattern = /(ab)|(a)/ pattern.exec(nnnabnnn); trace (result[0]) // output ab Why this behaviour? shouldn't RegExp return

[Flashcoders] Re: Re: new logger for as 2

2006-08-23 Thread henrik weber (freemind-design)
hi hans, this looks really interesting; would be a great project for os- flash :) you definetly should create a page in the wiki for it; would be nice to see if an integration of your system with 'zeroi' would be possible... keep up the good work! henrik -- Henrik Weber Certified Flash

[Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-23 Thread Ricardo Sánchez
... well, not really but I thought it was good as I title I always use OOP for my flash projects but, even if I find it easier than timeline coding, I dont know if I'm taking all the advantage of OOP. I'm not even sure if I am aplying the correct patterns for every problem. My insecurity

[Flashcoders] Loaded Jpegs dissapear after loop

2006-08-23 Thread Brian Weil
I have a flash movie that plays a small intro text while a slideshow of 5 images are being loaded into 5 instances of a container movieclip. The goal is to play the intro, then start the slideshow but when the last slide is viewed, loop back to the first slide, skipping the intro text. I have the

RE: [Flashcoders] Dynamically Upcast to a class in the _global tree?

2006-08-23 Thread Mike Keesey
What would be the point of that? The only point of upcasting is to have things compile with strict typing, and the compiler can't tell what the class is if it's dynamically determined. Are you talking about dynamic *instantiation*? Then you could use something like this: // Import all classes

RE: [Flashcoders] Regular Expressions

2006-08-23 Thread Steven Sacks | BLITZ
http://www.regular-expressions.info/tutorial.html This is the best RegEx tutorial I've seen out there. It's comprehensive and every lesson builds on the last. By the time you get through it, you'll be a RegExpert! :) ___

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Steven Sacks | BLITZ
I have an issue with coders who put block comments in the middle of their code, such as: /*** ** SOME COMMENTS **/ function foo() { trace(hello world); } Or even worse: /*** ** SOME COMMENTS **/ function foo() { /*

Re: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Bbt Lists
Steven Sacks | BLITZ wrote: I have an issue with coders who put block comments in the middle of their code, such as: /*** ** SOME COMMENTS **/ function foo() { trace(hello world); } Or even worse: /*** ** SOME COMMENTS

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mike Keesey
Putting a block comment before a function is standard, though (Javadoc). Putting one *inside* a function is awful, though, I agree. /** * This is a perfectly fine Javadoc comment * * @param bar some parameter */ public function foo(bar:Object):Void { /* Using a block

Re: [Flashcoders] Re: Re: new logger for as 2

2006-08-23 Thread Hans Wichman
Hi, John, tnx, but I'm ok, i used my screatoris page for now located at my workplace, but i might take you up on your offer once i'm further along;), thanks again. Henrik, thanks! Take a look here: http://osflash.org/admin/new_project#project_hosting_request_for_xflas2 working on it:). greetz

RE: [Flashcoders] Scrollbar thumb moves up too high (Part II)

2006-08-23 Thread Mendelsohn, Michael
I discovered when you reset the contents of a scrollpane twice in a row, the scroll bar resets to the correct top position. But it seems to be a bug that you have to reload the scrollpane.content twice to get its scrollbar in the correct position. Note to self... - MM I have a scroll pane on

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Steven Sacks | BLITZ
Putting a block comment before a function is standard All standards are is somebody's way of saying I code like this and so should you. Everyone codes how they want to anyway. And by the way, nobody reads those documents anyway. I certainly don't. I read code the way I read music. I don't

Re: [Flashcoders] Help Formating/Styling Dynamic Text

2006-08-23 Thread Aaron Roberson
Muzak, I just tried that and still the text is not bold. I'm not sure what is going on... I created a font symbol in the library, checked export for ActionScript and gave it an identifier of ArialBold. For my dynamic text field, I selected the font ArialBold* (Note the asterick, indicating that

Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Johannes Nel
yeah, i think i agree with peter that the problem is then that you do not extend movieclip. we can get semantic about this tonight, but only once we have a beer in hand... ;) On 8/23/06, Chris Allen [EMAIL PROTECTED] wrote: On 8/23/06, Peter Hall [EMAIL PROTECTED] wrote: Perhaps you have a

[Flashcoders] Slighty OT: phone suggestions?

2006-08-23 Thread John Grden
I was wondering if anyone had some suggestions/favorite cell phones that run Flash light 2.0 swf's? Any that were easier to deal in development or offer more features overall? Thanks! -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Wednesday, August 23, 2006 11:19 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash/Actionscript Coding conventions Putting a block comment

Re: [Flashcoders] Slighty OT: phone suggestions?

2006-08-23 Thread Johannes Nel
i saw an awsome app on a nokia 6680 a couple of days ago, just sold me on the phone :) bulky as hell though (you get a nice camera with it...). i have a 7610 and that chokes a bit from time to time on flashlite 2 stuff, not unusable though. On 8/23/06, John Grden [EMAIL PROTECTED] wrote: I was

[Flashcoders] creating CDATA tags on the fly...

2006-08-23 Thread grimmwerks
...is it possible at all? I'm trying to save textfield's htmlText in CDATA in an xml doc rather than creating seperate .html files and linking them. Everytime I create a node with the proper tTop = ![CDATA[; tEnd = ]]; Then the damned thing goes all rootlt;![CDATA[]]gt;/root on me.

Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Peter Hall
Yes. Beer. See you then. Peter On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote: yeah, i think i agree with peter that the problem is then that you do not extend movieclip. we can get semantic about this tonight, but only once we have a beer in hand... ;) On 8/23/06, Chris Allen [EMAIL

Re: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Michael Bedar
Commenting in such a way that a document generator can parse your code is a good thing. I use VisDoc on OSX and it save a great deal of time. On Aug 23, 2006, at 2:45 PM, Mike Keesey wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf

[Flashcoders]Performance issue

2006-08-23 Thread Martin Weiser
Hello, i neeed urgent help, on this, try these two html pages, one with wmode transparent the other normal? http://flash.dna01.net/sp/tescoBTSmini.html http://flash.dna01.net/sp/tescoBTSmini.htm test it for a while (no mouse needem just let it go for 5 minutes ) plus measure CPU

Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Chris Allen
Sounds good guys! One minor update to think about before we are at the pub though. The problem only occurs when loading a rather large SWF. If it's a small one (20k or so) or it's on my local computer, then the MovieClip loads up, it is an actual MovieClip and all of the properties including

[Flashcoders] Re: creating CDATA tags on the fly...

2006-08-23 Thread grimmwerks
I wonder if it's possible to extend the XMLNode class so that CDATA can be added by just creating a text node that DOESN'T urlencode all the characters? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Re: Re: Re: Re: new logger for as 2

2006-08-23 Thread Hans Wichman
Hi Henrik, I've looked at it, and it seems pretty cool, however I'm not sure if it's really zero impact:). I need to look into it, but i think it only works with mtasc? Ruling out the flash ide, seems a bit of an impact to me:). But like I said i really need to look into real good first. Thanks

Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Ian Thomas
Hi Chris, Having had a trawl through the source code, I see what you're getting at. The fact that MovieAsset doesn't extend MovieClip is nothing to do with the problem; MovieAsset wraps a MovieClip property and passes that back, and that should be fine. I've no idea where it's going wrong, I'm

[Flashcoders] Updating text in a swf at compile time using MTASC and xml

2006-08-23 Thread Matt Muller
Hi, can anyone point me in the right direction. Is this possible, can it be done with injection? I have swfs that already have text in, but I dont want the load the text in dynamically, i want to update the text in them at compile time maybe with an ant task or something. Thanks MaT

[Flashcoders] communication between flash and access db

2006-08-23 Thread Céline Nguyen
Hi, I am beeing asked a question too technical for me, and maybe some of you might be interessted and could help me to see the things more clearly. I'm building a desktop application with Flash Studio, f8, oop, shared obj. One of the clients of my client wants the application to have some

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Chris Allen
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi Chris, Having had a trawl through the source code, I see what you're getting at. The fact that MovieAsset doesn't extend MovieClip is nothing to do with the problem; MovieAsset wraps a MovieClip property and passes that back, and that should

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mark Lapasa
I have to add that yes I do read comments left by others in their code... It helps me understand their code... ...it also helps me say What the F*** were they thinking!? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ian Thomas Sent: Wednesday, August 23,

Re: [Flashcoders] communication between flash and access db

2006-08-23 Thread Bbt Lists
Céline Nguyen wrote: Hi, I am beeing asked a question too technical for me, and maybe some of you might be interessted and could help me to see the things more clearly. I'm building a desktop application with Flash Studio, f8, oop, shared obj. One of the clients of my client wants the

Re: RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Chris Allen
On 8/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Putting a block comment before a function is standard All standards are is somebody's way of saying I code like this and so should you. Everyone codes how they want to anyway. And by the way, nobody reads those documents anyway. I

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Steven Sacks | BLITZ
Experienced coders who don't want to take the time to trawl through possibly impenetrable code read those documents. If you write impenetrable code, you need to reevaluate your career choice. If you're not willing to put forth the effort to be great at what you do, especially in something as

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Ian Thomas
Hi Chris, I've tried that (with a bit tweaking for syntax errors) and it all works fine - instanceof returns the correct results. This is loading a clip I created from scratch (Flash 8, WinXP) - if you have a sample clip I can try that's failing for you, that's be good. However, I did have to

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Johannes Nel
also what bout the content you are loading in, have you tried changing that? On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi Chris, I've tried that (with a bit tweaking for syntax errors) and it all works fine - instanceof returns the correct results. This is loading a clip I created from

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Ian Thomas
Oh, I should add, this is after I commented out the line: if(targetMC instanceof MovieClip == false) targetMC.__proto__ = new MovieClip(); from MovieAssets - which I assume was your temporary hack to fix things. It all works for me without this line. Cheers, Ian On 8/23/06, Ian Thomas [EMAIL

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
Hey Ian, try loading something off of a web server thats takes at least a second or 2 to load On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi Chris, I've tried that (with a bit tweaking for syntax errors) and it all works fine - instanceof returns the correct results. This is loading a

[Flashcoders] Re: Re: creating CDATA tags on the fly...

2006-08-23 Thread grimmwerks
Now I'm not only TALKING to myself while I work...I'm emailing my self too! :P If someone can point out what I'm doing wrong here - I thought I've finally hacked a way of using CDATA on the fly: - when adding a new CDATA node I add a new element/textnode with something as a flag to parse for

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
Yes, we've tested with several SWF's varying in size and target player (6-8) On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote: also what bout the content you are loading in, have you tried changing that? On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi Chris, I've tried that (with a

Re: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Michael Bedar
Your code could be difficult to read for other developers for a variety of reasons.. often readability is lessened in the name of optimization.. or you could simply be doing something that is very complex.. why does adding block comments to your code ruin it? On Aug 23, 2006, at 5:03

Re: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Scott Hyndman
If you're using eclipse, just use Ctrl+7 to comment a block out using double slashes. Doing it again removes them. This feature works in FDT and JDT. CDT uses Ctrl+\ instead I believe. So I do hear what you're saying, but tools can easily get around problems like this. And people do read docs.

[Flashcoders] asfunction and TextFormat.url

2006-08-23 Thread Merrill, Jason
What is the scope of asfunction's function? I am setting TextFormat.url to asfunction:myFunction, myParam, and it works fine inserting the Href value, and the text is clickable, but when you click the link, the asfunction isn't fired. Is there some special scope to the asfunction function

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Ian Thomas
Hi John, Yeah, I've now tried it with a bunch of random downloaded movies and managed to get some to fail. I think I've nailed it - or at least, one thing that produces the problem. At least on my system - if you load in a .swf version 7 or 8, it works fine. If you load in a .swf version 6,

Re: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Ian Thomas
On 8/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Experienced coders who don't want to take the time to trawl through possibly impenetrable code read those documents. If you write impenetrable code, you need to reevaluate your career choice. If you're not willing to put forth the

[Flashcoders] Re: Re: Re: Re: Re: Re: new logger for as 2

2006-08-23 Thread henrik weber (freemind-design)
hi hans, i'm eager to see your project evolve ;) i can't say whether your observation concerning zeroi (mtasc-only) is correct *g* i use mtasc most of the time; so never tried it without it (it's just a few days out now...) concerning your hd-problems: :-! but sometimes yelling and banging

RE: [Flashcoders] asfunction and TextFormat.url

2006-08-23 Thread Merrill, Jason
Nevermind... I got it. Apparently you can pass the entire scope path to the function as a string. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
wow, no infact, that confuses me ;) I've been loading Flash8 and 7 files and they've failed along with the version 6 swf's. If I load the Fp8 version locally, it seems to work, but from a web server, it seems to not. On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi John, Yeah, I've now

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread Ian Thomas
Weird. It's very reproducible here - I've tried varying sizes between 1Kb and 200Kb. They all fail if published to FP6, but work if published to FP7 and FP8 (the loader movie itself I've tested published to FP7 and FP8). I haven't tested a remote FP8 file, as I don't have one to hand. Gonna

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mike Keesey
So you never look at the Flash help code? You just open the .as files and trawl through them? And to the point about Javadoc, I'm not going to ruin my code and handicap my debugging ability to satisfy some poorly thought out requirement of a 3rd party tool. They require you to use block

Re: Re: Re: Re: [Flashcoders] Misreporting instanceof operator.

2006-08-23 Thread John Grden
cool, thanks Ian, I'll try the same tests with published swf's Really appreciate your help! On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote: Weird. It's very reproducible here - I've tried varying sizes between 1Kb and 200Kb. They all fail if published to FP6, but work if published to FP7 and

[Flashcoders] clone object

2006-08-23 Thread Wade Arnold
I have a style that I need to duplicate for several buttons. The style is declared once and then I want to duplicate the object and add a specific style element and then apply it to the button. However when I duplicate the object I get a reference to the original object, as expected. I tried to

Re: [Flashcoders] clone object

2006-08-23 Thread Jim Kremens
You know about mx.utils.ObjectCopy, right? Be sure to change the following lines to read accordingly: // var result:Object = new Function( refObj.__proto__.constructor)(); //change to: var result:Object = new (Function( refObj.__proto__.constructor))(); and // p[j]= q[j];

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Dave Watts
All standards are is somebody's way of saying I code like this and so should you. No, if implemented by a group, they're the group's way of saying, we code like this and so should you, if you want to be in this group. There's a huge difference between the two. I read code the way I read

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Steven Sacks | BLITZ
why does adding block comments to your code ruin it? I still don't understand how Javadoc makes your process suffer. From my first post: Commenting like that in your code makes it completely impossible to easily and completely comment out blocks of code using /* */ because they have their */

Re: [Flashcoders] Word processor in Flash

2006-08-23 Thread Anthony Lee
GregoryN wrote: Tony, I've just tried your test page - it works OK. Firefox 1.5, win2k. However, after submit it is waiting for noen.org forever... :-) Sorry Gregory noen.org's DNS provider was unreliable so I changed the service domain. I figured the test was over... I'll take it down.

Re: [Flashcoders] working with dynamic images using mysql database

2006-08-23 Thread Anthony Lee
Hi Ron, Put a thousand files in a Windows directory and watch the fun. Hmm... well yes that won't be your only problem with that choice of web server. I disagree on the rest but don't have the inclination to argue the point. Tony ___

RE: [Flashcoders] clone object

2006-08-23 Thread Steven Sacks | BLITZ
static function clone(obj:Object):Object { var o = (null != obj.length) ? [] : {}; for (var i in obj) { o [i] = (typeof obj[i] == object) ? clone(obj[i]) : obj[i]; } return o; } ___

[Flashcoders] Any MTASC masters out there?

2006-08-23 Thread aaron smith
I need some help figuring out how to compile with MTASC. I have used mtasc before, it was a while ago, and now I can't figure out what is going on with this project. I'm just trying to get it to compile. This is my MTASC command: mtasc\mtasc.exe classes\com\dsotdomb\Main.as -cp classes -cp

RE: [Flashcoders] Any MTASC masters out there?

2006-08-23 Thread Steven Sacks | BLITZ
Hey try out FLASC, a nice GUI for MTASC that runs in the Flash IDE. http://osflash.org/flasc It makes it easy to add classes and such. -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Any MTASC masters out there?

2006-08-23 Thread aaron smith
im using flash develop and trying to get it working through there.. i still would like to know what the issue is. but i'll give flasc a try On 8/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Hey try out FLASC, a nice GUI for MTASC that runs in the Flash IDE. http://osflash.org/flasc

Re: [Flashcoders] Any MTASC masters out there?

2006-08-23 Thread aaron smith
I've tried using FLASC. no luck. It doesn't really give me an errors or anything like the compiler from the command line does... i'd just assume use the command line and figure out what is wrong.. so I now how to use mtasc better.. anyway, any help would be much appreciated.. thanks On

  1   2   >