[Flashcoders] flashdevelop and introducing new classes

2007-07-05 Thread Hans Wichman
Hi list, I work with flashdevelop and usually have the following setup: - an injection swf, with a MyApp.main call() somewhere on the timeline - a flashdevelop project with mx to true, all the intrinsic mx classes on the classpath and useMain = false This works okay, except when I refactor and i

Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-05 Thread Hans Wichman
but I don't know if you can create intrinisics from that, or if you're even allowed to do so. regards, Muzak - Original Message - From: "Hans Wichman" <[EMAIL PROTECTED]> To: Sent: Thursday, July 05, 2007 9:14 AM Subject: Re: [Flashcoders] WebServices s

Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-05 Thread Hans Wichman
Hi, I've no experience with flex2, but Muzak can i conclude from your remark the classes are available under flex2 ? If so, can't they be compiled to an swf, used to generate intrinsics from and use them in flash 9 anyway? greetz JC On 7/5/07, Muzak <[EMAIL PROTECTED]> wrote: Those are AS2, n

Re: [Flashcoders] Bizarre: "Movie not loaded..." on local machine

2007-07-03 Thread Hans Wichman
Hi, by local machine you mean you are running the files locally ? Or is it possible the sysadmin blocked swf files on the firewall? greetz JC On 7/4/07, Aaron Roberson <[EMAIL PROTECTED]> wrote: For the last couple of weeks I have not been able to view any Flash files embedded in any pages on

[Flashcoders] Re: detecting whether an object is a class

2007-07-03 Thread Hans Wichman
ter an swf was loaded. greetz JC On 7/3/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi list, I'm working on a new version of my reflection package and saw that my class check ( obj instanceof Function && obj.constructor != null) isnt as foolproof as I thought :). For example thi

Re: [Flashcoders] Skewing text

2007-07-03 Thread Hans Wichman
ent. http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html Jake On 02/07/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > > Hi, > I put together a very simple example for fun, maybe it's of use, nothing > f

[Flashcoders] detecting whether an object is a class

2007-07-03 Thread Hans Wichman
Hi list, I'm working on a new version of my reflection package and saw that my class check ( obj instanceof Function && obj.constructor != null) isnt as foolproof as I thought :). For example this doesnt work for built in classes such as Stage. I tried a lot of different solutions, even looked i

Re: [Flashcoders] Skewing text

2007-07-02 Thread Hans Wichman
s like something you might be able to toy with... good luck, Dunc On 7/2/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > > whether you screw or skew the movieclip that still wont be a perspective > distortion:) > > On 7/2/07, David Ngo <[EMAIL PROTECTED]> wrote: > >

Re: [Flashcoders] Skewing text

2007-07-02 Thread Hans Wichman
whether you screw or skew the movieclip that still wont be a perspective distortion:) On 7/2/07, David Ngo <[EMAIL PROTECTED]> wrote: Couldn't you just stick a TextField inside of a MovieClip then use a transformation matrix to screw the MovieClip? -Original Message- From: [EMAIL PROT

Re: AW: [Flashcoders] Turn image around effect?

2007-07-02 Thread Hans Wichman
Hi, not entirely what you need, but it might be of some use: http://objectpainters.com/blog/?p=37 greetz JC On 7/1/07, Peter Oliver Geller <[EMAIL PROTECTED]> wrote: Is it still Pascal Leroy? Cheers Peter -Ursprüngliche Nachricht- Von: [EMAIL

Re: [Flashcoders] Coding suffixes and prefixes triggering code hinting

2007-07-02 Thread Hans Wichman
Hi, not sure, but if you use flashdevelop and turn on the strict flag, strict typing becomes very possible and practical :) greetz JC On 7/2/07, Adrian Parr <[EMAIL PROTECTED]> wrote: Hi All, I vaguely remember there being a way of modifying the in-built triggers for code hinting. For examp

Re: [Flashcoders] OT but please help. Need a .NET C# list LIKE THIS ONE!

2007-07-01 Thread Hans Wichman
i think you've got the wrong list? On 7/1/07, Alberto Florentin <[EMAIL PROTECTED]> wrote: Had to start learning $.net C#. Feel lost with database access. Sorry and thanks in advance alberto ___ Flashcoders@chattyfig.figleaf.com To change your subs

Re: Re[2]: AW: [Flashcoders] Turn image around effect?

2007-07-01 Thread Hans Wichman
"nag to complicate things" aye *raises hand* :) This effect reminds me a lot of the tricks we used to pull hacking away into the night on C64 assembler though, ie we have 2 bitmaps (front and back), we have a new bitmap and loop a sinus or something like that over all the rows, a positive number

Re: [Flashcoders] adapt architecture to facilitate switching component sets

2007-07-01 Thread Hans Wichman
Hi, thanks for both your replies Robert & Amir. We are not quite ready to move this project over to Flex, AS3, although I'm wondering if I should reconsider and force it:). The current system consists of somewhat 500 to 600 swf's, and although the system is pretty cool, some stuff needs a bit of

[Flashcoders] adapt architecture to facilitate switching component sets

2007-06-29 Thread Hans Wichman
Hi, we are looking into using another component set than the v2 architecture. However we don't want to switch over and over again, and frankly as the architecture developer I dont want anything to do with components at all. So I was thinking about a setup where I write component interfaces such

Re: [Flashcoders] problems with exclude.xml not always working

2007-06-28 Thread Hans Wichman
Hi, you mean _exclude.xml right? Otherwise it figures that only some of them work:). Things I noticed, you really have to exclude ALL classes you dont want, just putting the toplevel classes in the file isnt going to work. A workaround, or rather preferred approach I use is to have FlashDevelop (

Re: [Flashcoders] Huge problems with preloader

2007-06-26 Thread Hans Wichman
Hi, if you generate your swf with a size report (see publish settings), how many bytes do you exported in the first frame? greets JC On 6/26/07, Ricardo Sánchez <[EMAIL PROTECTED]> wrote: Hi all, It seems it's taking time to connect with the server or something. I'm trying this from spain

Re: [Flashcoders] as2lib logging setup.

2007-06-25 Thread Hans Wichman
Hi, any reason you dont want to use asunit for that? kind regards, JC On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello people, I pulled down the as2lib and want to use it for unit testing. i also pulled down the tdd_mocks_in_practice sample files to test and see how it works.

Re: [Flashcoders] copying text to clipboard?

2007-06-25 Thread Hans Wichman
Hi, just out of curiousity, if you open flash, press f1 for help and enter clipboard, does it give any results on your end? regards, JC On 6/25/07, Corban Baxter <[EMAIL PROTECTED]> wrote: Hey guys a client is wanting me to create a combobox that has a button below it that can copy text to t

Re: [Flashcoders] effects on dynamic text

2007-06-24 Thread Hans Wichman
Hi, you could try the bitmap api. greetz JC On 6/24/07, nik crosina <[EMAIL PROTECTED]> wrote: Hi, I am trying to apply effects like drop shadows to dynamic text items, but that seems to affect the anti-aliasing. Is there a way of converting dynamic text into bitmaps, then applying the effec

Re: [Flashcoders] patching MM classes for mtasc

2007-06-22 Thread Hans Wichman
21/07, quinrou . <[EMAIL PROTECTED]> wrote: can u provide a link to that swc - i haven't managed to find it on the osflash.org site? thanks On 6/21/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > > Hi, > i think there is some license issues preventing folks from redistributing

Re: [Flashcoders] patching MM classes for mtasc

2007-06-21 Thread Hans Wichman
Hi, i think there is some license issues preventing folks from redistributing them, since they wudnt put us through the patching process if it wasnt:) I download swc extract from osflash and simply extracted every class i could find from the components, that solved my problems. It gave me a bunch

Re: [Flashcoders] Swf class explorer

2007-06-20 Thread Hans Wichman
Hi, im not certain what you need, but you can look at: Xray FlashDevelop (lets you browse swf files for classes) decompilers a reflection package If you look here: http://www.objectpainters.com/xflas2/ You see a class finder and functionfinder class. If you call ClassFinder.registerAll(); you wi

[Flashcoders] mtasc eval

2007-06-20 Thread Hans Wichman
Hi, does n1 know why eval("_global") returns an object in the flash IDE, but undefined in MTASC? regards, JC ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/f

Re: [Flashcoders] Estimating the time required for a project

2007-06-19 Thread Hans Wichman
application might fail and try to deal with those gracefully. But whenever I give estimates the project manager says "well the other guy can do it in 5 days". its driving me nuts. Thanks once again for the advice. James On 6/16/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > &

Re: [Flashcoders] Estimating the time required for a project

2007-06-16 Thread Hans Wichman
Hi, well one advice is to start recording your current measures and check afterwards how close you were. Record things you forget that made your estimates go wrong, records the factor realhours vs estimate. Assume that when you think you know everything, you only know about 40% of whats going to

[Flashcoders] crash when using local shared object

2007-06-12 Thread Hans Wichman
Hi, some of our clients are experiencing a crash when data is saved to a local shared object. It seems to occur under the following circumstances: * the user has not previously allowed the player to save the data so a security box is displayed, asking for more priviliges * the user allows or dis

Re: [Flashcoders] Uncover the Flash Files

2007-06-08 Thread Hans Wichman
Hi, cool site, nice to have all those 'misconceptions' and other helpful info combined. It does fall off the screen, (just as it would with a wrong css sheet). keep it up JC On 6/9/07, Snepo - Arse <[EMAIL PROTECTED]> wrote: I also missed content because of the window size. The Flash Times

Re: [Flashcoders] Scroll pane pain

2007-06-07 Thread Hans Wichman
Hi, not sure, but are you exporting the classes to another frame then 1? greetz JC On 6/7/07, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote: Hi list... I have a ScrollPane (V2) that isn't displaying any of its scrolling elements, and it's stuck at about 100x100 pixel size, no matter how much

Re: [Flashcoders] disapearing animation

2007-06-05 Thread Hans Wichman
Hi, wait a few minutes more and it fades back in again:) Seems like a movieclip not correctly stopping. This should have nothing to do with looping. Try Xray to figure out what happens. greetz JC On 6/5/07, hervé hubert <[EMAIL PROTECTED]> wrote: Hi, I have a strange issue on several of my

Re: [Flashcoders] combo box problem

2007-06-01 Thread Hans Wichman
Hi, cool randy, glad its fixed. Note however that that is the solution the article posted before describes:) greetz JC On 6/1/07, Randy Tinfow <[EMAIL PROTECTED]> wrote: We'd tried this on our own with no success. The brilliant Felix Turner gave us the simple solution: Put the main combobox

Re: [Flashcoders] Strange ComboBox issues when loaded in a child SWF

2007-05-31 Thread Hans Wichman
Hi Andy, one more question, do you load in a clip with all the assets and actually construct an interface within that library, OR do you use runtime shared libraries to accomplish this, if and not, why not;). We are running into problems (as described in the previous post) which forces us to move

Re: [Flashcoders] Strange ComboBox issues when loaded in a child SWF

2007-05-31 Thread Hans Wichman
Hi, I found another strange thing in ComboBox today, Ive overriden the displayDropdown method to open up upwards always. The only thing is Macromedia changed 2 lines in the combobox class between mx2004 and flash 8, which caused the overridden component to no longer trigger events. So when compi

Re: [Flashcoders] combo box problem

2007-05-31 Thread Hans Wichman
Hi Randy, this any help: http://www.5etdemi.com/blog/archives/2005/06/careful-with-_rootgetnexthighestdepth-and-other-fun-ways-of-breaking-combo-boxes/ greetz JC On 5/31/07, Randy Tinfow <[EMAIL PROTECTED]> wrote: >have you checked with xray if there is something in the way? >Or commented out

Re: [Flashcoders] combo box problem

2007-05-31 Thread Hans Wichman
Hi, have you checked with xray if there is something in the way? Or commented out some of the stuff that gets created in order to pinpoint the problem? regards, JC On 5/31/07, Randy Tinfow <[EMAIL PROTECTED]> wrote: >@randy: define not working?< The combobox is being placed initially like th

Re: [Flashcoders] combo box problem

2007-05-30 Thread Hans Wichman
Hi, @randy: define not working? Does it no longer dropdown and show a weird show button thats disabled, or does it no longer fire events or is it no longer visible? regards JC On 5/31/07, Carl Welch <[EMAIL PROTECTED]> wrote: No, I'm not loading any external swfs. On 5/30/07, Andy Herrman

Re: [Flashcoders] [OT] - Job Posting

2007-05-30 Thread Hans Wichman
he original text of the offer is somewhat misleading - I think there is supposed to be a full stop rather than a comma between "HTML" and "MDM Zinc", which significantly alters the expected skill set I think... Best Pete On 5/29/07, Hans Wichman <[EMAIL PROTECTED]> wro

Re: [Flashcoders] [OT] - Job Posting

2007-05-29 Thread Hans Wichman
Hi Peter, just curious, but reading through what you are looking for, in what respect does "relatively junior" come in? If I could lay my hands on a flash programmer matching your expectations, I would not call him junior :). But that could just be me ofcourse. regards, JC On 5/29/07, Peter B

Re: [Flashcoders] Site structure with classes

2007-05-29 Thread Hans Wichman
have a look at guggaf too, might be applicable here as well i think, it goes further then an application framework, it present a website-application framework. greetz JC On 5/29/07, Muzak <[EMAIL PROTECTED]> wrote: Have a look at ARP http://osflash.org/projects/arp With ARP you don't use th

Re: [Flashcoders] Extract and use numbers from string

2007-05-19 Thread Hans Wichman
Hi, Im not sure what you mean, the x for the clips is simply: current_location._x getting the reference is eg (if this is the movieclips parent): this["location_"+row+"_"+column] parsing the x and y from the name can be done (quick and dirty) with: var movieclipNameParts:Array = (""+clipreferen

Re: [Flashcoders] looking for library naming conventions

2007-05-10 Thread Hans Wichman
Hi, ok thanks, so let me get this right, a clip in the library can be called eg MC_Foo and on stage its called MC_Foo as well, with caps? And when you reference to this clip from a class or movieclip subclass, do you create an additional field for it (eg myMC_Foo) and copy the reference, or do yo

[Flashcoders] looking for library naming conventions

2007-05-10 Thread Hans Wichman
Hi, could someone point me to a clear set of library item naming conventions? I know they must be out there, but cant seem to find any (that I like). I tend to use the same conventions as in code, so for example I use MyMovieClip for a library item and myMovieClip for an instance of that item on

[Flashcoders] animating buttons

2007-05-10 Thread Hans Wichman
Hi list, when programming in AS2 i usually favor composition over inheritance, so eg when i have a button i create a class for it passing in a parent container and the class attaches all the objects it needs on the parent and wraps it. However when i want to animate a number of these buttons wit

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Hans Wichman
http://objectpainters.com/blog/?p=9 On 5/2/07, Dave Wood <[EMAIL PROTECTED]> wrote: Hi I'm having problems correctly rotating a movieclip to accomodate users printing in either portrait or landscape format. There was a thread about this maybe 4 to 6 weeks ago and I'm unable to locate it in

Re: [Flashcoders] How to call a global method like "trace"--not theclass method?

2007-04-29 Thread Hans Wichman
Hi, you might wanna take a look here as well: http://osflash.org/projects#logging_tools greetz JC On 4/28/07, Jesse Graupmann <[EMAIL PROTECTED]> wrote: "Out" - by Big Space Ship http://labs.bigspaceship.com/blog/?p=28 "...it does make it a lot easier to scan through large volumes of trace(

Re: [Flashcoders] Why does this work?!

2007-04-17 Thread Hans Wichman
Hi, what were your own test results? :) Yes you can do this, and flash will execute the first matching case statement. Any other matches will be ignored. greetz JC On 4/17/07, Andy Herrman <[EMAIL PROTECTED]> wrote: I just realized that there are a number of switch statements in my code whic

Re: [Flashcoders] Printing problem with F player 9.0.45

2007-04-16 Thread Hans Wichman
Hi, check http://www.peachpit.com/articles/article.asp?p=31573&rl=1 and specifically: *CAUTION* The print and printNum actions do not print alpha channels, bitmaps, or color effects. There was a post a couple weeks ago about printing a movieclip, check it out. I have some printing code on my b

Re: [Flashcoders] Re: PrintJob acting weird

2007-04-12 Thread Hans Wichman
Hi, is pj.addPage( view.mcPrint, null, {printAsBitmap:Boolean}); actual code? or do you use pj.addPage( view.mcPrint, null, true); ? greetz JC On 4/12/07, Flap Flap <[EMAIL PROTECTED]> wrote: In fact seems to be a Flash Player 9 weirdo and nothing to do with local / online.

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-12 Thread Hans Wichman
tion, as in injecting swf's doesn't support assets... thanks Hans for your reply and thanks to all the list! Flash Coders ROCKS!!!! On 4/12/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > > Omar, > have you tried what I suggested? > greetz > JC > > > On 4/11/07, Om

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-12 Thread Hans Wichman
Omar, have you tried what I suggested? greetz JC On 4/11/07, Omar Fouad <[EMAIL PROTECTED]> wrote: D. ache i tried it but unfortunately it didn't work. More ideas??? On 4/11/07, dr.ache <[EMAIL PROTECTED]> wrote: > > scope problem. try to create the Delegate before applying it to the > on

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-11 Thread Hans Wichman
Hi, the problem is "Note: I had set the "USEMX" option in flash develop to true..." Setting the option to true, means mtasc is passed a flag -mx which means: do NOT use the mx classes. So you are not compiling the delegate class into your project. If you want to use the -mx flag, simply create a

Re: [Flashcoders] Image resizer that maintains ratio

2007-03-27 Thread Hans Wichman
a long time before showing up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 27 March 2007 08:23 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Image resizer that maintains ratio The more I read these post, the mo

Re: [Flashcoders] Image resizer that maintains ratio

2007-03-26 Thread Hans Wichman
age resizer that maintains ratio The "_scale" property is a percentage value if you have a 800x600 image and set _xscale=50 and _yscale=50, you get a 400x300 image On 3/26/07, Hans Wichman < [EMAIL PROTECTED]> wrote: > > Hi, > that IS weird, because if your image is 800

Re: [Flashcoders] another setInterval question

2007-03-26 Thread Hans Wichman
Hi, note that the proposed solutions restart the interval, they do not pause it. Otherwise calculate how much time there is still left of the interval. greetz JC On 3/27/07, Muzak <[EMAIL PROTECTED]> wrote: Might as well throw in Delegate while you're at it: import mx.utils.Delegate; var int

Re: [Flashcoders] Flash modify

2007-03-26 Thread Hans Wichman
Hi, you mean gotoAndPlay(161) on frame 1? greetz JC On 3/27/07, Phil Smith <[EMAIL PROTECTED]> wrote: Hi. I am using a Flash template and I want to modify it so that it starts at frame 161 each time, as a return page without intro. Anyone got an easy solution? Cheers, Phil Smith.

Re: [Flashcoders] Image resizer that maintains ratio

2007-03-26 Thread Hans Wichman
Hi, that IS weird, because if your image is 800x600, you are saying: target_mc._xscale = target_mc._yscale = 800; which is probably not what you want^^ greetz JC On 3/26/07, eric e. dolecki <[EMAIL PROTECTED]> wrote: Ok that is SO weird. I was just thinking about this... myListener.onLoad

Re: [Flashcoders] FW: Image resizer that maintains ratio

2007-03-26 Thread Hans Wichman
Hi, shouldnt be too tricky, set the actual x and y scale to the minimum of the preferred x and y scale. Might be wrong about this, but shouldnt it be something like: eg: var prefXScale:Number = //get preferred x scale eg based on x mouse var prefYScale:Number = //get preferred y scale eg based on

Re: [Flashcoders] setting a timer in flash 8

2007-03-25 Thread Hans Wichman
Hi, you asked this question before, and I replied to it, why not continue that thread instead of reposting it? You are on the right track though, there are different approaches: 1. waiting a number of frames: var curFrame:Number = 0; var frameRate:Number = 12; var waitFrames:Number = 20*frameRate;

Re: [Flashcoders] timer question

2007-03-25 Thread Hans Wichman
Hi, your example is: seconds = a; newSeconds = a+10; if (seconds == newSeconds) in other words if (seconds = seconds+10) that will never work. Look into setInterval and there is a undocumented setTimeout function somewhere I think. Better yet write your own Timer and TimerEvent class to wrap t

Re: [Flashcoders] Trouble getting _x position

2007-03-23 Thread Hans Wichman
Hi, it works ok here. It traces zero, as it should. greetz JC On 3/23/07, Lee Marshall <[EMAIL PROTECTED]> wrote: Hi all Just trying to create a box in actionscript into an empty movieclip. I then wanted to reurn the _x postion of the box, but it's just not happening for me. Here is my code.

Re: [Flashcoders] Compiling with self-reference

2007-03-23 Thread Hans Wichman
Hi, you said: restrictive not to be able to refer to a superclass within a subclass - that's enforcing an arbitrary design principle. But that's not what you are doing: you are referring to a subclass within a superclass. And with this "So it seems pretty reasonable to me that all my objects kno

Re: [Flashcoders] Localization issue with XML

2007-03-22 Thread Hans Wichman
Hi, i just finished an app with the same characters in it. It contains no header and is a unicode file. The file was generated from a database to ascii (which is stupid but whatever) so I used a commandline vbscript for the conversion from my buildfile. If you like I can send you the xml file and

Re: [Flashcoders] Compiling with self-reference

2007-03-22 Thread Hans Wichman
ps if you still need to do what you are trying, compiling twice or thrice might help:) On 3/22/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, this class Clarss { var pRoot:Clarss2 function Clarss() { } } class Clarss2 extends Clarss { function C

Re: [Flashcoders] Compiling with self-reference

2007-03-22 Thread Hans Wichman
Hi, this class Clarss { var pRoot:Clarss2 function Clarss() { } } class Clarss2 extends Clarss { function Clarss2() { } } looks like a design error to me. One of the reasons you would use inheritance is polymorphism, and reducing complexity. A super class having to k

Re: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Hans Wichman
Hi, you mean something like this: var bitmapData1:BitmapData = new BitmapData(200, 200, false, 0x00); bitmapData1.draw(myMC,new Matrix()); ? greetz JC On 3/21/07, Douglas Pearson <[EMAIL PROTECTED]> wrote: Anyone know if there's a way to draw the contents of a SWF to a Bitmap/BitmapData o

Re: [Flashcoders] Create an object by name

2007-03-19 Thread Hans Wichman
Hi, new eval("_global.mypackage.MyClass") does the trick as well I believe. greetz JC On 3/19/07, Danny Kodicek <[EMAIL PROTECTED]> wrote: > > If I have a string, how can I make an object from the class > it represents? > > Eg: > > > > I have class MyBigClass > > the string className contains

Re: [Flashcoders] Q:using printjob class

2007-03-16 Thread Hans Wichman
Hi, i dont know if it helps, but i posted a piece of movieclip printing code here: http://objectpainters.com/blog/?p=9 It basically prints a movieclip you pass it scaled-to-fit. Option 1 and 2 describes rotating along with a landscape setting or not rotating along with it. It might help you alth

Re: [Flashcoders] DisplacementMap -> Mode 7 (perspective distortion)

2007-03-09 Thread Hans Wichman
Hi, I posted some info on my blog about using photoshop/3d software to get the effect you want. I don't know if displacement maps are the way to go though, seems papervision3d might be of more help to you. Anywayz for more info on getting specific displacements, you can take a look here: http://ob

Re: [Flashcoders] more _lockroot woes

2007-03-04 Thread Hans Wichman
obably a lot smaller than the total of all of the classes - longer first load but savings later. You can write helper classes that can be loaded on demand but they can have unique names. Ron Hans Wichman wrote: > Hi, > yep and thanks for the replies. Well its all ofcourse just corporal

Re: [Flashcoders] more _lockroot woes

2007-03-04 Thread Hans Wichman
Hi, yep and thanks for the replies. Well its all ofcourse just corporal punishment for using lockroot:) One more reason to stay away from it, now only to find a good replacement:). Very strange though, one case where I ran into this problem is, using a main.swf and a sub.swf, where the sub would l

[Flashcoders] more _lockroot woes

2007-03-02 Thread Hans Wichman
Hi, I asked a question a few weeks ago about a strange phenoma with _lockroot, losing the reference to the _root I really needed. I seemed to have narrowed it down a little further. Flash seems to lose the way when you reference _root from an instance of a class that is not a movieclip. Especiall

Re: [Flashcoders] Problem when loading swf a second time

2007-02-24 Thread Hans Wichman
don't know what to try next. On 2/23/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > > ps what also might be the case is that you are using static classes, > singletons etc and that the whole mumbojumbo is not correctly initialized > (or already 'used') the second ti

Re: [Flashcoders] Problem when loading swf a second time

2007-02-23 Thread Hans Wichman
ps what also might be the case is that you are using static classes, singletons etc and that the whole mumbojumbo is not correctly initialized (or already 'used') the second time around. On 2/23/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, i had a similar problem last week.

Re: [Flashcoders] Problem when loading swf a second time

2007-02-23 Thread Hans Wichman
Hi, i had a similar problem last week. In my case, even though _lockroot was on, the second time I loaded a clip, the reference to _root suddenly pointed to the main _root again and not the subroot as it had to. Trace (_root) from the subclip to see whats happening. In my case I lost the referenc

Re: [Flashcoders] Linked library in loaded swf file

2007-02-19 Thread Hans Wichman
Hi, i see a pattern here muzak:). I love your site, its so much more user friendly then http://www.justfuckinggoogleit.com/ :) However there is a LOT of info on this shared library stuff. And although your post sums them up, 750 results is a lot to go through:). greetz JC On 2/19/07, Muzak <[

Re: [Flashcoders] Re: LocalConnection Issue - Flash 8 + IE

2007-02-19 Thread Hans Wichman
Hi, we are encountering the exact same problem here, did you ever solve this? greetz JC On 2/9/07, Chris Griffith <[EMAIL PROTECTED]> wrote: John, I¹m not sure I understand what you¹re asking. Is there an example somewhere of how I might set the SWFs up to test them that way? Since posting

[Flashcoders] Re: _lockroot resetting

2007-02-17 Thread Hans Wichman
So, any ideas anyone? This 'feature' kinda messes up the whole system atm ... thanks in advance JC On 2/14/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, in an application I am working on, I was 'forced' to use _lockroot (until the architecture can be reevaluated:

Re: [Flashcoders] Evaluate string as actionscript?

2007-02-16 Thread Hans Wichman
http://www.google.nl/search?hl=nl&q=actionscript+interpreter&meta= On 2/16/07, Michael Mudge <[EMAIL PROTECTED]> wrote: As far as I know, you can't do this. The Flash player is basically a virtual machine (runs compiled code); it does not have a compiler, so it can't take text-code and turn

Re: [Flashcoders] AGAIN!! AS2 Question

2007-02-15 Thread Hans Wichman
Hi Omar, i think the best thing todo is to pick up a book, or even two (or websites for that matter): one about general object oriented concepts and one about general programming concepts. Your questions in particular deal with the concepts of local vs instance vs global vs method parameters and

[Flashcoders] _lockroot resetting

2007-02-14 Thread Hans Wichman
Hi, in an application I am working on, I was 'forced' to use _lockroot (until the architecture can be reevaluated:))). So assume main loads sub into a path _root.sub and sub has _lockroot to true. If I trace _root from sub, it prints _level0.sub as it should. However when I load sub for the secon

Re: [Flashcoders] Need help

2007-02-08 Thread Hans Wichman
dating user interaction with cd-rom , online. thanks Abhi On 2/8/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > Hi, > so what is your question? > > greetz > JC > > > On 2/8/07, creativity <[EMAIL PROTECTED]> wrote: > > > > i have online records of st

Re: [Flashcoders] Need help

2007-02-08 Thread Hans Wichman
Hi, so what is your question? greetz JC On 2/8/07, creativity <[EMAIL PROTECTED]> wrote: i have online records of students. and i have some contents on cd-rom. i need user to authenticate online when he starts browsing cd. also i need to pass his status to online record once he has gone throu

[Flashcoders] dropdown box implementation

2007-02-07 Thread Hans Wichman
Hi list, could anyone give me some pointers on how you would normally implement the dropdown part in a dropdown box? Would you reshuffle all components to make sure it's on top, or use a custom depth manager to attach the dropdown on the fly to the highest level, or? In addition how would this wo

Re: [Flashcoders] Stop Flash caching classes

2007-02-05 Thread Hans Wichman
Hi, does your main and swfA compile the same classes? And use the same classpaths? greetz JC On 2/5/07, pedr browne <[EMAIL PROTECTED]> wrote: Hello all, Got a really nightmarish problem with my copy of Flash8. It has decided to start caching certain classes and despite clearing the ASO file

Re: [Flashcoders] stack trace?

2007-02-05 Thread Hans Wichman
) A very minor suggestion would be to put () after method names in the log. I haven't dug around yet to see if there is a config option to include params?... Anyway thanks for the code. On 2/5/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > Hi, > i'll post an update soon, the ne

Re: [Flashcoders] stack trace?

2007-02-05 Thread Hans Wichman
ing stuff in the default package I suppose. Jason On 2/5/07, Hans Wichman <[EMAIL PROTECTED]> wrote: > Hi, > not really, but you can do it partially yourself. > If you look in xflas2, you'll find a call Logger.markEntry(arguments) > > If you call ClassB.methodB with params 1,2

Re: [Flashcoders] stack trace?

2007-02-05 Thread Hans Wichman
Hi, not really, but you can do it partially yourself. If you look in xflas2, you'll find a call Logger.markEntry(arguments) If you call ClassB.methodB with params 1,2,3 from ClassA.methodA and methodB looks like: public methodB (a:Number, b:Number, c:Number) { Logger.markEntry(arguments); } and

Re: [Flashcoders] streaming SWF

2007-02-01 Thread Hans Wichman
Hi, yes it is, but if you have a very big movie, and everything is exported on frame 1, it almost amounts to the same thing as waiting until its fully loaded. greetz JC On 2/1/07, Thomas Silver <[EMAIL PROTECTED]> wrote: Hi there! Is it it possible to play a loaded swf without it being fully

Re: [Flashcoders] path to upper level folder

2007-01-31 Thread Hans Wichman
Hi, one more note, it works UNTIL your html and swf are no longer in the same directory. If that ever happens, _url will be your best friend. greetz JC On 1/31/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: THANK YOU! It works. 2007/1/31, Andy Herrman <[EMAIL PROTECTED]>: > > Ok, so is

Re: [Flashcoders] very basic movie freezing up (???)

2007-01-31 Thread Hans Wichman
Hi, doesnt freeze up here, but dont know if that helps:) greetz JC On 1/31/07, Max Kaufmann <[EMAIL PROTECTED]> wrote: The following movie freezes up for no discernable reason, there's not even any actionscript or tweening or anything. It's just shapes in keys: http://www.mentalpicture.net/mi

Re: [Flashcoders] Preloaders and Classes/Audio ...

2007-01-31 Thread Hans Wichman
Hi, dont know, what happens if you try what you describe and watch the bandwidth profiler? :) greetz JC On 1/31/07, Stephen Ford <[EMAIL PROTECTED]> wrote: As I understand it, the best way (or one of) to have a preloader start at 0% when using classes is to uncheck 'export in first frame' for

Re: [Flashcoders] Need a volunteer Flash Programmer

2007-01-30 Thread Hans Wichman
Nice article, lot of wisdom in it, but I don't think he promised us any money, and he might just be a one-man-php-show trying to develop something :). Problem is, we all are:) On 1/31/07, Mick G <[EMAIL PROTECTED]> wrote: "This is very small and non-profit. I cannot pay you" Classic! You may w

Re: [Flashcoders] > Tiles Based game engine

2007-01-30 Thread Hans Wichman
Hi, not that I know off, but this might help you a lot with the ladder stuff etc:http://www.tonypa.pri.ee/tbw/ But u probably already knew about that one:) greetz JC On 1/31/07, Weyert de Boer <[EMAIL PROTECTED]> wrote: Hello! I am curious if anyone happen to know a nice AS2 based tiles base

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Hans Wichman
Hi, maybe a dumm question but would it be off limits to express this changing-behaviour in the interface? For example in such an object as you are describing, you could add a method setResizeBehaviour(r:ResizeBehaviorImpl) (in pseudo then). Then you can change a certain type of behavior at runtime

Re: [Flashcoders] math simple operation

2007-01-27 Thread Hans Wichman
Hi, multiply everything with 1000 before, and divide by 1000 after?:) greetz JC On 1/27/07, ntasky <[EMAIL PROTECTED]> wrote: Hi, I'm kind of disapointed : trace (1.3-1) // traces:0.3 but : trace (9.3-9) // traces: 0.301 trace (100.3-100) //traces: 0.297 ... is there a

Re: [Flashcoders] Tooltip for disabled buttons: Ideas?

2007-01-26 Thread Hans Wichman
Hi, we use a ButtonTooltipWrapper thingy. Basicly you do: new Tooltip (myButton, "myTooltip", [hitArea]) it creates an empty movieclip, with the button as hitArea. All events that are not triggered on this clip are used to show/hide tooltip and then dispatched to lower lying button. Still tweakin

Re: [Flashcoders] Trace the _x and _y from node of Tree component

2007-01-26 Thread Hans Wichman
Hi, i see menuTree*2*.selectedNode and menuTree.addEventListener? Beside that, might be a scoping/reference issue, your listener doesnt have a reference to the menuTree. greetz JC On 1/26/07, Lois IN <[EMAIL PROTECTED]> wrote: Hello, (first of all, sorry for my english) I have the Tree compo

Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Hans Wichman
Hi, I don't think the comments are included in the swf. greetz JC On 1/25/07, ben gomez farrell <[EMAIL PROTECTED]> wrote: U.I could be wrong, but doesn't "omit trace actions" in the publish settings do this? ben Mick G wrote: > I've always wondered why there is no option to omit com

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Hans Wichman
fleshed out. Serialisation and deserialisation of the loggers configuration to xml is operational, however the loading of the xml is not yet part of the logging framework. On 1/25/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, you might want to take a look at xflas2, at osflash.org/xfl

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Hans Wichman
Hi, you might want to take a look at xflas2, at osflash.org/xflas2 It says alpha, but I've used it (and wrote it) for the last year and haven't found any problems. It comes with a bunch of examples. What I like most about it, is the flexibililty and the filter options. Basicly if you use: Logger

<    1   2   3   4   5   6   7   8   >