Re: [Flashcoders] DRM for FLV

2006-09-04 Thread erixtekila

here is the link:
http://www.onlinelib.de/VCS/DRM/drmPlayer1.html
i would like to know if this is rtmp or if they use red 5 ?!
is there a way to figure this out , tcpdump or so ?


Hint to play :
swf is protected with '$1$yS$XcuxVQCjvcx/.Mu33i1qy1'
play. WHAT_YOU _SEE_IS_WHAT_YOU _GET

DRM is a big word !

;)
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] DRM for FLV

2006-09-04 Thread erixtekila

I dont know, but you dont *need* DRM for purely streamed FLVs since
they dont sit in the cache. So I presume they are talking about
progressive download. But these guys always do quite a bad job of
describing what they do, therefore sucking every last bit of
credibility out of their offerings.

This is streaming on rtmp port 80, so it's tunneling.
They used a crypted scheme to prevent the users to get direct access to 
the flv source.

They use also they own server VCS to broadcast it.
They seems to have inserted special data in the flv stream like 
timestamp to speak with the client.
So the client have to download a piece of software that act as a 
player to interpret all of the stuff.


I'll dig further another time.
It's a funny toy anyway !
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Vob to FLV without Sound

2006-09-03 Thread erixtekila

Ok, and which tool offers the best quality?
I would consider encode with ffmpeg but it's quite a little obscur in 
options.

Riva is nice and use ffmpeg.
Fabio Sonatti has a blog thread that gives you hint about the good 
options to use with ffmpeg for flv.


I wonder in ffmpeg can't directly demultiplex a vob file, no clue ?!
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Vob to FLV without Sound

2006-09-03 Thread erixtekila

I have written the Riva FLV Encoder but FFMPEG does not support On2 VP6
which I want e encode for.

Of course, lol.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Vob to FLV without Sound

2006-09-02 Thread erixtekila
I use Ulead Video Studio 10 for this. I import Vob, convert to mpeg1, 
then with the Flash Video Encoder I can convert mpeg1 to flv.

Hm, FVE is one pass CBR only.
Expect more quality with other tools.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] [POLL] IDE, mon amour.

2006-09-01 Thread erixtekila

Hi Flashcoders,

In order to discover what type of IDE(s)  the actionscript developer 
use daily, we put a poll at this url :

http://www.v-i-a.net/blog/archives/54.html

The focus is to try to anderstand what's your IDE of choice and how 
opensource solutions fit into the picture.

So feel free to take this one-minute-fillup-the-form.
It's absolutly marketing free.

Thanks for your time.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question about __constructor__

2006-08-18 Thread erixtekila
The first thing to understand is that AS2 uses the same bytecode as 
AS1. i.e. AS2 if just AS1 with pretty makeup and a new hairdo.

I can't say better !

Actually all the tricks available for Flash5 are still usefull for 
flash7.
The one you noticed is a trick to link a MovieClip Class with a 
MovieClip graphic datatype.

This is a major problem for lots of developpers in actionscript.

Anyhow, use this code to link a custom class to the _root variable.
That way, when the timeline will be loaded, you'll get an onLoad 
callback in your custom class.

Nice ain't it ?

You could look at this technique in one of Aral's article.
Natural entry point is the name gave to it :
http://aralbalkan.com/429

Cheers.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question about __constructor__

2006-08-17 Thread erixtekila

Could any soul out there help me understand why the __constructor__ and
__proto__ are used in the following code:

Check this out :
http://www.quantumwave.com/flash/inheritance.html

And join the rebel alliance :P
(very old private joke, ask others)
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread erixtekila
.
A definitive solution is a must.

See ya.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread erixtekila

 1) You have total control over which glyphs are
 included directly in the Flash IDE without having to
 use a 3rd party tool like SWFmill.
 Completly opposite on this.
opposite to your opposite :)

I wanted to embed all japanese characters of a font, how do you do 
this with swfmill? I don't want to define them all in the glyphs 
attribute, but i also don't want to embed the whole font.


So my solution for this was:
1) embed the needed characters with Flash
2) decompile the generated swf with swfmill
3) changing the xml so it works as shared font library (adjusted the 
font name)

4) recompile with swfmill.

Simpler than that, omit the attribute glyph of the swfmill's font tag.

Please refer to swfmill mailing-list for further discussions of that 
**genious** tool.


Best.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread erixtekila
 Simpler than that, omit the attribute glyph of the swfmill's font 
tag.
No, i already wrote, that i don't want to embed the whole font (this 
would result in +2MByte chinese characters)


LOL, sorry I didn't read you before !
Best luck.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-08 Thread erixtekila

1- More control over which glyphs are included.
You're right that it is possible to include only the required glyphs 
with swfmill.



2- Works with faux bold and faux italic.

Excuse my ignorance, but what is a faux ?


3- This is the main reason why I'll use the 2 SWF
method over the single SWF method... The 2 SWF methods
loads a lot faster in the tests I did. With the one
SWF method, the SWF is loaded (let's say it's 15kb)
and then it seems to reload the 15kb before the shared
font becomes available. But in the 2 SWF method, the
SWF gets loaded immediately and the 15KB are only
loaded once just before the shared font becomes
available.

The shared lib isn't loaded twice.
You just have to wait for a delay frame, in order to use it.
That's all.

Thanks fro this interesting review.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Oregano forum/mailing list/etc

2006-06-27 Thread erixtekila
   Where can I find one? I'm getting some errors and I need an archive 
to search. ;-)

Welcome here :
http://forum.v-i-a.net


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] getTextExtent weirdness

2006-06-27 Thread erixtekila

Pixel-accurate
width is correctly returned every time. The same method can be used for
multiple entry fields, even with different typefaces or type styles as 
long

as those style parameters are passed to the auto-sized, off-stage
measurement field.
Do you mean those used with FlashType properties like antiAliasType, 
sharpness… ?





---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Oregano forum/mailing list/etc

2006-06-27 Thread erixtekila

Hep,



http://forum.v-i-a.net
You're welcome to register.

Don't know why my answer never reach flashcorder ?

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] getTextExtent weirdness

2006-06-27 Thread erixtekila
Primarily the main formatting characteristics such as font name, 
size and
style if applicable; with embedded/bitmap fonts the style is what it 
is, of

course. Anti aliasing or sharpness likely are not going to make a big
difference in the width, and they do not apply anyway with bitmap 
fonts.


Try it on some fonts, you'll be amazed ;)



You could, of course, make multiple metrics fields, one for each
typeface/size/style you want to measure, but just as well there can be 
just

one off-stage field that is set to whatever style settings you want to
currently measure.


Isn't it a pain for dynamic apps ?
Hm, let me try.
Thanks.


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Regarding ascb Proxy

2006-06-09 Thread erixtekila

Hi,



I have slightly modify the Joey's version.
I use also the Array.slice which is faster than the loop.

For the last arguments, it's a mean to get a reference added as a end 
param to the callback handler.

Easier to dereference after.

Note the return at the end of the functions.
French comments for inside for more insights.

//!-- UTF8
/*
-
Proxy

package : com.person13.ascb.util
Description :
Sert d'intermédiaire pour la délégation de référence de 
fonction.
Cas d'un callback avec nécessité de portée spécifiqye.
-
   ##++
   ##Copyright (c) 2005
   ##http://www.v-i-a.net
   ##All Rights Reserved
   ##
   ##E-Mail: [EMAIL PROTECTED]
   ##
   ##Permission to use, copy, modify and distribute is hereby 
granted,

   ##providing that no charges are involved and the above  copyright
   ##notice and this permission appear in all copies and in 
supporting
   ##documentation. Requests for other distribution rights, 
including
   ##incorporation in commercial  products,  such as  books,  
magazine

   ##articles, or CD-ROMS should be made to the authors.
   ##
   ##This  program  is distributed in the hope that it will be 
useful,
   ##but WITHOUT ANY WARRANTY;  without  even  the implied warranty 
of

   ##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   ##--

   For complete Licence of the Creative Commons
   Attribution-NonCommercial-ShareAlike 2.0
   See : http://creativecommons.org/licenses/by-nc-sa/2.0/
-
version history :
1.0 : 17 juin 2005
- Reprise du code de Joey Lott
1.1 : 04 juillet 2005
- Rajout d'un retour pour les fonctions 
procurées.
- Rajout d'un nouvel argument pour 
déréférencer le proxy
par la suite.
-

/**
 *  Utile pour créer une référence de callback.
 *  - pour un observateur sur une fonction (listener function)
 *  - pour un callback d'un classe composant une autre classe
 *
 *	La fonction callback recevra une référence à la fonction Proxy en 
dernier paramètre.
 *	Il est ainsi possible d'utiliser EventSource.removeEventListener 
(EventName, ProxyRef)

 *  et de supprimer la référenec au proxy.
 *
 *  @author Joey Lott http://www.person13.com
 *  @author erixtekila copyleft http://www.v-i-a.net
 *  @version 1.1
 */
class com.person13.ascb.util.Proxy
{
/**
 *  Méthode factory pour appliquer une référence à un callback
	 *	Note : Le dernier paramètre envoyé à la méthode proxiée et une 
référence au proxy.

 *  Ainsi, depuis celle-ci il est possible de le déréférencer.
 *  cf http://dynamicflash.com/2005/02/delegate-class-refined
 *  
 *  @param oTarget  Objet cible du callback.
 *  @param fFunctionCallback.
 *  @return Une référence à la fonction Proxy
 */
	public static function create (oTarget:Object, 
fFunction:Function):Function

{
/* Modifié de l'original
var aParameters:Array = new Array();
for(var i:Number = 2; i  arguments.length; i++) {
aParameters[i - 2] = arguments[i];
}*/
// Paramètres à passer au callback
var aParameters:Array;
aParameters = arguments.splice (2);

// EventProxy, référence à une fonction
var fProxy:Function = function ():Object
{
// Paramètres
var aActualParameters:Array = arguments.concat 
(aParameters);
// Rajout de la référence au Proxy à la fin des 
paramètres
/**
 * Permet de déréférencer la proxy depuis la fonction 
soumise
			 * Exemple : cf 
http://dynamicflash.com/2005/02/delegate-class-refined

 *
 *  public function 
DFDelegateTest(textArea:TextArea) {
 *  _textArea = textArea;
			 *		_textArea.addEventListener(change, Delegate.create(this, 
onTextAreaChange));

 *  }
 *
			 *	private function onTextAreaChange(event:Object, 
delegate:Function) : Void {

 *  _textArea.removeEventListener(change, 
delegate);
 *  }
 */
aActualParameters.push (arguments.callee

Re: [Flashcoders] Re: Q:Create UML from EXISTING classes

2006-06-08 Thread erixtekila

Doxygen will do it.  There's a plugin for eclipse as well...


Yes, but it's read only ain't it ? PNG or other bitmap but no xmi AFAIK.
You can't modify the diagram and get the sources back.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Q:Create UML from EXISTING classes

2006-06-08 Thread erixtekila

That's true.  You want everything?!!!


Is it forbidden ? :)

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Simple Eclipse setup question

2006-06-08 Thread erixtekila

As for the ctrl+Enter, I managed to set this up in ANT. My build
file has an exec tag to open the stand alone player, or you could use
your default browser, and I set up the hotkey in
WindowprefGeneralKey and in the dialog...  set the Catagory to
Run/Debug and the Name to Run Ant Build, then set the keystroke and
your good to go


I use exactly the same.
Souvenirs nostalgiques…

Cheers.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] UML Modelling for AS2.0 applications ...

2006-06-07 Thread erixtekila

http://www.codealloy.com/umlconverter.htm


Doesn't work anymore.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Multiplayer System

2006-06-02 Thread erixtekila
Yes I looked at oregano a while back, and was planning on using it but 
it
falls into the same category as the other open source projects as 
having no
financial obligation to support with problems that we may encounter. 
If i
was going to develop a project for personal use I would probably use 
oregano
however as this is for a business i think the boss' are looking for 
more

financial support and reassurance of as stable system.

For the reasons you mentionned, I, for myself, would have choosed Unity 
:

http://www.moock.org/unity/

my 2 cents.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared font symbols, dynamic text fields, and Flash Player 7

2006-06-01 Thread erixtekila


Le 31 mai 06, à 01:48, Josh Santangelo a écrit :

I'm working on a site which uses shared font symbols in both static 
and dynamic text fields. In FP8, both work great. In FP7, only static 
text fields work. I'm wondering if anyone knows the secret trick to 
get dynamic ones to work as well.


Things I've tried:

- The SWF with the symbol exported is definitely loading before the 
SWF which is importing it

- Embedding all characters in a dynamic textfield in the source SWF
- Embedding all characters in a dynamic textfield in the target SWF
- Setting embedFonts to true on the target textfield

Any bright ideas?


Did you export the font lib for Flash 8 and used it with a version 7 
swf ?


---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


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

2006-05-30 Thread erixtekila


The workaround would be to create a swf with SWFMill so you can  
specify all
glyps or use textfields then you can specify them yourself, but then  
you'll

have to have two swf's.
One for runtime export and one for runtime import, that's the case.

actually, you can, SWFmill and more:
http://www.v-i-a.net/blog/archives/43.html
http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- 
example-the-last-stand/#more-42


I'll try to take time to translate my article soon.
BTW, Mike's one is pretty good also.

There is no revolution in this, just a trick.
I think that since multi-tiers shared libraries was available (Flash 6,  
I presume), we were able to use a single swf that contains shared font  
glyphs.

Only RD permitted to find the way.

So kuddos to the pionneers : lv and zarate.

Let's sum up a little :
There are two solutions that use the same trick.
The trick is to create a swf that referenced itself has a shared lib  
(importing AND exporting its own assets)
After, you need to be sure to load that swf and wait for a frame in  
order to be able to use the glyphs.


Unfortunatly, it seems that Flash 8 ide doesn't accept to link a swf to  
itself anymore.
swfmill is really a good tool to do whatever you want (good swf  
knowledge needed)


Last thing to note.
In order to use shared fonts compiled for swf8, be sure to use the last  
snapshot of swfmill (unreleased til now) :

http://iterative.org/swfmill/pre/

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…


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


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

2006-05-30 Thread erixtekila

With bitmaps you could use the bitmapdata to draw it in another movie.

Yes, but Flash 8 only.
Beautiful solution anyhow…

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] problems with dynamic text field autosize property

2006-05-26 Thread erixtekila



Use question.textHeight not question._height

Are textHeight / textWidth accurate when used in combinaison with 
FlashType's thickness, sharpness, gridFitType…


It don't seems to evaluate the extra sizes correctly.

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-20 Thread erixtekila
install applejack - it does permissions, disk repair and cleans system 
caches


http://applejack.sourceforge.net/
and run it in single user mode
% applejack auto restart

Already did it.



also- the old reset your pram still works for certain problems.

Good idea. Thanks.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-19 Thread erixtekila
try clearing off the Flash folder, in ur Users folder. I dont have a 
Mac

right now, so forgot cant give u the exactpath.

it should be somewhere in Users::library:Application data (?)
:Macromeda:Flash:...
as I said, I'm not very sure about the path, just check it out.


I did it 3 times !
Thanks arul.

flash 8 pro is not supported by OSX 10.4.6. period.

Thanks to the (de-)activation process I presume.
Once you get stuck, it's forever.
There seems to be hiddens.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-19 Thread erixtekila

OK Guys.
So anyone knows how to reinstall a failed installation ?

I assume Adobe won't receive any crash report !

Thanks for any tips.
I've already used the uninstaller feature.

Le 19 mai 06, à 18:11, Nick McNeill a écrit :

I am running the same setup, no problems on 2 machines, a g4 and a 
dual g5.


Nick McNeill
Intellistrand
843-839-1480

On May 19, 2006, at 11:57 AM, Marlon Harrison wrote:


How have you 'confirmed' this? I run 10.4.6 on a PowerBook  Mini at
home, and a G5 at work with no issue.

On 5/19/06, Cedric Muller [EMAIL PROTECTED] wrote:

CONFIRMED:
Flash 8 PRO is NOT OSX 10.4.6 Ready!
actually, don't try mixing both ... hard times ahead ...
...


 try clearing off the Flash folder, in ur Users folder. I dont have
 a Mac
 right now, so forgot cant give u the exactpath.

 it should be somewhere in Users::library:Application data (?)
 :Macromeda:Flash:...
 as I said, I'm not very sure about the path, just check it out.

 I did it 3 times !
 Thanks arul.

 flash 8 pro is not supported by OSX 10.4.6. period.

 Thanks to the (de-)activation process I presume.
 Once you get stuck, it's forever.
 There seems to be hiddens.

 ---
 erixtekila
 http://blog.v-i-a.net/

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


SPAM and virus protection provided by Intellistrand



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-19 Thread erixtekila
I am running the same setup, no problems on 2 machines, a g4 and a 
dual g5.
BTW, did all install Flash 8 on 10.4.6 or did you update for distro 
after having installed it ?


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Can this be true?

2006-05-03 Thread erixtekila
If you think about how it works having a sound set to stream on the 
timeline so that animations can be synched tightly, you'll understand 
how this 'trick' works - the player needs to maintain framerate so 
that the audio track and graphical tracks don't lose synch and the 
audio streams smoothly.

This is really  nice hack.
BTW, I assume that sound should run all time in order to skip some 
frames if needed.


Best.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared font questions

2006-05-02 Thread erixtekila

Glad to hear you worked it out. Would you be willing
to share your solution?


Once finished, I'm definitely considering it. There's only one 
downside - it might not be good news for sharedfonts.com.

Hep, there is no magic at all.
Zarate also found a solution.

I published also a solution that IMO easier with swfmill.
http://www.v-i-a.net/blog/archives/43.html
Look in archive for translation.

The trick is not so hard.
So come on.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Can this be true?

2006-05-02 Thread erixtekila

The code is very simple:
setInterval(time, 1000);

Is setInterval so accurate ?

Is it frame based ?
I know you can force it to upade with updateAfterEvent 10 time faster 
than framerate.

Anyone know ?
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XPath Problem

2006-04-30 Thread erixtekila

That's because you're searching from the country-node, that's the
structure you're searching in. Forget about all its parentnodes, we're
talking about a new xml-document here.

var countriesList:Array = XPath.selectNodes(xmlData, /map/country);

for (var i=0; icountriesList; i++) {
   var countryName:XMLNode = XPath.selectSingleNode(countriesList[i], 
name);

   trace(countryName);
}

// -- this should give the same results since xmlData is the source
var countryNames:Array = XPath.selectNodes(xmlData, /country/name);
trace(countryNames);


I was following the thread, but don't anderstand the answer.
I was sure it was a problem of context, but I don't get how to fix it.
Your explanation is clear but doesn't follow the first example provided 
:


function parseXML(xmlData) {
countriesList = XPath.selectNodes(xmlData, /map/country);
	handleCountry (countriesList [0]);--- seems to sends a new 
context node

}

function handleCountry(country) {
	countryName = XPath.selectNodes(country, /country/name);  why 
not root node of the new context here ?

trace(countryName); // shows nothing

// If I do this though, I get back the original results
	countryList = XPath.selectNodes(country, /map/country); -- 
still evaluating xmlData there ?

trace(countryList); // shows country list
}

Perhaps it's because of references.
country is an XMLNode passed by reference to handleCountry
Then, when XPath tries to filter from country's context, it uses in 
fact the same XMLdocument as before.


I am not really happy  with this explanation though.
Further explanation ?


Thanks.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XPath Problem

2006-04-30 Thread erixtekila

OK, I get it.
It's definitively a problem of reference.

In order to filter an already filtered XMLNode, you've got to clone it 
before.

XMLNode has such a function, cloneNode.

So your example should work like this :

function parseXML(xmlData) {
countriesList = XPath.selectNodes(xmlData, /map/country);
	handleCountry(countriesList[0].cloneNode (true)); // Note the cloning 
process

}

function handleCountry(country) {
countryName = XPath.selectNodes(country, /country/name);
trace(countryName); // Should work.
}

Cheers.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] window.onClose - Flash

2006-04-25 Thread erixtekila

Hi,



Is there a way to handle a closed window that was owning a flash 
instance ?
I'd like to get an event for ex when someone quit a swf application, by 
closing it's window.


Any idea ?
Thanks
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] window.onClose - Flash

2006-04-25 Thread erixtekila


onUnload in javascript (and sen message to flash), but it is not 
working in all browsers

That's what I've experienced too. Thanks.
onClose doesn't too…

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] window.onClose - Flash

2006-04-25 Thread erixtekila
But to my knowledge a sharedobject is always flushed by flash at the 
moment

you close the swf.
So you could make a fix using that.

This is a pretty nice info.
Do you know if it's a special sharedObject or one that you were using 
first ?




Not sure if this is any help to you.

Hope it will… thanks.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] window.onClose - Flash

2006-04-25 Thread erixtekila


Le 25 avr. 06, à 23:31, David Rorex a écrit :


window.onbeforeunload

Never knew that one.

I'l check for its availability across platforms. Thanks.

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Forcing XML connection closed from SWF

2006-04-24 Thread erixtekila


Le 23 avr. 06, à 20:26, Bernard Poulin a écrit :

- I do not know if we can control the HTTP Headers from within flash - 
if
you can, try to modify the headers to shutoff the keep-alive option. 
It

*might* be possible with the recent flash player 8 (raw sockets).


Should be :
Take a look at XML.addRequestHeader method.

It's only possible with XML and LoadVars, not MovieClip type… 
unfortunatly.


---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] getURL doesn't work on Mac

2006-04-20 Thread erixtekila


Le 20 avr. 06, à 11:34, Lieven Cardoen a écrit :

Anybody an idea why getURL doesn't work on Mac. I try to open a pdf 
with
getURL, and this works fine on PC (IE, FireFox, ...), but not on Mac. 
On

mac Finder opens and just shows the pdf-file. User has to click it to
view it.

Probably means that no default application were set to handle pdf files.

my 2 cents.

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Netstream doesn't… stream bef ore being Garbage collected

2006-04-19 Thread erixtekila

Hi list,



It seems that the MM example to read a progressive video doesn't work :
http://livedocs.macromedia.com/flash/8_fr/main/2843.html

After some times, It appears that it was a garbage collector issue :

This don't work :

class ProgressiveVideo
{
public static function main (root:MovieClip)
{
root.attachMovie (video_mc, video_mc, 1);
var my_video = root.video_mc.flux;
var my_nc = new NetConnection ();
my_nc.connect(null);
var my_ns = new NetStream(my_nc);
my_ns.onStatus = function (info)
{
// Never being called !
root.video_mc._width = 512;
root.video_mc._height = 384;
};
my_video.attachVideo(my_ns);
my_ns.setBufferTime (2);
my_ns.play(pink.flv);
}
}

This do work :
class ProgressiveVideo
{
public static var my_nc:NetConnection;
public static var my_ns:NetStream;
public static var my_video:Video;
public static function main (root:MovieClip)
{
root.attachMovie (video_mc, video_mc, 1);
my_video = root.video_mc.flux;
my_nc = new NetConnection ();
my_nc.connect(null);

my_ns = new NetStream(my_nc);
my_ns.onStatus = function (info)
{
root.video_mc._width = 512;
root.video_mc._height = 384;
};
my_video.attachVideo(my_ns);
my_ns.setBufferTime (2);
my_ns.play(pink.flv);
}
}

The only difference is the use of properties in place of local 
variables.
Seems that the garbage collector dereference all before any stream 
could begin…


The 3 vars have to be kept, there are needed.

I thought GC was only changed in FP8 not FP7 ?!
And that example doesn't work for both players.

Any one anderstand ?
Here is a pastebin to read it more easily :
http://pastebin.com/669093
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Tools to create flv with screen recording codec

2006-04-19 Thread erixtekila

Any one ?

Before, there were the Flash Video exporter for flash mx 2204, now ?
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Tools to create flv with screen recording codec

2006-04-19 Thread erixtekila


Le 19 avr. 06, à 15:25, JesterXL a écrit :


That doesn't have the screen recording codec, just Spark  On2.

The reason of my question.
Nothing else ?
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Tools to create flv with screen recording codec

2006-04-19 Thread erixtekila


Le 19 avr. 06, à 15:43, Lee McColl-Sylvester a écrit :


Screen recording?  Did MX 2004 have Screen recording then?  I don't
recall that being a feature :-S

Yes it was.


  My suggestion would be a third party
product for this offering.  Certainly Multidmedia's Capture looks like
it should be your best bet.

Like Breeze and Captivate for ex ;) ?

Thanks anyhow…
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Tools to create flv with screen recording codec

2006-04-19 Thread erixtekila
This was asked on Flashcom I think last week, but a quick search of 
my inbox

doesn't yeild the thread.  Perhaps ask there since it's fresh on their
minds?


A quick search of /my/ inbox yields the thread -- April 6th, by
Erixtekila himself... No replies.

That's what I thought ;)
Thanks asual Mark !

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Linked font from class

2006-04-11 Thread erixtekila

this technote is stupid ... what a mess! ... dumb stupid!

here:
http://www.zarate.tv/articulos/shared_fonts/index.php- in spanish
http://tinyurl.com/fufs4- english translation using babelfish
+ there:
http://chattyfig.figleaf.com/pipermail/flashcoders/2005-November/ 
153927.html


If someone wants to anderstand the use of shared fonts (and know if  
their workflow is correct), just use swfmill :

swfmill is able to load and prepare shared lib.

It's much more easy and understandable than Adobe's IDE.
** The sharedLib :
movie width=320 height=240 framerate=12
  background color=#ff/
  frame
library
  !-- import the numerical characters of vera.ttf --
font id=vera import=library/vera.ttf glyphs=0123456789/
/library
  /frame
/movie

** The loader :
movie width=320 height=240 framerate=12
  background color=#ff/
  frame
!-- add some assets to the library --
library
  import file=libraryFontLlibrary.swf  
url=http://foo.com/fontLibrary.swf/

/library
  /frame
/movie

Relative and absolute URis are accepted.
Be sure to load the sharedLib before using it.

[ End of the hell and shared font redux ;) ]

my 2 cents.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Dynamic shread fonts was : Linked font from class

2006-04-11 Thread erixtekila
still, you have to put that Shared thingie in both **The sharedLib AND 
** The loader ...
with zarate's, you don't need both ... actually, you just prepare the 
**SharedLib  and then the Loader automatically loads in the new 
font (without linking, without compiling, without everything, just 
leave it alone)


wouldn't it be better ?

Yes !

Did you tried this technic with flash 8 ide ?
On osx, i can't recompile the original example of zarate :
Problem of ressource for the forceShared asset.

BTW, it gave me the curiosity to dig further in this technic.
I've made a new thread on my blog in order to explain my attempt :
http://www.v-i-a.net/blog/archives/43.html

I used Zarate's trick (because this is in fact a trick) to do it with 
opensource tools.
I had the feeling that it would be easier than the long (and badly 
translated) explanation available.


As I don't anderstand spanish and you don't probably french, I try to 
translate some part of my post here.


We'll be able to create true dynamic shared libraries for flash.
The principe uses the same as Zarate, but IMHO more friendly.

If I remember well, the flash player 6.0.79 gets a new feature : 
multi-tiers shared lib.
We use that in order to create dynamic shared lib without referencing 
the url in the importing animation.


Here are the key to the paradise :
- An empty swf
- This swf is used to add the url to itself and the other assets to be 
shared.

- A loading animation that preload the sharedLib before using it.

All the swfmill script are on the blog.
If one is interested to an automated as2ant process, let me know.


Even if this is an awful trick, it leverage the power of dynamic shared 
assets in flash.
And I, personnaly,  feel much more confortable to do it with swfmill 
than Flash, as that type of creation is really ugly in it.


HTH
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MTASC and spaces in classpath

2006-03-31 Thread erixtekila

Le 30 mars 06, à 16:26, Sam Thorne a écrit :
I'm getting the error Class not found Support.Macromedia.Flash when 
my classpath is
/Users/sam/Library/Application Support/Macromedia/Flash 
8/en/Configuration/Classes


Seems Mtasc doesn't like classpaths which have spaces in them on OS X, 
it tries to interpret the a directory name (such as Application 
Support, where the core classes are) as separate classes.


Escape it :
/Users/sam/Library/Application\ Support/Macromedia/Flash\ 
8/en/Configuration/Classes



erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multiuser - which backend?

2006-03-22 Thread erixtekila

Hi,


I should recommend you Oregano.
I've ported the API to as2 and put several additions to it.
That makes it a really nice tool to play with.

All the benefits are that Oregano is more a framework than just 
XMLSocket for Flash.


It uses a homemade serialisation/deserialisation scheme which make it 
quiet fast (no XML parsing is needed)

You could send and receive typed object like in Remoting.
There is also a kind of RecordSet called Table, which is a 
representation of database table with the sorting possibilities.


Oregano server runs on Java 1.4 and is fully extensible.
One could create special extensions to enhance to server 
functionnalities, for example for security…


You could also create a clustering server structure if you need more 
power.

You could balance the differents process on a group basis.

There are tons of great things with Oregano, but the one I appreciate 
the most is the quality of the documentation.
You are lucky because I've decided to release a new version which is 
pretty stable (after one year of heavy testings)

I'll publish it in some days on my blogs :
http://blog.v-i-a.net/

But you could grab a copy now and play with it.
There are so much things to learn…
http://www.oregano-server.org/

If you need support, you could register here :
http://forum.v-i-a.net/
There is an english dedicated board.

Feel free to ask there.


I'm actually thinking of some inprovments of Oregano.
I think the future could come with some good news…


Greetings
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] [ANN] Oregano 1.2.0 Release Candidate 1

2006-03-22 Thread erixtekila

Hi all,



Make you a favor and give a shot to this new release that seems to be 
really stable :

http://www.v-i-a.net/forum/viewtopic.php?t=23

Any feedbacks are welcome.
Cheers.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Un-HQX, Burn in Mac, make ISO in PC, and make copies in PC

2006-03-21 Thread erixtekila

This question is pretty usefull.

I presume that the .hqx files that are Mac's flash projector use a 
ressource fork.

Once you copy this on another os, you loose it.
Without it the file won't launch again.

Zipping it is not a solution as it doesn't preserve ressource forks.
You could use .sit, but there are no AFAIK a windows analog.

The .iso is a good alternative.

BTW, is there a utility to give a broken .hqx is resource again ?
Thanks.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Un-HQX, Burn in Mac, make ISO in PC, and make copies in PC

2006-03-21 Thread erixtekila
hqx are not macintosh projectors per se, they are the encoded versions  
of Macintosh (including the rsrc fork) projectors that _can_ be copied  
around

Hm… you're right.
.hqx is binhex encoded file (something like uuencode)

BTW I've made a confusion.
I meant : Is it possible to give a resource fork back to a projector  
that loose it ?


For ex, someone put a mac projector in a zip file.
How is it possible to make it launchable again as an application ?

Here is an example of the issue.
Grab the huge archive there (very interesting stuff from Etienne  
Mineur):
http://www.my-os.net/blog/index.php?2005/08/29/107-issey-miyake- 
nouveau-site

Could some mac user open the projector file ?
Not /me.

Any idea ?
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XPath problems with single character value nodes

2006-03-11 Thread erixtekila


Le 11 mars 06, à 11:27, Adrian Park a écrit :

I encountered exactly the same issue on the project I'm currently 
working

on. I got around the problem by using XPath.selectNodes rather than
XPath.selectNodesAsString.

Please send a mail to XPath author to get this fixed.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Branden's Article on Shared Fonts

2006-03-02 Thread erixtekila


I was wondering if somebody could point me to a backup of
those posts.

This is for posterity :
http://web.archive.org/web/20020802165312/www.waxpraxis.org/archives/ 
62.html


Enjoy.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Does anything allow FLV(sorensen or vp6) to mpeg4 for IPOD

2006-02-28 Thread erixtekila

I want to be able to take flash video and put it on a video ipod. Is
there any way to do this?


As always : ffmpeg will convert h.263 to mp4.
vp6 is not included as it is not a known codec.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Textfield size (TextFormat + thickness)

2006-02-28 Thread erixtekila

Hi all,



Has anyone find a way to calculate the real size that a textfield 
should take in order to display its content correctly.
The trouble comes from the mix of TextFormat properties and TextField 
ones :


TextFormat.getTextExtend did a good job before the safron text engine 
included in Flash8.
Now we can set thickness directly on the textfield, but the preceding 
method of TextFormat doesn't take account of that.


So obviously the result is smaller than needed.

Is there a factor to multiply to the getTextExtend method to get it 
work with those nice textfield enhancements ?



Thanks for your lights.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread erixtekila
I'm looking for a tool that can inject a line code to the first frame 
of a SWF.


Any reason not using FlashVars and push this variable inside the swf 
container ?


BTW, you'd able to inject code in swf file with mtasc -keep

HTH

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread erixtekila
I'm looking for a tool that can inject a line code to the first frame 
of a SWF.

Moreover, you get :
KineticFusion
Flasm
swfcombine and  from swftools

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash and open type fonts

2006-02-15 Thread erixtekila
I would like to ask if someone has any experience from open type fonts 
and

flash, if there are any problems or if it works great?

Try Font2SWF :
http://www.swftools.org/

hth
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic width of image...

2006-02-08 Thread erixtekila

_xscale and _yscale should be your friends.
Your approach is good btw.


I am loading dynamically some images to a emptyClip. The images have
different width anh height values each one. What i wanted is that my 
Clip

(or image after loading) had a maximum width of 163

I am using this code at my Clip but it´s not working correctly. Can 
anyone

help?

onClipEvent (data) {
maxWidth = 163;
if (this._width  maxWidth)
{
scaleFactor = maxWidth / this._width;
this._width = Math.floor (this._width * scaleFactor);
this._height = Math.floor (this._height * scaleFactor);
}
}


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash 8 embeds fonts on OSX, even if you don't tell it to !

2006-01-30 Thread erixtekila

Hi people,



For the record :
When one uses MAc OSX Flash 8 Pro, you have different to use a font, by 
the way, for a reason that a presume, when you use _sans or Arial with 
Use device fonts, in fact Flash embeds the outlines in the final swf.


If someone else could test it on it's computer ?!

- Put a textfield with _sans as font
- Open File  Publish Settings
- Check Generate size report
- Look at the end of the output if there are _sans like this example :

Nom de la police octetsCaractères
-----
_sans21
_sans Gras   21


I think that MM embeds the outlines on osx, that way the mac and win 
version could have the same width.

But it definitively give your swf an unecessary weight.

Is it a known issue ?
Is there a workaround that I don't know ?


Thanks to confirm this annoying issue.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Documenting my code

2006-01-22 Thread erixtekila

I have written a documentation tool:

It sits on your desktop as an executable and all you have to do is 
pass it

the actionscript files:

http://www.as2docs.com/


Is it a Java tool ?
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Documenting my code

2006-01-22 Thread erixtekila
Any chance of a command-line driven version so that I can achieve my 
goal of

having server-side generated documentation on my SVN box..?


You'd test as2api

my 2 cents

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stolen content

2006-01-19 Thread erixtekila


Le 19 janv. 06, à 11:50, franto a écrit :


I just want to know, that there are such practics, i know you know :)
but i hate it
so just want to let you know thieves :)

http://www.franto.com/blog2/stolen-content-collected-links-to- 
maelstrom-examples



Well, franto, did you really said : my content ?
It's sad, i've found my content on other sites. Do not know about  
other content, but it seems that my Collected links to Maelstrom  
examples


I thought it was examples of the new features developped by others.
Could you clarify a bit ?

Thanks.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stolen content

2006-01-19 Thread erixtekila


Le 19 janv. 06, à 14:16, franto a écrit :


sure, but when you try to get visitors to your site and such, google
penalize such sites, where same content is on many sites...

from this post, my uniques visitors per day raise from 300 to 1700,
post was viewed by more then 100 000 unique visitors (at least
Wordpress admins tell me this :) and then I can pay my hosting from
Google Adsense, you know, everything is worth something :)


What was your real motivation making your collection :
- sharing knowledge ?
- relaying content ressources to get your hosting payed ?

I get you : http://www.franto.com/blog2/flash-collections-for-you/


Thus, you can blame others that follow your way…
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] amfphp, flash 8 and netdebug

2006-01-19 Thread erixtekila
Hey, we just finished a gig with amfphp and Xray did a great job in 
helping

us debug the live data.  We were able to trace out the remoting objects
after creating them to make sure they were instantiated correctly as 
well as

look at them through the treeview at runtime.  When data returned, we
through it through Xray's trace and it just spit out the entire object 
for

us.

when you consider all we have to do to use Xray is put it on stage and
publish with our main swf, I think that's a bit easier than NetDebug ;)


Amazing tool !
Kudos to you.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Application development in flash for MAC

2006-01-18 Thread erixtekila



mProjector is crossplateform now.

Nice.


You can try XUL with swf embed

Very good point.


Don't know if Screenweaver OS 4 (crossplatform) is here

Anyone knows ?

Cheers.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash, Ant and the Mac

2006-01-05 Thread erixtekila

Hep, use swf2ant :
http://osflash.org/ant?s=as2ant

Works well on 10.3.9

Le 29 déc. 05, à 01:09, Chris Griffith a écrit :
Just started a new project and unlike the past efforts (in Flash), 
this one has two developers. I would like to automate the build 
process. I do my work on a Mac and the other on a PC. Can we use 
FlashAnt on both platforms? I have installed Ant on my Mac, but an not 
quite sure on the next baby steps.



---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Is Adobe settings manager usable ?

2005-12-22 Thread erixtekila
UI size is one issue... if you're viewing a 60-pixel-square SWF, 
there's no room for an internal dialog. There are also localization 
and update issues.

OK, John.
I think I get your point.
You're talking of small screens.

BTW, there should be a minimal value for the scroller button.
It's not visible at all.

That approach of using a full webpage UI to examine local settings is 
clever, but has been too novel for many people... I know there have 
been internal discussions on how to improve the next generation, but I 
don't yet know how these discussions may manifest in new UIs.

Can't wait to see the improvments.

Thanks for your attention.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Is Adobe settings manager usable ?

2005-12-21 Thread erixtekila

Hi,


Do someone of you (or your clients) ever use the settings manager ? See  
:
http://www.macromedia.com/support/documentation/en/flashplayer/help/ 
settings_manager06.html


Do you feel confortable to delete / manage an entry in this small  
scrollpane with an invisible scroller.

The more you get SharedObjects, the thiner it goes.

My opinion is that is it purely unusable.
Don't tell for my clients…

Please guys and gals, give us your thoughts on this application.
If there is a real use for most of us, perhaps someone could do  
something on Adobe side ?


Come on, security concern goes with usability !
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] help the tabIndex

2005-12-20 Thread erixtekila


How do I enabled custom tab indexes? the following example doesnt seem 
to work for me


user_movie.user_input.inputText.tabIndex = 1;
pass_movie.pass_input.inputText.tabIndex = 2;



tabEnabled = true ?

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Select a newly focused textfield

2005-12-10 Thread erixtekila

Hi,


I must be stupid' on this one.
How could it be possible to select the entire textfield that is just 
focused ?


Seems easy…heu ?
_field.onSetFocus = function () {
trace(Selection.getFocus());
Selection.setSelection (0, this.text.length-1);
};

Doesn't work when I click on the Textfield.
Strange.
BTW, the trace output is correct.

Any idea ?

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] interfaceof

2005-12-09 Thread erixtekila

Hi folks,


Is there a way to know if an object belong to a special interface type ?
I assume it's compilie time only ?

What I'd like is to get the same behavior than instanceof but with 
interface.


Any idea ?

Thanks.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] interfaceof

2005-12-09 Thread erixtekila

instanceof will work at runtime

Thanks.
I should have tested by myself.
You're true, instanceof works for extends and inplements.



On 12/9/05, Scott Hyndman [EMAIL PROTECTED] wrote:


I know you can do this.

var implementsInterface:Boolean = ISomeInterface(objectToTest) != 
null;



This was the solution I was hinking of, if no other.


Thanks you both.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] HTML in XML

2005-12-07 Thread erixtekila


Le 6 déc. 05, à 19:20, Mike Boutin a écrit :


I am bring in some html text to show in flash in an xml file like this:


description id=0
   title![CDATA[bpicture 0/b]]/title
/description

When i trace it back in flash, it shows up like this:

lt;bgt;picture 0lt;/bgt;


Isn't it the expected behavior : to escape the html tags ?
If you want to display the html in a textfield, be sure to give it his 
html to true.


That should work as is.

HTH

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just theAVM? or...

2005-12-07 Thread erixtekila


Le 6 déc. 05, à 22:26, Scott Hyndman a écrit :

And just as a side note, I came up with an interesting idea today on 
how
to emulate multiple threads in Flash. Just use more than one movie! 
Talk

between the UI movie and the background worker movie with a
LocalConnection object, and you're in business. No more UI lock.


Yes why not.
Can you elaborate the concept a little ?

There could be a TaskManager running in the background swf.
It handle the thread like objects and send output when the thread dies.

But the background swf must have implemented the classes that the 
thread must take care of.

Isn't it ?

Cheers
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Applying tween class to textfields

2005-12-07 Thread erixtekila

FYI, I made another tween engine build on a new concept.
I just have published some source code on my site :
http://www.v-i-a.net/blog/archives/2005_11.html

For the none frenchist, here is an overview.
If you find it interesting, I'll put this in osflash site.


Here is the idea behind this implementation :
Flash mathematic calculation is slow.
And Tween rely on heavy calculation, even though Robert Penner 
optimized them as much as possible.


But once you've done the all equation, why should you begin again ?
So I made a cache system available that intelligently serve 
precalculated values.

That's all.

Moreover, instead of using an onEnterFrame, I use setInterval.
What th deal ?
setInterval is able to force rendering the screen 1 times faster than 
the framerate.
So if your tween needs a must render every step algorithm, it's 
available.


I've also rethink the API to make it more easy for (/me).
There is an exemple of use on the blog.

As usual, you are not slave with MovieClip properties, you could tween 
Color values, as soon as they get some accessor methods.



Cheers.
---
erixtekila
http://blog.v-i-a.net/


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Loading a compressed movie

2005-12-03 Thread erixtekila

Hi folks,



Can someone explain me how do Flash behave when it loads a compressed 
external flash.
He is still able to play the first frames, eventhough he don't get the 
whole file.


Do that mean that the compression algorithm is used directly when 
receiving data ?

Do this algo (ZLib I presume) can be launch on portions ?


Thanks for your enlightments, guys and gals.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Creating an OS X app with a Flash Projector

2005-12-03 Thread erixtekila

Very interesting point. Thanks.
Le 3 déc. 05, à 22:07, Simon Lord a écrit :

Hi all, if you are an OS X user this may be of interest to you.  It's 
a small tutorial on creating a Mac OS X application and using your 
Flash Projector as the runtime engine.  It's an OS X only solution but 
the advantage is that you're delivering a single executable to your 
client with all the content neatly hidden from view inside the .app 
package.


I spent a day figuring it out, so I thought I'd share the experience.

http://www.karbonized.com/flash2app/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Degrade AS2 code to AS1 - how to?

2005-12-02 Thread erixtekila


Le 2 déc. 05, à 12:45, Gregory Nikolaev a écrit :


Hello Flashcoders,

  Question:
  Is there a way to automatically (or semi-automatically) convert AS2
  code (with or w/o external classes) to AS1-styled code w/o ext.
  files?


Yes there are.

But 1st, FYI, AS2 is compiled in AS1.
So why not decompile your stuff after having done it ?

Beware of special flash7 opcode though like :
extends, throw…

Some tools are free and opensource.
Some not.
If you are in a hurry, I'd recommend KineticFusion :
http://www.kinesissoftware.com/index.php

This tool is able to extract swf opcode to xml representation (rvml)
As this tool is alive from the early days of flash MX, it still 
available to output actionscript in version 1.


Go and get the trial version, you'll be amazed.


HTH

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Instanciation with Function.apply

2005-12-01 Thread erixtekila

Hi folks,



Is it possible to activate the constructor of a class with 
Function.apply ?


new Class.apply (Class, arguments) ?
will work ?

I know I could implement an init method that be activated by apply, but…


Cheers.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Instanciation with Function.apply

2005-12-01 Thread erixtekila

Thanks Navneet.
I do it like this but it's an horrible hack ;)
Shame on you OOP guy !

Le 1 déc. 05, à 18:48, Navneet Behal a écrit :


Sure, you can use this:

---
function createInstance(clazz:Function, args:Array) {
if (!clazz) return null;
var result:Object = new Object;
result.__proto__ = clazz.prototype;
result.__constructor__ = clazz;
clazz.apply(result, args);
return result;
}
---


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Q: dedicated UML tool for Actionscript 2?

2005-11-30 Thread erixtekila

Find a tool I made that would import your UML as XMI version 1.0

http://www45.brinkster.com/chaoschaos/xmi2actionscript.asp?page=2


Is there any swf only version instead of the .exe ?

Thanks

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread erixtekila


Le 24 nov. 05, à 19:39, Scott Hyndman a écrit :

You could have modules aware of their peers (like a graph or linked 
list structure) and eliminate TestSequence entirely...but it would be 
kind of odd.


Otherwise you could have modules dispatch a notification when 
complete, and have TestSequence observing the modules. This would make 
the most sense...and I wouldn't consider it an explicit callback, 
since the modules will have no knowledge of the sequence's existence.


Yes, that's what I was thinking of.
But I still have to call the callback.

Here is what I was thinking of :

- TestSequence is composed with an FIFO Array, linked list, whatever…
- TestModule is a base class with only one method : endTest (b:Boolean)
- Each Test have to subclass it in order to call endTest when the 
implementing test is achieved.
The endTest method is not derived by the subclass (it should declared 
as final, but…)
- ITestElement is an interface that each Test have to implement in 
order to force 1 method : startTest()


Sequentially, TestSequence call each entry of its stack.
Each TestElement do its stuff and, when finishing or failing, calls 
endTest on the superclass.

endTest only do one stuff : calls the callback of TestSequence.
When receiving this message, TestSequence only has to go one stpe 
further.

And so on…

My goal is to abstract as much as possible the test implementation.
I'd like to be able to batch as much test as I want.

But, as I am lazy (!), I'd like not to call endTest at all.
Because I am not sure that I will remember that need in months.
So, it would be pretty better for me to find an automatic way of being 
called.


Follow me ?
Any idea ?


Thanks by advance.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread erixtekila

 and have TestSequence observing the modules.


I don't like to use an observing scheme since I must validate a 
sequence of tests.

Observer make a 1 to many relation but asynchronisaly (…!)

BTW it was a good point. Thanks.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread erixtekila


Le 24 nov. 05, à 20:27, Ian Thomas a écrit :

Why not just pass each module a callback function to call when it's 
done?

Then TestSequence can do all the work.

For example:

class TestModule
{
  public function runTest(callback:Function)
  {
// Do some testing...
// When done...
callback();
  }


Good point.
But I will be more lazy :)

class TestModule
{
  public function runTest (callback:Function)
  {
// Call an implemented method on subclass interface
beginSubclassTest ();
   // OK launch the TestSequence
callback ();
  }
}

BTW this process is only available for the stack sequence of functions.
Imagine that I need an asynchrone test in my sequence.
Something like evualuating the time for example and need to call the 
callback later…



Le 24 nov. 05, à 20:59, Scott Hyndman a écrit :

class ModuleBase {
  public function startTest() {
runTest();
endTest();
  }

  public function runTest() {
throw new Exception(implemented in subclasses);
  }

  public function endTest() {
dispatchEvent({type:end});
  }
}

Same here.


Thanks for you both.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XMLSocket OS X

2005-11-20 Thread erixtekila

Hi Michael,



If you want to dig inside XMLSocket implementation, you can investigate 
in Oregano java server.

It is opensource and can help you a lot.
As it use java, it's fairly easy to use it on osx…

Here is the link :
http://www.oregano-server.org/

HTH.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash 8 OSX is not applescriptable AT ALL ?

2005-11-19 Thread erixtekila

No dictionnary.
Too bad !

Is it only me ?

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread erixtekila




Could you tell me please if it works on Mac



Yep it does.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] New way to resize TextField in IDE ?

2005-10-28 Thread erixtekila
You have never been able to numerically resize text in Flash. Flash 7 
had
the same behaviour. Many had hoped Flash 8 would *resolve* this issue, 
but

it didn't happen. It certainly isn't a new issue.

Actually, you're right.
I'm too used to AS dynamic instanciation and new swf build tool.
Sorry for the noise.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] LoaderClass in Flash 8

2005-10-27 Thread erixtekila

Hi there,


I've checked Brian's port.
It seems interesting because of some additions.

But you should be aware that's it is just an inclusion of the methods 
without private/public modifiers.

I'll manage to add this once I get time.
That way you'll get these modifiers plus Brian's add.


Checked Bryan Ledford's site, there was an update this month:
2005/10/4
http://www.bryanledford.com/download/LoaderClass2.0.zip



Bryan Ledford rewrote this class for AS 2.
http://www.v-i-a.net/download/?LoaderQueue
http://www.v-i-a.net/download/?LoaderQueue_doc



The above urls are still valid.

BTW, I was thinking that I should rethink the whole implementation.
In fact, MovieClipLoader has a new onLoadError event and manage 404 
HTTP headers.


As it'll glue the use with flash8, it could be interesting though.

To finish, we could imagine an implemenation using a Strategy pattern 
to switch between the way to behave in regard of the flash version.

But my question is : Do a queue loader class need worth it ?
Tell me.


Cheers.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] New way to resize TextField in IDE ?

2005-10-27 Thread erixtekila

Hi all,



I hope I do a big mistake.
Tell me.

With Flash 2004 and before, one just have to put a textfield on the 
stage and give it values with the property inspector.

It was fast and easy.

With Flash 8 IDE, if I do the same, the font inside are resized ?
Whatever tool I use : Arrow, Free transform or Text, the behavior is 
the same.


Should I say that on a mac ?
Is it an osx only (how could I say) **new** feature ?
Is there any way to give values to a textfield on stage. (Don't answer 
by script please)


Thanks.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Encoding On2 with cuepoints metadata

2005-10-21 Thread erixtekila


Maybe Flix takes the cuepoints of the source Quicktime movie (they 
call it tracks) ?

For everyone record :

No actual tool take Quicktime cuepoints to export them in the on2 flv 
stream.


Cheers
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders