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
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
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
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
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.
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
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
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
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
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
=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
] 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
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
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
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
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:
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
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]:
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
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
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
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
___
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
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
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
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
-
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
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
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]
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:
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
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
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]
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
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
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:
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
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
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
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
;)
-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
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
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
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
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:
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:
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
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
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
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
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
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() :
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
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
);
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
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);
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:
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:
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:
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
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
?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
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
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 =
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
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:
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
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 =
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
()
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
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;
' + 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
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:
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
]
[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
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
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
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-
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++)
{
79 matches
Mail list logo