Re: [Flashcoders] Projector positioning (centering)

2014-04-19 Thread Hans Wichman
http://forums.adobe.com/message/2094043 ? On 4/19/2014 5:42 PM, Henrik Andersson wrote: John R. Sweeney Jr. skriver: Hi all, I need to center a Flash projector on both MAC and PC. Not center the stage, but literally, when you double click the app or exe, it opens in the center of the

Re: [Flashcoders] Projector positioning (centering)

2014-04-18 Thread Hans Wichman
Hi, you can build standalone air projectors as well, instead of the .air you will build an exe that can run of cd. Depends on the target you are using. best Hans On 4/18/2014 8:04 AM, lmarshall wrote: I used to use Zinc to wrap swfs for both mac and pc. http://www.multidmedia.com Sent

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread Hans Wichman
Have your app write files into the users document area instead of a subfolder of the app which will be in the Program Files folder and under restrictions. Part of it might be solved by instructing advanced installer to enforce the user to have administrative permissions. best Hans On

Re: [Flashcoders] IOS Flash question

2013-05-28 Thread Hans Wichman
maybe this might help? http://flashsimulations.com/2011/11/30/ios-native-extension-for-adobe-air-in-app-mail-composer/ On 28-5-2013 14:36, Paul A. wrote: On 28/05/2013 10:59, Karl DeSaulniers wrote: I have emailed with attachments, but it involved a PHP file that put the email together and

Re: [Flashcoders] IOS Flash question

2013-05-28 Thread Hans Wichman
:20, Paul A. wrote: On 28/05/2013 13:42, Hans Wichman wrote: maybe this might help? http://flashsimulations.com/2011/11/30/ios-native-extension-for-adobe-air-in-app-mail-composer/ That's ideal. Thank you. I'm still hesitant to do it - the client also requested the ability to queue the emails

Re: [Flashcoders] Mailing Lists and Tools

2013-05-23 Thread Hans Wichman
tbh he asked million of times, but tnx dave ;) one less spammer hehe. On 23-5-2013 17:51, Dave Watts wrote: Oren, what's your problem?? Apparently, he was unable to unsubscribe himself and unwilling to ask for help. I've unsubscribed him. Dave Watts, CTO, Fig Leaf Software

Re: [Flashcoders] Projectors...

2013-05-23 Thread Hans Wichman
Hey Eric, I recently was wondering about this myself, and found a bug post about it: https://bugbase.adobe.com/index.cfm?event=bugid=3363321 Check the attachments on that page, it contains a createprojector.zip which might help, or just build an air projector. best H On 23-5-2013 18:54,

Re: [Flashcoders] AS3 finally..

2013-05-19 Thread Hans Wichman
Karl, no harm intended, but do yourself and us a favor and get something like Essential Actionscript 3 from Moock, it will save you lots and lots of unnecessary self inflicted punishment :). That said, AS3 is much more about (strong) typing than AS2 was. In that line of thinking, you need to

Re: [Flashcoders] AIR

2013-05-19 Thread Hans Wichman
Hi John, content created today will still run in the future, independent of where air itself is going. I wouldnt worry too much bout it, but that might be just me :) best h Sent from my iPad On 19 mei 2013, at 14:39, John McCormack j...@easypeasy.co.uk wrote: Hi there. I would like to

Re: [Flashcoders] Stolen Laptop: Adobe Support Laughable

2013-05-15 Thread Hans Wichman
Ah well, Adobe Support and Pricing where should I start :) http://www.innerdrivestudios.com/blog/miscellaneous/adobe-cs-6-error-code-5-exit-code-5 On 15/05/2013 08:33, Karl DeSaulniers wrote: Which do you need? Mac or PC? I think I may still have a CS4 DMG for powerMac (pre Intel). Best,

Re: [Flashcoders] making as3 movie scorm compl

2013-01-16 Thread Hans Wichman
Hi Oren, if there really is an issue you should take it up with the listowner, or as mentioned months ago: setup a filter in gmail, takes about 5 minutes and all your flashlist messages will automatically be trashed. That said, have you tried unsubscribing through:

[Flashcoders] making as3 movie scorm compliant

2013-01-15 Thread Hans Wichman
Hi list, assuming I have a flash movie which communicates with a custom CMS, what would need to be done to make it scorm compliant? As far as I can tell, I'll need some scorm as classes to communicatie with the wrapper, but how can I test whether everything works, etc, I have absolutely no

Re: [Flashcoders] making as3 movie scorm compliant

2013-01-15 Thread Hans Wichman
703.302.9265 (w/h) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman Sent: Tuesday, January 15, 2013 6:03 AM To: Flash Coders List Subject: [Flashcoders] making as3 movie scorm compliant Hi list

Re: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Hans Wichman
and then post where I reached. Thanks again. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman Sent: Friday, January 11, 2013 7:40 PM To: Flash Coders List Subject: Re: [Flashcoders] IPAD App code

Re: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Hans Wichman
and Deepanjan for your guidancei will try these methods and then post where I reached. Thanks again. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman Sent: Friday, January 11, 2013 7:40 PM

Re: [Flashcoders] IPAD App code optimization

2013-01-11 Thread Hans Wichman
Hi Sumeet, some stuff is much more important than other stuff: - DRY - don't repeat yourself: cache calculations (sinus tables, array lengths, radian conversion etc) - Create as few objects as possible, eg use ObjectPooling - try to stay away from movieclips and sprites, use bitmaps and

Re: [Flashcoders] weird issue with flash only 1st frame exporting / playing in cs6

2012-12-18 Thread Hans Wichman
Hi, AlivePDF can be used offline with air as well as far as I know. regards JC On 19-12-2012 0:14, John R. Sweeney Jr. wrote: Howdy, Well I'm curious if anyone can help me with this one. I've built for a client a presentation tool. It consists of 45 slides (jpegs) and some of them get

Re: [Flashcoders] Long running tablet apps

2012-11-23 Thread Hans Wichman
Hi, I wouldn't put too much time into it, noone realistically expects windows to run for a couple of weeks, let alone your app on a samsung tablet ;)). That said, the demand being unrealistic, I'd at least opt to get an unrealistic price for it as well. The sane thing would be in my

Re: [Flashcoders] AS3

2012-10-29 Thread Hans Wichman
-dev mailing list ;-) ). Hopefully it'll revitalize things a bit. Kevin N. On 10/28/2012 7:24 AM, Hans Wichman wrote: I think the heart of the matter is that in my opinion actionscript/flash is not dying, ___ Flashcoders mailing list

Re: [Flashcoders] AS3

2012-10-28 Thread Hans Wichman
, Hans Wichman wrote: I call bs:) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders

Re: [Flashcoders] Game physics programming needed.

2012-10-27 Thread Hans Wichman
Hi Kurt, sorry don't have the time to help you out, would love to though:) but maybe it isn't necessary... have you thought about using box2d instead of CDK? regards, JC On 27/10/2012 16:49, Kurt Dommermuth wrote: Hello People, Someone is helping me program a game, but neither he nor I can

Re: [Flashcoders] Time adjusted / Framerate independent animation…

2012-10-26 Thread Hans Wichman
Hi, are you trying to do frame rate independent animation based on a fixed frame rate (eg you switch from 30 to 60 and everything should move at the same pace but more fluid), or trying to make up a variable framerate due to running code? Anyway since you are keeping y constant I compressed

Re: [Flashcoders] Time adjusted / Framerate independent animation…

2012-10-26 Thread Hans Wichman
Yard, Drysdale Street, Hoxton, London, N1 6ND On 26 Oct 2012, at 15:21, Hans Wichman wrote: Hi, are you trying to do frame rate independent animation based on a fixed frame rate (eg you switch from 30 to 60 and everything should move at the same pace but more fluid), or trying to make up

Re: [Flashcoders] AS3

2012-10-26 Thread Hans Wichman
I call bs :) Op 26 okt. 2012 19:34 schreef Kevin Newman capta...@unfocus.com het volgende: I hate to say it, but AS3 is kind of dying. My hope is AS4 (or whatever they end up calling Actionscript Next) with it's gaming focus, will revitalize things a bit. Kevin N. On 10/26/12 11:11 AM,

Re: [Flashcoders] AS3

2012-10-24 Thread Hans Wichman
Hi Karl, jus keep breathin;), this will pass and you'll never go back to as2 again;). Anyway on subject, have you tried out the standard SimpleButton class? If it doesnt fit your need, why not, maybe we can help with that, but that class should work for most simple cases. In addition, do you

Re: [Flashcoders] AS3

2012-10-24 Thread Hans Wichman
Hi Karl, when you are starting with as3: whatever works :)). Basically both will work (anon and nonanon (double wow)), but anonymous is harder (read impossible) to remove. So if you create a view that exists throughout the lifetime of the app, with buttons that do the same, either way will

Re: [Flashcoders] printJob

2012-10-04 Thread Hans Wichman
because your clip has a filter and its filtered dimensions are too large? On 4-10-2012 19:25, Ted Lehr wrote: So I have a sprite that has a child sprite with some objects in it... I am trying to print it with code like: if ( !printJob.start() ) return;

Re: [Flashcoders] printJob

2012-10-04 Thread Hans Wichman
to -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Hans Wichman Sent: Thu 10/4/2012 1:33 PM To: Flash Coders List Subject: Re: [Flashcoders] printJob because your clip has a filter and its filtered dimensions are too large? On 4-10-2012 19:25, Ted Lehr wrote: So

Re: [Flashcoders] Any experience developing with Flex on a Mac?

2012-10-02 Thread Hans Wichman
bootcamp :) On 2-10-2012 16:35, Joel Johnson wrote: Hey, I was looking for a good FlashDevelop alternative on Mac, and can't seem to find one. I've been reading that TextMate and Eclipse are possible options, but wanted to know what you guys thought. I'm looking to develop casual games for

Re: [Flashcoders] Any experience developing with Flex on a Mac?

2012-10-02 Thread Hans Wichman
Hi, yup windows on another partition, its a pain, but the parallels / coherence mode is pretty awesome though. There are even some drivers out there allowing you to read/write ntfs from mac and vice versa so basically you run flashdevelop within a window on your mac, with complete disk access

Re: [Flashcoders] AS3 read serial data over USB on Mac

2012-08-29 Thread Hans Wichman
Hi, you mean something like this? : http://www.mikechambers.com/blog/2010/08/04/getting-started-with-flash-and-arduino/ (serproxy tinkerproxy etc) greetz Hans On 29-8-2012 5:56, Eric E. Dolecki wrote: I have some hardware that sends serial data over USB. Any good proxy app to use with

Re: [Flashcoders] Button events under mc

2012-07-09 Thread Hans Wichman
Hi Natalia, you probably need to set mouseChildren and mouseEnabled of the overlying movieclip to false. hth, h On 9-7-2012 20:00, natalia Vikhtinskaya wrote: Hi to all. I have button under Movie clip. In AS3 button does not have events OVER or CLICK in place where is this mc. In AS2 that

Re: [Flashcoders] Button events under mc

2012-07-09 Thread Hans Wichman
. 2012/7/9 Hans Wichman hans.wich...@gmail.com: Hi Natalia, you probably need to set mouseChildren and mouseEnabled of the overlying movieclip to false. hth, h On 9-7-2012 20:00, natalia Vikhtinskaya wrote: Hi to all. I have button under Movie clip. In AS3 button does not have events OVER

Re: [Flashcoders] Button events under mc

2012-07-09 Thread Hans Wichman
not put text in each button. 2012/7/9 Hans Wichman hans.wich...@gmail.com: so did you disable the mouseEnabled of the text? On 9-7-2012 21:11, natalia Vikhtinskaya wrote: CS5.5 2012/7/9 Cor c...@chello.nl: Which version of Flash do you have? -Original Message- From: flashcoders

Re: [Flashcoders] Button events under mc

2012-07-09 Thread Hans Wichman
np glad it worked;) On 9-7-2012 21:42, natalia Vikhtinskaya wrote: THANK YOU Hans!!! I did something wrong. Yes, that works! Thank you to everyone for help! 2012/7/9 Hans Wichman hans.wich...@gmail.com: i just did the same here, and it works perfectly. txt.mouseEnabled = false; On 9-7-2012

Re: [Flashcoders] RE: elearing content using adobe air for ipad

2012-06-13 Thread Hans Wichman
Hi Sumeet, is the question about flash content on the ipad, or eLearning content in particular. If so, what aspects in particular are you 'worried' about? For flash/air development on the ipad in general, its awesome;). There is a lot of tooling and information out there, which will probably

Re: [Flashcoders] RE: elearing content using adobe air for ipad

2012-06-13 Thread Hans Wichman
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman Sent: Wednesday, June 13, 2012 6:35 PM To: Flash Coders List Subject: Re: [Flashcoders] RE: elearing content using adobe air for ipad Hi Sumeet, is the question about flash content on the ipad

Re: [Flashcoders] Converting a flash game to facebook app

2012-06-07 Thread Hans Wichman
, the token will change, and your app needs to have some mechanism for updating it, or the user will likely hit a 500 error. On 1 June 2012 04:13, Hans Wichman hans.wich...@gmail.com wrote: Hi Henrik, not to hijack Paul's thread, but do you have some more info on this subject. Eg the client

Re: [Flashcoders] Converting a flash game to facebook app

2012-05-31 Thread Hans Wichman
Hi Ben, if you put the keys on your server, can't they be sniffed anyway or am i missing something? tnx H On 31-5-2012 17:33, Ben Sand wrote: It's fairly straight forward to add facebook functionality to a website/app, there's lots of apis floating around, or you can just talk to fb

Re: [Flashcoders] Converting a flash game to facebook app

2012-05-31 Thread Hans Wichman
the key. Hans Wichman skriver: Hi Ben, if you put the keys on your server, can't they be sniffed anyway or am i missing something? tnx H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo

[Flashcoders] flash as 3 component bug?

2012-05-30 Thread Hans Wichman
Hi list, running into a strange issue here: - I've got two textfields in clip a on stage, I enter text, tab through them, and they respond ok - now i add clip b with a TextArea component. The textfields in clip a are now broken (text is no longer selected on tab and the tab order is messed

Re: [Flashcoders] Converting a flash game to facebook app

2012-05-30 Thread Hans Wichman
Hi Paul, I faced the same problem a while ago and found the whole facebook mumbojumbo pretty hard to wrap my head around, opengraphs, graph api etc. The project was cancelled so I was off the hook, but I spent about a week reading facebook's docs none the wiser, so I don't exactly share

[Flashcoders] IExternalizable

2012-04-04 Thread Hans Wichman
Hi list, I'm running into some weird serializing behavior. Please check this class: package sampleobjects { import flash.utils.IDataInput; import flash.utils.IDataOutput; import flash.utils.IExternalizable; /** * Simple object with default constructor, one private */

Re: [Flashcoders] problem with strongly typed actionscript

2010-06-07 Thread Hans Wichman
public function x(y:Object):void { } or public function x(y:*):void { } hth jc On Mon, Jun 7, 2010 at 12:40 PM, Jim Andrews j...@vispo.com wrote: i want to write a method x which takes an argument y. i cannot anticipate what type the argument is going to be until run-time. it might be a

Re: [Flashcoders] problem with strongly typed actionscript

2010-06-07 Thread Hans Wichman
or maybe he is just writing a custom logger and wants to be able to pass any type of object ;) On Mon, Jun 7, 2010 at 9:44 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: Or, you can simply turn strict mode off. I tend to agree with Steven Sacks, though. There's a really good

Re: [Flashcoders] problem with strongly typed actionscript

2010-06-07 Thread Hans Wichman
I send the same reply 8 hours ago, are my messages not coming through?:) On Mon, Jun 7, 2010 at 9:05 PM, Patrick Matte patrick.ma...@tbwachiat.comwrote: public function x(y:Object):void { } Or this public function x(y:*):void { } From: Steven Sacks flash...@stevensacks.net

Re: [Flashcoders] end of program event?

2010-06-01 Thread Hans Wichman
Hi, if you use a localsharedobject it will flush automatically as the player quits. Intercepting the finalize/destroy etc is not possible I think. hth hans On Tue, Jun 1, 2010 at 2:04 AM, Glen Pike postmas...@glenpike.co.uk wrote: Hi, Not sure it this is any good, but try listening for

Re: [Flashcoders] end of program event?

2010-06-01 Thread Hans Wichman
there is a free UserDataManager (or some such name) class that is commonly used as a template for reading and writing such info to disk in Flash projects? ja http://vispo.com - Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders

Re: [Flashcoders] AS2 ComboBox only showing 2 rows when embedded in Adobe Connect

2010-05-30 Thread Hans Wichman
of classes? Hans Wichman wrote: Hi Andrew, this is a wild guess, but I once had a similar issue, though it's long ago and can't quite remember. The thing was that there was a difference in the ComboBox implementation between Flash MX2004 and Flash 8 I think, although it wasn't documented. You

Re: [Flashcoders] ForceSmoothing a movie clip in ActionScript 2

2010-05-29 Thread Hans Wichman
Hi, You might wanna try it without a recursive loop. bitmap is now attached to bt_mc, and then you are drawing bt_mc into bitmap... In addition although it's as2, it's only player 9 and up. On Sat, May 29, 2010 at 8:55 AM, Amol a...@yonearth.com wrote: Hi all, Is there any script

Re: [Flashcoders] ticker

2010-05-29 Thread Hans Wichman
Not sure what your ticker looks like, but a very simply solution I sometimes use is to place 2 copies of the complete ticker with all elements in a row, and then I simply update those two while modding the x positions of the ticker, instead of modding x's of every item in the ticker separately.

Re: [Flashcoders] AS2 ComboBox only showing 2 rows when embedded in Adobe Connect

2010-05-29 Thread Hans Wichman
Hi Andrew, this is a wild guess, but I once had a similar issue, though it's long ago and can't quite remember. The thing was that there was a difference in the ComboBox implementation between Flash MX2004 and Flash 8 I think, although it wasn't documented. You would first have to pinpoint of

Re: [Flashcoders] tint a movieclip

2010-05-20 Thread Hans Wichman
Hi Michael, are you looking for something like this: var red:Number = (pColorValue 16) 0xff; var green:Number = (pColorValue 8) 0xff; var blue:Number = (pColorValue ) 0xff; regards JC On Thu, May 20, 2010 at 3:07 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Thanks,

Re: [Flashcoders] Producing a random list with no repeats

2010-05-07 Thread Hans Wichman
Hi, here an alternative way of producing a random array: /** * Randomizes a copy of this array. */ public function randomize (pArray:Array):Array { var newArray:Array = pArray.slice(); var i:Number = newArray.length; while (i) { var p:Number = random(i); var t:Object =

Re: [Flashcoders] Producing a random list with no repeats

2010-05-07 Thread Hans Wichman
ah my bad , i think this is probably the same as fisher yates;) On Fri, May 7, 2010 at 12:20 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi, here an alternative way of producing a random array: /** * Randomizes a copy of this array. */ public function randomize

Re: [Flashcoders] Doing a binary search in AS3?

2010-05-06 Thread Hans Wichman
the most important thing being as Hendrik said that it is sorted, which in your example it is not. Say you have: [apple, banana, cherry, kiwi, orange, peach pear, pineapple, ] and you are looking for banana: middle element is orange (or kiwi) take apple, banana, cherry, kiwi, middle element is

Re: [Flashcoders] Doing a binary search in AS3?

2010-05-06 Thread Hans Wichman
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman Sent: Thursday, May 06, 2010 11:06 AM To: Flash Coders List Subject: Re: [Flashcoders] Doing a binary search in AS3? the most important thing being as Hendrik said that it is sorted, which in your example

Re: [Flashcoders] IE6 Troubles

2010-05-04 Thread Hans Wichman
Hi, you might wanna try something like www.teamviewer.com , setup a session with your client and poke at the heart of the problem. regards, JC On Tue, May 4, 2010 at 6:04 PM, John Singleton johnsingleton...@yahoo.comwrote: Hi; I have one site in particular that has problems with IE6. I can't

Re: [Flashcoders] arranging

2010-04-28 Thread Hans Wichman
they're being stacked, first one is zero, second is 1, so the top one has the highest depth. addChild (getChildAt(0)); brings bottom one to top, just tried it in the IDE, works like a charm. On Wed, Apr 28, 2010 at 8:04 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: ok - so I am trying

Re: [Flashcoders] Infinitely Looping Image

2010-04-26 Thread Hans Wichman
Hi John, I've just been dabbling in the same sort of thing, but basically just using bitmapfill, it's very simple, check this out: http://www.innerdrivestudios.com/blog/articles/actionscript-3/gfx-actionscript-3-articles/wrapping-bitmapdata-in-actionscript-3 And an application of the principle:

Re: [Flashcoders] Changing angle for better arrangement in circle

2010-04-22 Thread Hans Wichman
Hi, aside from the fact that the illusion of perspective depends on the items being scaled and the spacing not being equal, i see two options, a) limit the maximum scale, dirty but might be a quick trick. Either by multiplying it by some root or a hard limit. b) sum the (scaled) width of all

[Flashcoders] localconnection speed in relation to movieframerate

2009-10-24 Thread Hans Wichman
Hi List, I've set up a test in AS2 with a 2 channel localconnection, swf A sends a msg to swf B, and B sends back an acknowledge signal. If I set the movies framerate to 1 fps, this takes about 50ms for a simple msg to get an ack signal, if I set the framerate to 30 it takes about 5ms. Erm... my

Re: [Flashcoders] RE: Inheritance and Static properties

2009-10-24 Thread Hans Wichman
Helmut, I might be missing the point here, but doesn't a MyButtonEvent class with the constants defined in there solve your problem? And what is event.target.NAME? Tried event.target.name? regards JC On Sat, Oct 24, 2009 at 3:25 AM, Brett Artrahn brtrah...@yahoo.com.auwrote: Helmut, Grant

Re: [Flashcoders] localconnection speed in relation to movieframerate

2009-10-24 Thread Hans Wichman
flash...@stevensacks.netwrote: Framerate directly affects Flash's code execution response time. Is there a reason why you would find this odd or surprising? Hans Wichman wrote: Hi List, I've set up a test in AS2 with a 2 channel localconnection, swf A sends a msg to swf B, and B sends

Re: [Flashcoders] Setting a property in a class from another class

2009-10-20 Thread Hans Wichman
Hi, your class B instance will need a reference to an instance of Class A, unless your nextPrev property is static. If nextPrev is static, Class B can do ClassA.nextPrev (assuming the property is public). If nextPrev is not static, you'll need to do new ClassB (myClassAInstance) and access the

Re: [Flashcoders] Vista-like glossy SimpleButton - please help with the final touch

2009-10-18 Thread Hans Wichman
Cool alex, I was trying to find my old aqua code, but can't locate it, it was as2 anyway, so I'll have rewrite it for as3. Not quite vista, but still acceptable I think: http://www.objectpainters.com/flashExamples/aqua/ As said, I'll have to rewrite it for as3 and I made an error in the

Re: [Flashcoders] Movieclip in a remote shared object

2009-10-18 Thread Hans Wichman
Hi, as far as I'm aware, stored objects lose all type info except the basic types objects, strings, number etc. So no no storing of movieclips I think, but you can always try;) regards, Hans On Sun, Oct 18, 2009 at 12:53 AM, ktt kestuti...@yahoo.com wrote: Hello, Is it possible to store

Re: [Flashcoders] image upload from flex to .net

2009-10-15 Thread Hans Wichman
Hi Dave, Jason ok thanks, will try out the different options. @jason: doesn't an upload through a webservice generate a lot of overhead? Anything special going on in using a FileReference to do so (I didn't even know it was possible;)). regards JC On Thu, Oct 15, 2009 at 1:13 AM, Dave Watts

[Flashcoders] Re: image upload from flex to .net

2009-10-14 Thread Hans Wichman
Hi, no takers on this one? Noone any experience with this kind of thing through remoting? regards JC On Mon, Oct 12, 2009 at 4:05 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi list, I need to upload an image from flex to .net. That in addition to a lot of other stuff that I

Re: [Flashcoders] RE: Pricing a Freelance Project

2009-10-12 Thread Hans Wichman
Hi Steven, excuse my ignorance, but as a non native English person what is TM NET 15/30? Couldn't find it on google. regards, Hans On Mon, Oct 12, 2009 at 8:23 AM, Steven Sacks flash...@stevensacks.netwrote: I do not do fixed bid projects. I always do TM NET 15/30, and don't have an issue

[Flashcoders] image upload from flex to .net

2009-10-12 Thread Hans Wichman
Hi list, I need to upload an image from flex to .net. That in addition to a lot of other stuff that I need to do to it. I'd like to consolidate all those operations including the upload into some kind of remoting gateway. My question is: - is remoting a good option for uploading an image in

[Flashcoders] Re: image upload from flex to .net

2009-10-12 Thread Hans Wichman
ps i'm leaning toward weborb btw On Mon, Oct 12, 2009 at 4:05 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi list, I need to upload an image from flex to .net. That in addition to a lot of other stuff that I need to do to it. I'd like to consolidate all those operations

Re: [Flashcoders] basic mtasc question

2009-09-23 Thread Hans Wichman
Hi, framescripts wont be hurt (if you mean timeline code). regards JC On Wed, Sep 23, 2009 at 5:51 PM, Andrew Sinning and...@learningware.comwrote: I'm getting really impatient with the FDE compiler. Probably my fault for piling on so many classes, but I need to keep moving forward. When

Re: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Hans Wichman
I fear this might be the 4th, I feel your pain:) On Wed, Sep 23, 2009 at 8:54 PM, Keith Reinfeld keithreinf...@comcast.netwrote: That's the third time you've ignored me... I'm done. ___ Flashcoders mailing list

Re: [Flashcoders] instantiate symbol linked to parent movie's library

2009-09-22 Thread Hans Wichman
Hi, I don't remember the exact details, but if I remember correctly there are 2 ways: 1. let the child attach the clip at the root, copy its bitmap data and use that to create a clip in its own root, but this will result in static bitmaps only 2. -declare an empty clip with linkage id in the

Re: [Flashcoders] instantiate symbol linked to parent movie's library

2009-09-22 Thread Hans Wichman
. AS3 -jonathan On Tue, Sep 22, 2009 at 2:54 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi, I don't remember the exact details, but if I remember correctly there are 2 ways: 1. let the child attach the clip at the root, copy its bitmap data and use

Re: [Flashcoders] instantiate symbol linked to parent movie's library

2009-09-22 Thread Hans Wichman
it, you're on the safe side - i've never ever used this hack in a real project, so there is some risk involved in using it (but ain't it spiffy ;)). regards, JC On Tue, Sep 22, 2009 at 7:43 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi, calling a function in the root that would

Re: [Flashcoders] instantiate symbol linked to parent movie's library

2009-09-22 Thread Hans Wichman
, Andrew Sinning and...@learningware.comwrote: That's super cool. So the sub only has to have a _single_ library item from the shared library in order to have access to the whole library. That's not very intuitive, but I'm really glad it works! Hans Wichman wrote: Hi Andrew, i've put

Re: [Flashcoders] localconnection in as2

2009-09-21 Thread Hans Wichman
the poster is dividing the length of the String sent by the limit. http://www.ultrashock.com/forums/actionscript/40k-byte-size-limit-on-localconnection-56395.html ...hope that leads you in the way you want to go. -- Keith H -- www.keith-hair.net Hans Wichman wrote: Hi list, as I

[Flashcoders] localconnection in as2

2009-09-19 Thread Hans Wichman
Hi list, as I understand it, there is a send/receive limit of 40k to the localconnection object in actionscript2. Mostly the objects passed in my application will probably be under 40k, but the question is: how can you tell? Is there some way to grab the actual AMF object flash is going to try

Re: [Flashcoders] bitwise question

2009-09-15 Thread Hans Wichman
Hey, not sure if it's faster, but this would work as well: var i:Number = 32; trace (Math.log(i)/Math.LN2); returns bit number 5. Lookuptable might be faster in this case. greetz JC On Tue, Sep 15, 2009 at 10:04 AM, Jiri jiriheitla...@googlemail.com wrote: When i have a 8 bit int where only

Re: [Flashcoders] fisheye dislpacement

2009-09-11 Thread Hans Wichman
Hi, maybe this will help; http://www.unitzeroone.com/blog/2005/10/26/2-new-flash-8-examples-displace-smoke-displacement-spheres-source/ it's as2 but the id is the same. hth JC On Thu, Sep 10, 2009 at 4:58 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... I'm trying

[Flashcoders] disable mouse on transparent part of alpha video

2009-09-10 Thread Hans Wichman
Hi list, I need to create a couple of talking persons on a square, using transparent flv's for that. But it seems the whole of the video is clickable, even the transparent part (which is logical), is there any way to disable that? One other option I have is copying the persons to a bitmap and

Re: [Flashcoders] disable mouse on transparent part of alpha video

2009-09-10 Thread Hans Wichman
Hi, nope thats true, but I'm more concerned about the usability side of things, I don want to show a cursor when you cant click, so I would have to perform the check much more often. regards Hans On Thu, Sep 10, 2009 at 1:34 PM, Glen Pike g...@engineeredarts.co.ukwrote: Hi, Hans Wichman

Re: [Flashcoders] disable mouse on transparent part of alpha video

2009-09-10 Thread Hans Wichman
Hi, ok that might work, I'll try to mask out the shapes that have to be clickable. thanks folks! Hans On Thu, Sep 10, 2009 at 3:12 PM, Glen Pike g...@engineeredarts.co.ukwrote: Steven Sacks wrote: Cover the video with an alpha 0 shape. Problem solved.

Re: [Flashcoders] debugging events

2009-09-04 Thread Hans Wichman
Hi, you can check willTrigger(youreventtype), assuming its as3. Can you post the event constants here so we can take a look at them and the dispatching and listener code? regards JC On Thu, Sep 3, 2009 at 10:30 PM, Joel Stransky j...@stranskydesign.comwrote: I have some custom event classes

Re: [Flashcoders] add string to a function

2009-08-28 Thread Hans Wichman
Hi, you are looking for: this[createSubNav+page](); HTH JC On Fri, Aug 28, 2009 at 11:20 AM, thomas horner tho...@megawattmedia.co.ukwrote: this is possibly a very basic problem, I'm still building my dynamic global sub nav, slooowly. what I want to know if can I add a string to a

Re: [Flashcoders] add string to a function

2009-08-28 Thread Hans Wichman
ps a better option might be a parameter and a switchstatement On Fri, Aug 28, 2009 at 11:20 AM, thomas horner tho...@megawattmedia.co.ukwrote: this is possibly a very basic problem, I'm still building my dynamic global sub nav, slooowly. what I want to know if can I add a string to a

[Flashcoders] using flash components in flashdevelop

2009-08-21 Thread Hans Wichman
Hi list, I'm trying to use flashcomponents directly without going through the loop of creating an intermediate fla with the components in it. I've added all the cs4 swc files as libraries in flashdevelop, but it still cannot find the components. Starting to wonder if it is even possible any

[Flashcoders] Re: using flash components in flashdevelop

2009-08-21 Thread Hans Wichman
21, 2009 at 9:38 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi list, I'm trying to use flashcomponents directly without going through the loop of creating an intermediate fla with the components in it. I've added all the cs4 swc files as libraries in flashdevelop, but it still

[Flashcoders] actionscript 3 block rationale

2009-08-18 Thread Hans Wichman
Hey list, does anyone know the cool rationale behind the fact that the compiler won't allow me to execute a completely sane piece of code such as: private function _demo():void { for (var i:Number = 0; i 10;i++) { //evil stuff here } for (var i:Number = 0; i 10;i++) { //evil stuff here }

Re: [Flashcoders] actionscript 3 block rationale

2009-08-18 Thread Hans Wichman
ok thanks, as i expected then. Glad we agree it's counterintuitive, and although mtasc \^^\ oo /^^/ ROCKS, i like as3 too much to go back though:)) thanks Ian On Tue, Aug 18, 2009 at 10:43 AM, Ian Thomas i...@eirias.net wrote: JC, AS3 has no block scope. Whenever you write 'var x'

Re: [Flashcoders] Preloading FLV with NetStream

2009-08-07 Thread Hans Wichman
Hi, I stumbled on this thread and kind of need to do the same thing. I have an area where a number of persons should be walking around randomly. I was thinking about something like this: * each person gets 4 flv's: (or 2 if i mirror them): turn right, walk right, turn left, walk left * all the

Re: [Flashcoders] Preloading FLV with NetStream

2009-08-07 Thread Hans Wichman
Hmm Jack is there an as3 version of that cool PreloadManager as well:)? greetz JC On Fri, Aug 7, 2009 at 10:13 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi, I stumbled on this thread and kind of need to do the same thing. I have an area where a number of persons should

Re: [Flashcoders] Interface for displayObjects

2009-08-07 Thread Hans Wichman
Hi, when you declare them like this: var myObj1:MyInterface addChild (myObj1) wont work if you do var myObj1:Sprite = ... addChild (myObj1) it probably will. The thing is that you essentially provide two different interfaces for your object. By extending Sprite you satisfy the DisplayObject

Re: [Flashcoders] Preloading FLV with NetStream

2009-08-07 Thread Hans Wichman
background, the arrows will become persons walking to and fro, the line will become a microphone allowing you to interview people. And yes its a prototype and looks like crap ;) player 10 required btw tia! Hans On Fri, Aug 7, 2009 at 11:42 AM, Paul Andrews p...@ipauland.com wrote: Hans Wichman

Re: [Flashcoders] Preloading FLV with NetStream

2009-08-07 Thread Hans Wichman
lol it's the vanishing point actually:) but thanks for checking and the tip about the feet! On Fri, Aug 7, 2009 at 1:22 PM, Paul Andrews p...@ipauland.com wrote: Hans Wichman wrote: Hi Paul, ok thanks cool. Meanwhile I've whipped up a sample using flv's but I might have to switch

Re: [Flashcoders] How to Exit/Close the Web Browser from Flash Applications?

2009-08-07 Thread Hans Wichman
The timeout is a good idea, I realized I stopped doing that somewhere along the way, but especially macs as well had a knack for crashing if the calling object was destroyed in the process of the call. On Fri, Aug 7, 2009 at 4:15 PM, Jer Brand thejhe...@gmail.com wrote: Here's a simple example.

Re: [Flashcoders] LocalConnection: call functions on passed object

2009-08-03 Thread Hans Wichman
Hi, nope, but wouldn't it be nice:) greetz JC On Sun, Aug 2, 2009 at 4:16 PM, Andrew Sinning and...@learningware.comwrote: Using the LocalConnection object, is it be possible to pass a reference to an object from one movie to another, and hence forth call functions within the passed object

Re: [Flashcoders] ExternalInterface.call not working on desktop...??

2009-07-31 Thread Hans Wichman
Hi, html on the desktop is not going work, but you might have some luck when updating the security settings. I have the following batch file in most of my projects: @echo off rem echo %APPDATA% rem echo %CD% echo [Enter name for security file inserted into %APPDATA%]: echo (use a single keyword,

  1   2   3   4   5   6   7   >