RE: [Flashcoders] More than 1 font in textfield

2005-10-25 Thread Bernard Visscher
Hi Franto, Yes this is possible. You create a (few) textfield(s) that embeds alle needed fonts and bold/italic etc. Then you assign a stylesheet to the field you want to use with multiple fonts or just use: font face=font1Font1 test/fontfont face=font2bFont2 bold test/b/font Greetz, Bernard

[Flashcoders] OT: Windows XP Level2 Cache mostly incorrect

2006-01-05 Thread Bernard Visscher
Good morning (here..) everyone, I just read that Windows XP at installation sets the Level2 cache to 0 in the registry. I've changed it to my real L2 cache and had an improvement in speed of 40% with Sorenson encoding. So that's why I think it's interesting for all here. First open regedit

RE: [Flashcoders] It exists in director but in flash ?

2006-03-22 Thread Bernard Visscher
I think this will work: function test(){ trace(test); } var str:String; str = eval(test); Function(str).apply(); Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Patrick Jean Verzonden: woensdag 22 maart 2006 16:58 Aan: [EMAIL

RE: [Flashcoders] It exists in director but in flash ?

2006-03-22 Thread Bernard Visscher
PROTECTED] On Behalf Of Bernard Visscher Sent: Wednesday, March 22, 2006 11:15 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] It exists in director but in flash ? I think this will work: function test(){ trace(test); } var str:String; str = eval(test); Function(str).apply

RE: [Flashcoders] hitTest difference between attached mc and one placedon stage in authoring

2006-04-24 Thread Bernard Visscher
Hi Paul, The problem is that you attach it as Player_Object and refer to it as mcDolphin. Changing: if (game_mc.bg_mc.hitTest(game_mc.mcDolphin._x, game_mc.mcDolphin._y, true)) { Into: if (game_mc.bg_mc.hitTest(game_mc.Player_Object._x, game_mc.Player_Object._y, true)) { Solves the problem.

RE: [Flashcoders] word docs-to-xml file

2006-05-20 Thread Bernard Visscher
I don't know if you have an office version. But the version I have (2003) can just save the a doc to a XML. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Ron Wheeler Verzonden: donderdag 18 mei 2006 16:45 Aan: Flashcoders mailing list

RE: [Flashcoders] help: XfactorStudio XPATH

2006-05-23 Thread Bernard Visscher
var mySearchTerm:String = HeLlO; var strXPATH:String = //Localidades/Localidad[contains(upper-case[label],' + mySearchTerm.toUpperCase () + ')]; This maybe? -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens julian atienza Verzonden: dinsdag 23 mei

RE: [Flashcoders] Timeout from Flash page

2006-05-25 Thread Bernard Visscher
You could go for a serverpage that is polled every minute or so from the flashclient, with sendandload or xmlsocket. If the poll doesn't arrive anymore, unlock the file. This way the file could be locked for one minute when a client has gone, not more... Don't put the unlocking logic into a

RE: [Flashcoders] Timeout from Flash page

2006-05-25 Thread Bernard Visscher
is readonly. -Oorspronkelijk bericht- Van: Bernard Visscher [mailto:[EMAIL PROTECTED] Verzonden: donderdag 25 mei 2006 22:12 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders] Timeout from Flash page You could go for a serverpage that is polled every minute or so from

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
You can also load the html file with the XML loader. Something like: var __xml = new XML(); __xml.onLoad = function(succes:Boolean){ if(success) trace(this); else trace(Error loading file); } __xml.load(imagemap.html); Now it will trace the full html-file. Bernard

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
=19,156,170,211 href=mailto:[EMAIL PROTECTED] / area shape=default nohref / /map Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 15:27 Aan: 'Flashcoders mailing list' Onderwerp: RE

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 15:27 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash You can also load the html file with the XML loader. Something like: var __xml = new XML(); __xml.onLoad

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
mapNode:XMLNode = this.firstChild; -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 17:29 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash I don't know how

RE: [Flashcoders] geturl:javascript is causing images to notdisplay onIE

2006-05-29 Thread Bernard Visscher
Phil, Do you have an URL where I (and others) can look? Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Phil Glatz Verzonden: maandag 29 mei 2006 16:32 Aan: Flashcoders mailing list Onderwerp: RE: [Flashcoders] geturl:javascript is

RE: [Flashcoders] security issues with php mail from Flash?

2006-05-29 Thread Bernard Visscher
http://www.securephpwiki.com/index.php/Email_Injection -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Dan Efergan Verzonden: maandag 29 mei 2006 16:27 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] security issues with php mail from

[Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi all, Last weeks/months I see more and more questions about shared fonts. I've used the following for about a year now and it works for me. The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry for all the people behind sharedfonts for this. Example:

RE: Re[2]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi Ivan, - really it isn't a problem: SFM work principles was published many times but sales not stopped yet. Glad to hear it.. I really mean it! It's a good thing people can get money for their knowledge. Trere are many companies and peoples which can't allow himself to use solutions

RE: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]:

RE: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van

RE: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I

RE: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
To end the discussion, I wasn't able to use the same trick for other types of assets (bitmap or vectors). If any pionneers feels the need to investigate further. I have used the same technique for sharing AS2 classes ... never tried with bitmaps or vectors though With bitmaps you

RE: Re[4]: [Flashcoders] Shared fonts

2006-05-31 Thread Bernard Visscher
With bitmaps you could use the bitmapdata to draw it in another movie. Yes, but Flash 8 only. Beautiful solution anyhow. That's true, but it won't take long before FP8 is the way to go. Now about 80% of the users have FP8.. Bernard ___

RE: [Flashcoders] Tool for creating UML diagrams from ActionScript codeother than Enterprise architect?

2006-05-31 Thread Bernard Visscher
This maybe? http://www.codealloy.com/argoumlforactionscript.htm -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Manuel Saint-Victor Verzonden: woensdag 31 mei 2006 22:26 Aan: Flashcoders mailing list Onderwerp: [Flashcoders] Tool for creating UML diagrams

RE: [Flashcoders] [URGENT] Flash effect/transition samples

2006-06-01 Thread Bernard Visscher
http://www.bit-101.com/content/ Here is a list of all swf's of his old lab. I found that the old lab on the site isn't working. But the site is worth looking at. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Telmo Dias Verzonden: donderdag 1 juni 2006

RE: [Flashcoders] self published.

2006-06-01 Thread Bernard Visscher
socket server? http://www.osflash.org/red5 ? ___ 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

RE: [Flashcoders] maxDepth for dynamic movieclips?

2006-06-01 Thread Bernard Visscher
Well, I think the max depth is a 16bit integer, so the max would be 2^16 about 64k. But when you reach that I think the client will run out of memory ;) But lets say you would like to do that, you could also have a few holders that all start at depth 1: mainMovie: - holder 1 @ depth 1 -

RE: [Flashcoders] self published.

2006-06-01 Thread Bernard Visscher
Maybe if you have engough clients you could use a dedicated server for all your clients with a maintenance contract so you don't have to do everything yourself ;) But Yes Red5 needs java. You can do something like this with php-sockets but then the hoster will have to set safemode off (because of

RE: [Flashcoders] Font symbols and bold/italic (cont.)

2006-06-03 Thread Bernard Visscher
Hi, IMO the only way to export all styles, like bold, italic etc is to have a textfield on stage which embeds the font. The textfield has to have HTML-render, and you have to type a letter (or something like that) in all the styles you need. So something like: Regular bbold/b iitalic/i Now the

RE: [Flashcoders] More on shared fonts and embedding

2006-06-05 Thread Bernard Visscher
Or take a look at this one: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-May/166619.html -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Tyler Wright Verzonden: maandag 5 juni 2006 14:35 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders]

RE: [Flashcoders] onResize (when done)

2006-06-06 Thread Bernard Visscher
You can add a listener to the Stage. var listener:Object = new Object(); listener.onResize = function(){ //updated } Stage.addListener(listener); Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Flash Mel Verzonden: dinsdag 6 juni 2006 2:16 Aan:

RE: [Flashcoders] Missing Pixels???

2006-06-06 Thread Bernard Visscher
Does the position of the swf sit on half pixels? If so, try rounding the position to whole pixels. This could help the breaking of small lines and fonts. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Loren R. Elks Verzonden: dinsdag 6 juni 2006

RE: [Flashcoders] Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
You mean something like this? http://www.hoagieshouse.com/IR/ -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Weyert de Boer Verzonden: donderdag 8 juni 2006 15:40 Aan: Flashcoders@chattyfig.figleaf.com Onderwerp: [Flashcoders] Infrared camera for the

RE: [Flashcoders] Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
Well I just tried my old d-link cam and it works like a charm. It a d-link c310 (about 10,- euro's I think) Open the case, get a sharp knife just cut in the lens-tube at the red filter height. Remove the filter and screw it back again... -Oorspronkelijk bericht- Van: [EMAIL PROTECTED]

RE: [Flashcoders] Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
2006 16:27 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Infrared camera for the Mac Bernard Visscher wrote: Well I just tried my old d-link cam and it works like a charm. It a d-link c310 (about 10,- euro's I think) Open the case, get a sharp knife just cut in the lens-tube

RE: [Flashcoders] Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
mailing list Onderwerp: Re: [Flashcoders] Infrared camera for the Mac Bernard Visscher wrote: Well I just tried my old d-link cam and it works like a charm. It a d-link c310 (about 10,- euro's I think) Open the case, get a sharp knife just cut in the lens-tube at the red filter height. Remove

RE: [Flashcoders] Player question

2006-06-12 Thread Bernard Visscher
For windows I found this: http://www.softwarepatch.com/internet/flash.html For mac http://www.macupdate.com/info.php/id/17338 Hope this helps... -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens 8ball Developer Verzonden: maandag 12 juni 2006 17:32 Aan:

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
Just download the flv's when the user hits the play button (show a thumbnail of the first frame) and when the buffer is full it starts to play. Users don't mind waiting a few seconds before a movie starts. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
mailing list Onderwerp: Re: [Flashcoders] Stopping FLV Playback download Thank you, Bernard, but my questions is, do you have a tutorial on the FLV Playback component that shows how to do this? Or is there a coded way that is shown in a tutorial? On 6/12/06, Bernard Visscher [EMAIL PROTECTED

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
FLV Playback download I'm sorry. You said I could download the FLVs when the user hits the play button. How do you set this option? Maybe this is so obvious I am missing it? On 6/12/06, Bernard Visscher [EMAIL PROTECTED] wrote: You can't stop the download, you can only break it by loading

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
http://www.debit.nl/flashcoders/flv/ Pizza's these days are smaller than I thought ;) -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 12 juni 2006 20:06 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
;) -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Weyert de Boer Verzonden: maandag 12 juni 2006 20:27 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Stopping FLV Playback download Bernard Visscher wrote: http://www.debit.nl/flashcoders/flv

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
OMG! The grill is @ home.. the girl isn't :P -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 12 juni 2006 20:33 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders] Stopping FLV Playback download Weyert

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
Aha, so you make thumbnial of a movie and save it as a flv? Yes, The first frame is a jpg.. then when you load the flv the start image is the same (if all went well ;)).. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
I know;) I would be a nice option :) Maybe in future... :P -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Weyert de Boer Verzonden: maandag 12 juni 2006 20:42 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Stopping FLV Playback download The

RE: [Flashcoders] Transparent independent window (not wmode)3rd party tools?

2006-06-14 Thread Bernard Visscher
Does it have to be flash, because quicktime can do this... http://www.ideesfortes.nl/shapesquad/ -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Merrill, Jason Verzonden: dinsdag 13 juni 2006 17:21 Aan: Flashcoders mailing list Onderwerp: RE:

RE: [Flashcoders] unsuscribe

2006-06-16 Thread Bernard Visscher
To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders And BTW it's UNSUBSCRIBE not UNSUSCRIBE ;) -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens AML Verzonden: vrijdag 16 juni 2006 23:44 Aan:

RE: [Flashcoders] Composition problems

2006-06-16 Thread Bernard Visscher
Another things, a lot of people also capitalize class names, but that's personal preference. And if you aren't already, would recommend you organize your classes into packages - will get real messy real quick if you don't. And if you do create packages as Jason proposed.. My personal

RE: [Flashcoders] Server app for video to swf conversion?

2006-06-27 Thread Bernard Visscher
I know it's a bit late to answer this post.. But ;) When you use ffmpeg (which works great) you should use flvtool2 to insert the metadata like duration etc. It kan be found at: http://www.inlet-media.de/flvtool2 A simple php sollution to execute ffmpeg and then the flvtool2 would be (if you have

RE: [Flashcoders] About OOP metodology

2006-06-30 Thread Bernard Visscher
I think you could do this the MVC way (http://en.wikipedia.org/wiki/Model_view_controller) The only thing that really changes is your view, the model and the controller are almost the same. You could even write a model, controller and view which holds all fields and logic that returns in all the

RE: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Bernard Visscher
I'm not trying to make you look foolish, it's just that overblown descriptions like that are what make real programmers delete the job posting without finishing the first paragraph. I'm in with that. IMO you should only say We need people! This is our portfolio, if you think you can

RE: [Flashcoders] Ajax and ActionScript 2.0

2006-07-01 Thread Bernard Visscher
but I see very much job postings with With a good knowledge of PHP, ASP, ASP.NET, XHTML, HTML, CSS, PERL, JS, SQL, C# etc etc... I could answer that ad, couldn't you? ;-) No problem ;) It's actually the part where they want all of those skills and the job only pays $30k that

RE: [Flashcoders] Re: Programmatically instantiating a class thatextends MovieClip

2006-07-03 Thread Bernard Visscher
I've tested the following a while ago and it works perfectly. It uses the acme ClassUtilities class. MovieFactory: import com.acme.ClassUtilities; class nl.debit.util.MovieFactory { private static var instance : MovieFactory; public static function getInstance() :

RE: [Flashcoders] 50 stars blinking... app gets too slow

2006-07-03 Thread Bernard Visscher
Following Weyerts suggestion to update all stars in 1 onEnterFrame.. Here is a little demo (150 stars): http://www.debit.nl/flashcoders/stars.html This is the code, just place it in the first frame and make a MovieClip and export it for AS with the name star var starCount:Number = 150; var

RE: [Flashcoders] euro symbol fight

2006-07-04 Thread Bernard Visscher
The escaped HTML Euro sign is %E2%82%AC So you could use something like: my_txt.htmlText = unescape(%E2%82%AC); Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Gabriel Verzonden: dinsdag 4 juli 2006 9:10 Aan: Flashcoders mailing

RE: [Flashcoders] Re: Programmatically instantiating a classthatextends MovieClip

2006-07-05 Thread Bernard Visscher
); thats it! I've loved it ... works on extending other elements too, like TextFields or _root (I use that one constantly). Tyler On 7/3/06, Bernard Visscher [EMAIL PROTECTED] wrote: I've tested the following a while ago and it works perfectly. It uses the acme ClassUtilities class

RE: [Flashcoders] AS2 and watch ...

2006-07-06 Thread Bernard Visscher
Or a simple linedraw, I've used the watch once with the tween class. var test_mc:MovieClip = this.createEmptyMovieClip(test_mc,1); test_mc.lineWidth = 0; var f:Function = function(prop, oldVal, newVal){ this.clear(); this.lineStyle(1,0x00);

RE: [Flashcoders] euro symbol fight

2006-07-06 Thread Bernard Visscher
Maybe you want to take a look at this thread: http://sourceforge.net/forum/message.php?msg_id=2147438 -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Ron Wheeler Verzonden: donderdag 6 juli 2006 15:27 Aan: Flashcoders mailing list Onderwerp: Re:

RE: [Flashcoders] loading a symbol (library item) into a new movieClip?

2006-07-09 Thread Bernard Visscher
hiya - i want to have a movieClip symbol in my library of items, and then create an instance of this on the stage. is there a function to do this? Have an instance in your library and export it for actionscript. Let's say the name you give for the export is symbol The you could use:

RE: [Flashcoders] flash to detect/play files in a folder

2006-07-09 Thread Bernard Visscher
The only way is plan B. The swf runs client side so it has no rights/methods to read the server folders. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens jordan robinson Verzonden: zondag 9 juli 2006 18:03 Aan:

RE: [Flashcoders] flash to detect/play files in a folder

2006-07-09 Thread Bernard Visscher
list Onderwerp: Re: [Flashcoders] flash to detect/play files in a folder Would northcodes swf studio or multidmedias Zinc help this issue out any? On Jul 9, 2006, at 12:12 PM, Bernard Visscher wrote: The only way is plan B. The swf runs client side so it has no rights/methods

RE: [Flashcoders] Php Host

2006-07-11 Thread Bernard Visscher
www.bhosted.nl very good! -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zeh Fernando Verzonden: dinsdag 11 juli 2006 23:02 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Php Host And if you're wondering why they seem to get good

RE: [Flashcoders] IIS vs Apache: transferring of vars from swf to PHPproblem?

2006-07-12 Thread Bernard Visscher
?php mail(my mail,You tried to send . $_GET[foo], Message); ? You have to use $_GET or $_POST to get your variable. I wouldn't use the mail script like this, you'll have to do some checking on which data is passed. mail() has a posibillity of header-injection. Bernard -Oorspronkelijk

RE: [Flashcoders] as3: weird package problem

2006-07-15 Thread Bernard Visscher
Try this: source-path path-elementc:/classes/path-element /source-path Note the / instead of \ for the path. Hope this will help. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Meinte van't Kruis Verzonden: zaterdag 15 juli 2006

RE: [Flashcoders] call JS-Method from SWF in hidden div on IE

2006-07-17 Thread Bernard Visscher
You could try a width and height of 0px and the overflow set to hidden. I don't know if all browsers will accept 0px for the width or height, therefor I made a simple js example: script language=javascript type=text/javascript function hideDiv(divId) { var d =

RE: [FlashCoders] Memory builds up

2006-07-20 Thread Bernard Visscher
I tried your example, but i see no alarming memory build up. I can confirm this, no speedy memory increase, only 500kb in about 5 min. Bernard On 7/20/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hello, I have a few very simple lines of code on _root, frame 1 (it's the only frame

RE: [Flashcoders] modify sample rate in MP3 header?

2006-07-20 Thread Bernard Visscher
I don't believe it's possible like that. MP3 doesn't store samplerate in the headers it's all over the place. Just test with a simple mp3, delete the first mb with a texteditor now it will play the remaining mp3 with the correct sample rate. Bernard -Oorspronkelijk bericht- Van:

RE: [Flashcoders] 195 ms versus 57 ms ping time

2006-07-24 Thread Bernard Visscher
I depends... If you're loading a lot of external resources, all calls will have the 195ms delay and so it will take longer to load the complete site. It also depends on the audience, if most people who visit this site are abroad they may be faster then your local hoster. But most important is

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Bernard Visscher
I don't know if I understand this correctly, but is it making a array flat? Then this is the fastest way I think: var foo : Array = [a, b, c, [d, e,[d, e,[d, e,[d, e, f, [g, [h]], [[], i], j]; var fooString:String = foo.join(;); fooString = fooString.split(,).join(;); foo =

RE: [Flashcoders] String Empowerment

2006-07-28 Thread Bernard Visscher
Maybe you can do something with this. It's an implemenataion of the Damerau-Levenshtein distance. The output is equal to the minimal number of insertions, deletions, substitutions and transpositions needed to transform one string into the other. Could be handy for a spellchecker... It's not

RE: [Flashcoders] String Empowerment

2006-08-01 Thread Bernard Visscher
() Because when I write my name like: Bernard Visscher I don't want the output to be Bernard visscher with the lowercase V. That's what capitalize() does. For what you're wanting you should use toTitleCase(). ___ Flashcoders

[Flashcoders] Weird?? increment behavior..

2006-08-13 Thread Bernard Visscher
Hi all, Just tested a simple function to check if the increments are done correctly. I found the following a bit od. Maybe some can shed a light on this.. base code: //code function test(myName:String,myNumber:Number):Void { trace(myName + : + myNumber); } var depth:Number = 1;

RE: [Flashcoders] Weird?? increment behavior..

2006-08-13 Thread Bernard Visscher
' + depth, depth++); //traces name2 : 1 Yes, arguments of functions are pushed on the VM's stack in reverse order, right-to-left. It's counterintuitive, something you just have to come across once to notice, a nice bit of ActionScript trivia :) Mark On 8/13/06, Bernard Visscher [EMAIL

RE: [Flashcoders] File upload : getting Flash to know the new name

2006-08-29 Thread Bernard Visscher
If you create a MD5 of the filename, why not create a MD5 within flash of the original name. MD5 classes can be found, here is one: http://www.meychi.com/archive/31.php -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Rich Rodecker Verzonden:

[Flashcoders] [AS3] Using ByteArray as a FLV holder

2007-08-31 Thread Bernard Visscher
Hi all, I was trying to load a FLV in a ByteArray and then attaching it to a NetStream or something like that to display the flv. No luck yet! Does someone know how this can be done? I think I have to replace the data like you can do with sound. Greetz, Bernard

RE: [Flashcoders] [AS3] Using ByteArray as a FLV holder

2007-08-31 Thread Bernard Visscher
] [mailto:[EMAIL PROTECTED] Namens T. Michael Keesey Verzonden: vrijdag 31 augustus 2007 17:00 Aan: flashcoders@chattyfig.figleaf.com Onderwerp: Re: [Flashcoders] [AS3] Using ByteArray as a FLV holder On 8/31/07, Bernard Visscher [EMAIL PROTECTED] wrote: Hi all, I was trying to load a FLV

RE: [Flashcoders] Determining sound sample rate?

2008-04-23 Thread Bernard Visscher
I would go for the second frame. I've done some testing with loading MP3's in bytearrays then creating a SWF in a bytearray with the mp3 data. When I use the info from frame 1, 50% of the mp3's play with a wrong samplerate/bitrate. I think this is done by the Xing encoder. When I skip frame 1, all

RE: [Flashcoders] Determining sound sample rate?

2008-04-23 Thread Bernard Visscher
within the first frame of a Xing-encoded file, for instance), so it's probably a good idea to go for the second frame. Cheers Juan Pablo Califano 2008/4/23, Bernard Visscher [EMAIL PROTECTED]: I would go for the second frame. I've done some testing with loading MP3's in bytearrays then creating

RE: [Flashcoders] amfphp 1.9 issue

2008-04-27 Thread Bernard Visscher
I think it's a wrong .htaccess :) -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Cor Verzonden: zondag 27 april 2008 8:42 Aan: 'Flash Coders List' Onderwerp: RE: [Flashcoders] amfphp 1.9 issue Your gateway isn't there ? -Oorspronkelijk bericht-

RE: [Flashcoders] merging data problem

2008-05-11 Thread Bernard Visscher
Hi Anthony, I didn't test your code, but I think the problem lies in your for loops. When you get such an error it is probably an index out of bounds. You could try the following, didn't test it by the way. workData.sortOn(pm); for(var i:int = 0 ; i workData.length - 1 ; i++) {