Re: [Flashcoders] flashvars -> swfObject not working

2010-07-29 Thread Cedric Muller

It may help OR not:
I paint these on pictures (nice pictures by the way) I plug to my  
toilet's walls. It is fun, helps me remember important illogical  
stuff, and assures me my toilet's walls get updated quite frequently,  
and no one else except me understands these, which tends to comments  
like "wow, there's art in your toilets !"

;)
By the way, I am looking forward to the day someone writes new  
comments on my toilet's walls :P


Maybe, there is a 'place' somewhere for a book in that verve ? :S

++
Cedric

That's right Cedric!  When am I going to remember that?  It's  
burned me a few times already.  Thank you very much for the reminder.


- MM

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- 
boun...@chattyfig.figleaf.com] On Behalf Of Cedric Muller

Sent: Thursday, July 29, 2010 9:02 AM
To: Flash Coders List
Subject: Re: [Flashcoders] flashvars -> swfObject not working

Hello Michael,

You have to get the FlashVars parameters from the root.loaderInfo
object. I know, I know how it feels, and I wouldn't be able to
certainly tell you why it is passed through the root.loaderInfo
pointer, although it /can/ be quite logical. When you get used to it,
it gets logical too :)

try the following:

var flashvars:Object = LoaderInfo(root.loaderInfo).parameters;
for (var e:Object in flashVars) {
trace("e="+e+"  flashVars[e]="+flashVars[e]);
}

hth,
Cedric

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


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


Re: [Flashcoders] flashvars -> swfObject not working

2010-07-29 Thread Cedric Muller

Hello Michael,

You have to get the FlashVars parameters from the root.loaderInfo  
object. I know, I know how it feels, and I wouldn't be able to  
certainly tell you why it is passed through the root.loaderInfo  
pointer, although it /can/ be quite logical. When you get used to it,  
it gets logical too :)


try the following:

var flashvars:Object = LoaderInfo(root.loaderInfo).parameters;
for (var e:Object in flashVars) {
trace("e="+e+"  flashVars[e]="+flashVars[e]);
}

hth,
Cedric



Hi list...

I'm unable to pass flashvars to a swf via swfObject(2.2).  An  
online search hasn't turned up a solution either.


The flashvars are passed via javascript like so:


var v = {};
v.titleText = "XXX Financial and Operational Progress";
swfobject.embedSWF("thing.swf", "mything", "450", "750", "9.0.28", false, v, {}, { });


Within the swf, I've declared a corresponding public variable in  
the document class.


public class MyClass extends Sprite{
public var titleText:String;
public function MyClass(){
if(Capabilities.playerType == "External"){
// set defaults for the flashvars for testing purposes:
titleText = "YYY Financial and Operational Progress";
}   
}
}

What am I missing?  When testing in Flash, I get the "YYY..."  
message, but when testing in a browser, I get nothing.


Thanks,
- Michael M.

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


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


Re: [Flashcoders] Tweener still in development

2010-06-24 Thread Cedric Muller

hi a!

I am afraid no :(


hth


hi guys

does anyone know if tweener is still being developed as the updates  
seem to

have gone quiet for the last year(ish)?

thanks
a


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


Re: [Flashcoders] on the iPad

2010-06-09 Thread Cedric Muller
"As it is built now, the iPad is the ultimate consumer device,  
meant primarily to consume media, not to produce it. That's why, in  
its first iteration, it has no native printing application, no  
camera, no USB ports for peripherals. But the impulse to make it  
into something else, a lightweight computer that can stand in for a  
PC in the classroom, at a meeting, on the road, wherever, is  
strong. This is why iPad users have been buying keyboards to bypass  
the touchscreen, and finding apps that allow for rudimentary  
multitasking, printing, and remote access to one's home computer in  
order to use non-iPad-enabled software like Microsoft Word. The  
paradox of having designed the ultimate consumer device is that  
ultimately the consumers will make of it what they want-if Google,  
with its rumored Chrome Tablet, doesn't get there first."
from http://www.nybooks.com/blogs/nyrblog/2010/jun/08/what-ipad- 
cant-do/


They should have known that, for a max price of $300, you get /that/  
kind of computer that does computer stuff :P


Never touch consuming consumers :)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ticker

2010-05-28 Thread Cedric Muller
or just assign some 'onComplete' handler to your tween, reset your  
object to tween 's position to the right of the screen and (re)start  
tweening.

rinse and repeat.

Cedric

Hehe - Just giving you a nudge in the right direction - you have to  
look up some info - try googling for "flash tween yoyo" and it  
opens up some interesting stuff.  If you then get stuck trying to  
do stuff, we help a bit more ;)


On 28/05/2010 16:04, Lehr, Theodore wrote:
That's what I love about this list - there is ALWAYS help  
available but it is often cryptic... ;-)



From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders- 
boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike  
[g...@engineeredarts.co.uk]

Sent: Friday, May 28, 2010 10:57 AM
To: Flash Coders List
Subject: Re: [Flashcoders] ticker

On 28/05/2010 15:45, Lehr, Theodore wrote:

I am trying to make a simple ticker... my thinking is to tween it  
(in as) right to left... how would I make that tween repeat  
endlessly?


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


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Cedric Muller


Yes, this blog post <http://www.uza.lt/blog/2010/05/gianduia-vs-flash/ 
> gives two examples:


<http://concierge.apple.com/reservations/R002>
<http://iphone-reserve.apple.com/WebObjects/RPRCustomer.woa/wo/0.>

beware, these are extremely horrible proof of concept. The static  
forms loading is way too long ... and somewhat seems abnormal :|


Cedric




ah just re-read the article - this is a javascript framework

so nothing to see i guess?

a

On 10 May 2010 10:19, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:


one of the best comments on digg:

[quote]
iTunes and Quicktime are absolute piles of shit. People talk about  
Flash

crashing a browser? Quicktime is just as bad. Complete shit.

iTunes is just as bad as Outlook when it comes to bloatware. Not  
to mention

a horrible to use piece of software.
[/quote]

amazingly true

On 10 May 2010 08:02, Cedric Muller  wrote:


Don't bother :)
Apple is doing its own playground in its own special island + walled
gardens how could they develop a flash concurrent that would  
sit on the

'ubiquitous' side of things ??

The same ubiquity than with Quicktime Player or Safari ? :D  
(sorry, but

... these only work on Macs, again )


 I'd rather not go negative, especially on this list which is so  
valuable

to me, but this Flash Alternative news simply disgusts me.  It's as
underhanded as a business can get.

- MM





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


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Cedric Muller

Don't bother :)
Apple is doing its own playground in its own special island + walled  
gardens how could they develop a flash concurrent that would sit  
on the 'ubiquitous' side of things ??


The same ubiquity than with Quicktime Player or Safari ? :D (sorry,  
but ... these only work on Macs, again )


I'd rather not go negative, especially on this list which is so  
valuable to me, but this Flash Alternative news simply disgusts  
me.  It's as underhanded as a business can get.


- MM


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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-30 Thread Cedric Muller



http://www.ubergizmo.com/15/archives/2010/04/ 
quake_ii_runs_on_html5.html


seems

that html5 isn't as crappy as some people are making out.


ever tried to run it on an iPhone, or best: iPad ?
:)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-30 Thread Cedric Muller



I don't like what Jobs has done, but I understand he's doing it for  
"business" reasons.


which is bad taste too ...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-30 Thread Cedric Muller

that's a fact :)
(not about the man on mission or the hair, but about the air Jobs  
has, which isn't AIR btw)



**Did he really post that?
I am hoping you are referring to the grey hairs on Steve's head and  
not a man on a mission.


O.o


Karl


On Apr 30, 2010, at 1:01 AM, Newsletters Bag wrote:


Ahahahahahahah!

Beatrix Krümmer-Frau ha scritto:

Steve Jobs will be dead before Flash - don't worry.

*Beatrix Kruemmer-Frau*
Dipl. Ing. Designer|CEH-LPIG-1
Flash/Flex Developer
Network Security Administrator

Blog 
Twitter  Xing  LinkenID 



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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Cedric Muller
Right now I'm more of the opinion that rolling your eyes and moving  
on is

the right thing to do.


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


Re: [Flashcoders] @#$% New iPhone Developer Agr eement Bans the Use of Adobe’s Flash-to-iPhon e Compiler

2010-04-13 Thread Cedric Muller
After all this discussion, I've decided to suck it up and give  
these a read:


http://developer.apple.com/iphone/library/referencelibrary/ 
GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/ 
doc/uid/TP40007594


http://developer.apple.com/iphone/library/documentation/Cocoa/ 
Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/ 
doc/uid/TP30001163


If you can't beat 'em, join 'em. Plus it may turn out to be pretty
fun/exciting. Except the part where you get rejected from the  
AppStore ;)


bottoms up!




@implementation MyClass
- (id)initWithString:(NSString *)aName {
if (self = [super init]) {
name = [aName copy];
}
return self;
}

+ (MyClass *)createMyClassWithString: (NSString *)aName {
return [[[self alloc] initWithString:aName] autorelease];
}
@end


Wooohooo, now I see how much more control we could have by choosing  
Objective-C instead of AS, so so so much more control in the way  
things are written down. Can we ask for a premium in terms of  
pricing ? because the code is cleaner you know ... apple wise.


I have a serious example where one client needed an application: he  
did contact an approved iPhone application developper: the guy made a  
whole crap out of the project, making it unusable. That was laughable  
given he was some post thesis engineer and given the price he'd asked  
for developping this app. Then we contacted some 'smart' AS3  
developper, who made it to the iPhone in a clean and functionnal way.  
Amazing story isn't it ? My conclusion: I will never ever ask some  
iPhone engineer to develop something again except for lists, buttons  
and panes rotating :) Too expensive all in all, and there's a chance  
that quality will get low (if you want to do anything more than  
displaying lists and buttons + scrolling panes).


Hey, that's cool but still not rad. We should all learn assembler /  
machine based languages, and stop doing cosmetics with either C/C++/ 
ObjC etc ... these are all interpreters. And Assembler is not that hard.


The iOS forcing people to learn Objective C is  some dictatorial  
concept. I am glad some are going down this route, I am glad for them.


Cedric (Flashcoder huh?)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] @#$% New iPhone Developer Agr eement Bans the Use of Adobe’s Flash-to-iPhon e Compiler

2010-04-12 Thread Cedric Muller

What's truely lovely in this darkened story:

Flash has a community!! Yes, it has :) Moreover, this community is  
stronger than what I thought
I can now see how the community isn't only made of preachers and all.  
You can't get the flashonomy down.


(and today I stumbled upon the WePad, another iPad pretender... may I  
say with an added appeal)


Cedric


Well said Lee Brimelow.

Apple wielding the knife like this makes them look
angry, isolated and desperate.

John

allandt bik-elliott (thefieldcomic.com) wrote:

thanks lee brimelow for this amazing post
http://theflashblog.com/?p=1888



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


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


Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe's Flash-to-iPhone Compiler

2010-04-09 Thread Cedric Muller
Sorry, I didn't meant 'heroes' but thought about 'apps' that get  
sold ... because 180'000 apps certainly means there are a lot of crap  
and non-sense.


another list, there should be a bunch of application developpers  
HEROES

that get together and build this killer app the iphone won't have.


That would be Zynga with FarmVille. I refuse to think of them as
heroes though.

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


Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe's Flash-to-iPhone Compiler

2010-04-09 Thread Cedric Muller



Peter Elst:
http://www.peterelst.com/blog/2010/04/09/apple-versus-developers- 
this-time-its-personal/

"apple-versus-developers-this-time-its-personal"

It does feel personal:
1. Apple want to lock you into their products.
2. They can't force consumers, so they force developers.
3. Their products have a lot of competition now.
4. Apple versus freedom, is a no brainer.

What to do?

Write great apps with Flash.

Don't buy an iPhone.

John


We have to forget iPhones. Good HTC are coming out. As it was said on  
another list, there should be a bunch of application developpers  
HEROES that get together and build this killer app the iphone won't  
have.


Btw, what's your stence on Objective C dev for the iPhones/iPads. Do  
you really think EA, Ubi, Gameloft do develop their games using  
Objective C ?

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


Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe's Flash-to-iPhone Compiler

2010-04-09 Thread Cedric Muller

So many interesting power struggles going on right now between Adobe,
Apple, Microsoft and Google. Makes you wonder who will come out on  
top.


Apple vs the World ? Are they idiots or what ?? Definitely: Apple  
will come down.


Speaking about the cleaness of code  :S
The MS days are far far far away ...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: I Must Be Asking This Question Wrong...

2010-02-03 Thread Cedric Muller


The fact that someone has elected to unsubscribe because of your  
postings should tell you that your going about it the wrong way.


The list is less active nowadays than it was a few years ago.  
Nevertheless, I don't think putting guilt (or responsability) upon  
beno would do any good.
I think we can all have the /right/ to help whoever we want. And I  
also think that beno proved to be a list vampire showing some parts  
of arrogance, at least misunderstanding concepts.


We should not get the list down with these posts, but it won't ;)

We can even setup filters on our sides (digest-wise, I acknowledge  
the problem) and we can try *not* to reply to beno's nonsensical  
posts, as long as we know him. btw, he should know that google is  
there willingly to help him out.


We will get through this one easily.

Have a nice day everyone coding AS around the globe :)

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


Re: [Flashcoders] Bizarre Issue

2009-12-15 Thread Cedric Muller


These MC have dynamic text boxes and images... they ALL start out  
with alpha = 0...



dynamic images ? Do you mean that the images get loaded dynamically ?

You are, maybe, starting to show the scene when it is not fully  
loaded ... :|


hth,
Cedric





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


Re: [Flashcoders] Back On Course, Still Problems

2009-12-08 Thread Cedric Muller
I don't know, I think it has more to do with humility and being  
humble ... are we ?




Beno,

In the spirit of your recommendations and opinions regarding  
criticism, allow me to be blunt with you in the manner you find  
most effective.


Considering everyone here has expressed a negative reaction to your  
communication style, it's pretty fucking clear where the problem is.


Whether you like it or not, whether you agree with it or not, based  
entirely on people's reactions, you're being an asshole.


You can either accept the reality of people's reactions and adjust  
your behavior accordingly, or you can refuse to accept it and  
attempt, with more of the same behavior, to convince them to change  
their perception.


Which do you think is more likely to be within your power to  
control? Your behavior or everyone else's?


Here are some famous quotes for you:

"God, grant me the serenity to accept the things I cannot change,  
the courage to change the things I can, and the wisdom to know the  
difference." - Reinhold Niebuhr


"Insanity is defined as doing the same thing over and over and  
expecting different results." - Albert Einstein


Do what you will. Keep behaving in a way that other people find  
distasteful and discover how quickly nobody will ever help you  
again, or change your behavior for a different result.  It's really  
up to you.


This is the last I'll speak on the matter, and I have no interest  
in discussing it with you further.  The list owner, who has also  
expressed a negative reaction to your approach, has asked for this  
to end, and I personally think that if you don't change your tact,  
he should ban you from the list.

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


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


Re: [Flashcoders] Back On Course, Still Problems

2009-12-08 Thread Cedric Muller
I did not say you were not honest, pardon me if you felt I was. How  
would I question honesty in a Flash mailing list ???


I am not saying you are not being honest or anything, but now I am  
wondering why it took you about 3 weeks to build something a normal  
coder would have taken 15 minutes ?
Imagine everyone monopolizing as many people as you are, that's not  
possible, there is something wrong here.


I helped you back then, but now I see you are still at the beginning,  
asking for questions, and worse: you do not have a clue about what  
you are doing. This is tensing me, but I won't black out.


Back to Flash ? yea, that's what I have been doing for the last 8  
years now :(


On Tue, Dec 8, 2009 at 4:11 AM, Cedric Muller   
wrote:



Again ??!?

Beno, you promised you would buy these books and study. And you  
promised to

build bricks first before trying to build a skyscraper.



I promised I would buy the books around the end of the year. I never
promised anything about bricks or skyscrapers. I did, however,  
promise three
clients I would build their sites in Flash. What is your point?  
That I am

not honest? I am. Why don't we just get back to Flash?
beno


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


Re: [Flashcoders] Back On Course, Still Problems

2009-12-08 Thread Cedric Muller
I know we all love Beno, and we really tried hard to make it work,  
that's how this list is ;)


But, it should end, shouldn't it ?


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


Re: [Flashcoders] Back On Course, Still Problems

2009-12-08 Thread Cedric Muller

Again ??!?

Beno, you promised you would buy these books and study. And you  
promised to build bricks first before trying to build a skyscraper.


Cedric

I really feel like you are trying to build a ferrari without taking  
one automotive class. To understand the logic, you need to  
establish a firm foundation of understand as3. Then build your  
skill level on that. If you build a house without a good  
foundation, you are going to have issues during the building  
process. I think this is partially what you are experiencing now. I  
know this is a huge growing point for you, but you are only capable  
of doing what you know how to do and can apply it to your project.  
Build that house first bro.


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

-Original Message-
From: beno - 
Date: Mon, 7 Dec 2009 14:07:20
To: Flash Coders List
Subject: Re: [Flashcoders] Back On Course, Still Problems

Jason's suggestion of adding a trace to see if the class is even being
activated was excellent, thank you. No, it is not being activated.

I tried to comment out the mcHandInstance2 as per Mark's suggestion:

  public function init():void {
hatAndFace();
eyeball1();
eyeball2();
myRightHand();
//var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2)
mcHandInstance2.addFrameScript(20, myLeftHand)
//myLeftHand();
  }

but it threw this error:

TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/addChild()
at Main/init()
at main_fla::MainTimeline/frame1()

Mark informs me that I need to name these calls to mcHandInstance2  
different
things; however, I still am greatly struggling to understand the  
fundamental
logic of what I'm trying to build. Can you help me understand how  
these
various elements work together so that I can properly name them? I,  
like

you, doubt seriously that I want them all to be the same name.

I'm sure Michael's suggestion was as good as Jason's, but obviously  
there
was no point for it, at least at this juncture, because the class  
is not

being activated.

If you all care to, please suggest google kw for me to research,  
but please
not the general educational information, of which I have studied  
some and
continue to study more. The learning curve is long and steep, par  
for the
course in programming, but frankly (and this is not a complaint!)  
apparently

longer and steeper than the norm with AS3.
TIA,
beno

package
{
 import flash.events.Event;
 import flash.events.MouseEvent;
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Main extends MovieClip
  {
  public var mcHandInstance2:mcHand;
  public function Main():void
{
  }
  public function init():void {
hatAndFace();
eyeball1();
eyeball2();
myRightHand();
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2)
mcHandInstance2.addFrameScript(20, myLeftHand)
//myLeftHand();
  }
  public function hatAndFace():void
{
TweenPlugin.activate([AutoAlphaPlugin]);
var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
addChild(mcHatAndFaceInstance);
mcHatAndFaceInstance.x = 350;
mcHatAndFaceInstance.y = 100;
mcHatAndFaceInstance.alpha = 0;
TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
  }
  public function eyeball1():void
{
var mcEyeballInstance1:mcEyeball = new mcEyeball();
addChild(mcEyeballInstance1);
mcEyeballInstance1.x = 380;
mcEyeballInstance1.y = 115;
mcEyeballInstance1.alpha = 0;
TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
  }
  public function eyeball2():void
{
var mcEyeballInstance2:mcEyeball = new mcEyeball();
addChild(mcEyeballInstance2);
mcEyeballInstance2.x = 315;
mcEyeballInstance2.y = 115;
mcEyeballInstance2.alpha = 0;
TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
  }
  public function myRightHand():void
{
var mcHandInstance1:mcHand = new mcHand();
addChild(mcHandInstance1);
mcHandInstance1.x = 400;
mcHandInstance1.y = 200;
  }
/*
  public function set totalProgress(value:Number):void
{
myLeftHand.value = 1;
  }
*/
//  private function myLeftHand():void
  private function myLeftHand(e:Event=null):void
{
if (e.target.currentFrame == 10) { trace("yes") };
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2);
mcHandInstance2.x = 800;
mcHandInstance2.y = 200;
//if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2,
{x:200, startAt:{totalProgress:1}}).reverse();
  }
 }
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://cha

Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-02 Thread Cedric Muller

but it isn't a MovieClip, is it ?
A MovieClip can contain a (or multiple) Bitmaps, but a Bitmap cannot  
contain a MovieClip, so are these really the same ?
and if you take lots of them: lots of Bitmaps are better than lots of  
MovieClips.
... or you can convert a MovieClip to Bitmap, but the opposite would  
be quite hard.


But I may be caught in a landslide, and I don't know where I'll  
end  I answer without knowing what the inital question was. Pun me!



Craig Bowman wrote:
It's NOT a bug. A bitmap can't be assigned the attributes you want  
directly

and never has. It must be wrapped inside a symbol, like a MovieClip.


Not true, there is a fully working Bitmap symbol type just for this.


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


Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Cedric Muller



hth,
Cedric


What is the Flex equivalent of this mailing list?

--
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Infinite Loops

2009-11-18 Thread Cedric Muller
that's the problem. I suspect external calls, all one line after the  
other, in the timeline, and maybe the timeline's playhead gets over  
this code every frame ?


main.hatAndFace();
main.eyeball1();
main.eyeball1();
main.rightHand();
...

beno, could you try:

public function init():void {
hatAndFace();
eyeball1();
eyeball2();
rightHand();
leftHand();
}

then, in your FLA main timeline:


var main:Main = new Main();
addChild(main);
main.init();

stop(); //	this stops the timeline playhead, just to be sure it won't  
loop over 2 frames



hth,
Cedric



stop(); just stops the playhead of a timeline in a movieclip, you are
tweening with code, two completely different things.

where is the code that calls the functions in this class?


2009/11/18 beno - 


Hi;
I have the following code. All the functions go in infinite loops  
*except*
the first one, which is strange to me, since both it (hatAndFace,  
and both
eyeball1 and eyeball2) all use the same greensock codes, yet the  
latter two
repeat ad infinitum the alpha tween. Why is this? How do I control  
it such
that it only plays once? I thought putting a "stop();" at the end  
would do

the trick, but no :(
TIA.
beno

package
{
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Main extends MovieClip
 {
 public function Main():void
   {
 }
 public function hatAndFace():void
   {
   var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
   TweenPlugin.activate([AutoAlphaPlugin]);
   addChild(mcHatAndFaceInstance);
   mcHatAndFaceInstance.x = 350;
   mcHatAndFaceInstance.y = 100;
   mcHatAndFaceInstance.alpha = 0;
   TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
 }
 public function eyeball1():void
   {
   var mcEyeballInstance1:mcEyeball = new mcEyeball();
   TweenPlugin.activate([AutoAlphaPlugin]);
   addChild(mcEyeballInstance1);
   mcEyeballInstance1.x = 380;
   mcEyeballInstance1.y = 115;
   mcEyeballInstance1.alpha = 0;
   TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
 }
 public function eyeball2():void
   {
   var mcEyeballInstance2:mcEyeball = new mcEyeball();
   TweenPlugin.activate([AutoAlphaPlugin]);
   addChild(mcEyeballInstance2);
   mcEyeballInstance2.x = 315;
   mcEyeballInstance2.y = 115;
   mcEyeballInstance2.alpha = 0;
   TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
 }
 public function rightHand():void
   {
   var mcHandInstance1:mcHand = new mcHand();
   addChild(mcHandInstance1);
   mcHandInstance1.x = 400;
   mcHandInstance1.y = 200;
 }
 public function leftHand():void
   {
   var mcHandInstance2:mcHand = new mcHand();
   addChild(mcHandInstance2);
   mcHandInstance2.x = 800;
   mcHandInstance2.y = 200;
 }
 }
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Cedric Muller

The cool thing is the future :)

Adobe wants to correct this bias; Flash Builder will happen, and the  
distinction between Flex Builder and Flex framework will melt. There  
we will be happy and everything :)


The IDE is about to get all dressed up for a sexy evening ;)

Now, if one could, he/she can reinvent its wheel, developping his/her  
own framework, handling data processes and liquid layouts and more  
all with Flash, that's not a problem.


The current really nice thing about the flex framework is how simple  
it is to build up something **quickly**; the current downside of the  
flex framework is that some people do not know that everything under  
it is a Flash Player thing.

Next, people won't even know how to build their own buttons :(
(the last paragraph is optional and not intended to pun anyone)

As Paul says, the crucial part is to know when to use the Flex  
Framework, because as all frameworks, it *can* have its downside.
Anyways, the easier way to build up applications is to use Flex  
Builder and Flex Framework. But we all know that good Flex  
applications are all customized and built upon strong knowledge of  
Flash.


Cedric


Henrik Andersson wrote:

Paul Andrews wrote:

Stuff


Allow me to summarize your post:

You think that Flash is good for graphical projects, such as  
animations. You also think that Flex builder is better for  
creating software.

You like the Flex components and how they are data driven.
You acknowledge that Flex projects end up larger, due to having  
more code doing stuff instead of the authoring tool.


My opinion:
I think that Flash is better for anything that isn't strictly code  
only, and that is more or less all projects, since it's quite  
boring to design graphics using code.
I would disagree with that statement since it implies that Flex  
doesn't support IDE based graphical design - which it does - but  
only for components and not general design work. Your statement  
also forgets the tedium of building complex layout management of  
the kind that comes with Flex.
The upcoming code completion in Flash CS 5 seems to take care of  
most coding needs in my opinion. It's not going to give you any  
fancy class feature listing panels or profilers, but those are  
rarely needed.
I would say I can't really comment on CS5, but it seems to be a  
catchup game with Flex and coding support. A lot of developers  
would strongly disagree with the idea that class documentation  
support or profiling is rarely needed - it's more a question of  
project scale and coding emphasis perhaps.


If I had to chose what to use, I would use Flash, because I want  
to use the full swf format. I do not think that Flex alone can do  
that.
Anything that the swf format supports can be achieved using Flex  
(albeit via actionscript, than perhaps IDE support).


I'm not knocking Flash - it's far better for many tasks than Flex  
and vice-versa.


Paul


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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Cedric Muller

Hi,

My answer is one of those very general and informative answers,  
please pardon me for that.


All in all, Flex / Flash Builder is just  Flash platform ...  
which is just  Flash.
Flash is Flash. The florense site could have been done with Flex.  
Actually you can use Flex Builder to build a 100% actionscript  
project involving NONE of the flex framework / components.
Flex / Flash Builder is just a nice IDE, truely dedicated towards  
application development.


I am answering to your question with the one I asked to Gringo's  
( co founder: "Do you happen to use Flex in  
the websites/applications you produce ?"

Answer: "Yes, almost always."

From that answer I started wondering what Flex was :) Now I am  
building custom components for Flex specialists :) Actually it is  
quite amazing how far you can consolidate what you learnt with Flash.  
Moreover if you are being able to develop sites like florense.com you  
will be able to do great things with Flex, and definitely replicate  
what you did in Flash with some time gain, if you are being proficient.



Another question could be: why does the client want Flex ? (because  
SEO is not an answer, it can be done with a 100% pure AS project  
compiled with Flash IDE).



hth,
Cedric


I know this isn't actually an Adobe Flex / Adobe Flash Builder list
(actually, if you know a good one, forward me), but today a client  
sent a

briefing asking the website to be done in Adobe Flex.

Once it will need CEO and it isn't for small audiences, we plan to  
deny it,

but then I got the doubt: Are there good websites made in flex?

Here is a link of a website made for us using flash technology, and  
it's

what we would like to do: http://www.florense.com

Thanks in advance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Baby Step #2

2009-11-18 Thread Cedric Muller

otherwise (if you haven't) you should buy a  serious book ;)



You know, I just moved back from a 3rd world country (the Dominican
Republic) where I went broke (it was wonderful). I learned to  
survive on
very little in the process. And I ain't changing those habits. I  
don't buy

nuttin unless I absolutely have to :))
beno


:) Ok, and now for something completely different: you have to, you  
absolutely have to buy a book, one that is called ActionScript 3.0  
Essentials by Colin Moock.


I survive on low processes too :) but I must admit that AS3 is none  
of the beautiful things out there, ie: it isn't Nature :) Buy the  
book, read it carefully, and then you will still be able to say you  
have 'survived on very little in the process'. A book, is just a book.


I am really trying to motivate you to buy this book, that's a futile  
thing. It is best when a book answers your questions, because the  
list is cool but goes broke too sometimes (nah, that isn't true).


So, will you please buy this book ? :P


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


Re: [Flashcoders] Baby Step #2

2009-11-17 Thread Cedric Muller

to be honest ... I don't know :(

- senocular is key for me: it is not long and so informative ...
- the Adobe documentation is hard at first glance, but it prooves  
itself to be very useful. The hardest part is to first take time to  
read 200-300 pages from the base doc' ...


otherwise (if you haven't) you should buy a  serious book ;)

First recommendation (if you are absoluetly new)
<http://books.google.com/books?id=Qlia0Bq-ZmoC>
Second recommendation (if you are somewhat ok with AS2 and need a  
clean transition process)

<http://books.google.com/books?id=gUHX2fcLKxYC>

All in all, you should take time to logically build your code in your  
mind, or on a piece of paper (and be explicit).
Do some kind of a checklist for each process (like your previous  
error where you have forgotten to check if the class symbol was  
linked), and build bricks, step by step.


hth,
Cedric

On Tue, Nov 17, 2009 at 12:13 PM, Cedric Muller  
 wrote:


this looks like you have not set the linkage in your symbol  
properties
panel, have you ? (ie: is 'mcHand' really defined somewhere ?  
somehow ?)




That was it <:-)
I'm currently studying the Adobe online docs...really good stuff :)  
I don't
know if they have it, but neither senocular or flashandmath had any  
decent

documentation on classes/packages. Can you recommend a good source?
TIA,
beno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Baby Step #2

2009-11-17 Thread Cedric Muller
this looks like you have not set the linkage in your symbol  
properties panel, have you ? (ie: is 'mcHand' really defined  
somewhere ? somehow ?)


hth,
Cedric

On Tue, Nov 17, 2009 at 11:41 AM, Cedric Muller  
 wrote:



who's the Instance who's the Class symbol ?

mcHand <--- Class symbol
mcHandInstance <--- instance

when you want to change x and y on **any** instance, who do you  
target ?

the Class or the instance ?



I apologize for my sloppiness. Here's the new code:

  public function another():void
{
var mcHandInstance:mcHand = new mcHand();
addChild(mcHandInstance);
mcHandInstance.x = 400;
mcHandInstance.y = 400;
  }

However, it still throws this error:

1046: Type was not found or was not a compile-time constant
TIA,
beno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Baby Step #2

2009-11-17 Thread Cedric Muller

who's the Instance who's the Class symbol ?

mcHand <--- Class symbol
mcHandInstance <--- instance

when you want to change x and y on **any** instance, who do you  
target ? the Class or the instance ?


:)


var mcHandInstance:mcHand = new mcHand();
addChild(mcHandInstance);
mcHand.x = 400;
mcHand.y = 400;


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


Re: [Flashcoders] Problem with First Flash Movie

2009-11-17 Thread Cedric Muller

:)
Now, the best is to try out different ways to launch your application  
and truely understand the differences between Classes, methods,  
properties, symbols, etc ... :)
Moreover, now that you've got your Main class working, please read  
Adobe tutorials and senocular's excellent information, you will grab  
a lot from there.


<http://www.senocular.com/flash/tutorials/as3withflashcs3/>

hth,
Cedric

On Tue, Nov 17, 2009 at 8:36 AM, Cedric Muller  
 wrote:



1) Just open your FLA in Flash IDE
2) In the PUBLISH panel, you have a textfield input named  
"Class:" <---

this is the document class, just leave it blank
3) retest with the revised code



YAHOO



hth,



Ya, mon! Thanks!
beno


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


Re: [Flashcoders] Problem with First Flash Movie

2009-11-17 Thread Cedric Muller

1) Just open your FLA in Flash IDE
2) In the PUBLISH panel, you have a textfield input named "Class: 
" <--- this is the document class, just leave it blank

3) retest with the revised code

hth,
Cedric

On Tue, Nov 17, 2009 at 6:21 AM, Henrik Andersson  
wrote:



beno - wrote:


Error: Error #2136: The SWF file  contains invalid data at
Main/frame1()


The flash player does not like you creating a new instance of a  
class that

is the document class for a swf.



How is "public function:init():void;" creating a new instance of a  
class
that is the document class for a swf? Is init() defined as such a  
class?


Here is the revised code:

package
{
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Main extends MovieClip
   {
   public function Main():void
 {
 trace("Main class is initialized");
   }
  public function init():void
 {
   trace("Main.init is being called... let's see what happens  
now...");

 var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
 TweenPlugin.activate([AutoAlphaPlugin]);
 addChild(mcHatAndFaceInstance);
 mcHatAndFaceInstance.x = 100;
 mcHatAndFaceInstance.y = 100;
 mcHatAndFaceInstance.alpha = 0;
 TweenLite.to(mcHatAndFaceInstance, 1, {autoAlpha:1});
   }
 }
}
Here is the old code:

package
{
  import flash.display.MovieClip;
  import com.greensock.*;
  import com.greensock.plugins.*;
  import com.greensock.easing.*;
  public class Main extends MovieClip
{
public function Main():void
  {
  var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
  TweenPlugin.activate([AutoAlphaPlugin]);
  var mcHatAndFace = new MovieClip();
  this.addChild(mcHatAndFace);
  mcHatAndFace.x = 100;
  mcHatAndFace.y = 100;
  mcHatAndFace.alpha = 0;
  TweenLite.to(mcHatAndFace, 1, {autoAlpha:1}); // 2nd param in  
seconds;

3rd in % alpha
  var main:Main = new Main();
  addChild(main);
  main.mcHatAndFace();
}
  }
}

Please advise.
beno



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


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


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


Re: [Flashcoders] Problem with First Flash Movie

2009-11-17 Thread Cedric Muller

Hi,

Could you try the following ? (you were doing addChild on  
'mcHatAndFace' class, but I know you want the instance to be added to  
the display list, not its class)


Main.as:

package
{
  import flash.display.MovieClip;
  import com.greensock.*;
  import com.greensock.plugins.*;
  import com.greensock.easing.*;
  public class Main extends MovieClip
{
public function Main():void
  {
  trace("Main class is initialized");
}

   public function init():void
  {
trace("Main.init is being called... let's see what happens now...");
  var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
  TweenPlugin.activate([AutoAlphaPlugin]);
  addChild(mcHatAndFaceInstance);
  mcHatAndFaceInstance.x = 100;
  mcHatAndFaceInstance.y = 100;
  mcHatAndFaceInstance.alpha = 0;
  TweenLite.to(mcHatAndFaceInstance, 1, {autoAlpha:1});
}
  }
}

now, somewhere in your FLA (where you have the mcHatAndFace symbol),  
just for testing purposes:


1) remove all the code (document class, or timeline code)
2) add the following on frame 1

var main:Main = new Main();
addChild(main);
main.init();

hth,
Cedric



package
{
  import flash.display.MovieClip;
  import com.greensock.*;
  import com.greensock.plugins.*;
  import com.greensock.easing.*;
  public class Main extends MovieClip
{
public function Main():void
  {
  var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
  TweenPlugin.activate([AutoAlphaPlugin]);
  var mcHatAndFace = new MovieClip();
  this.addChild(mcHatAndFace);
  mcHatAndFace.x = 100;
  mcHatAndFace.y = 100;
  mcHatAndFace.alpha = 0;
  TweenLite.to(mcHatAndFace, 1, {autoAlpha:1}); // 2nd param in  
seconds;

3rd in % alpha
  var main:Main = new Main();
  addChild(main);
  main.mcHatAndFace();
}
  }
}


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


Re: [Flashcoders] Problem with First Flash Movie

2009-11-16 Thread Cedric Muller

Hi Beno,

I think you are close ... but far :S, but close :)

public class Main extends MovieClip  <--- this is your class declaration

public function Main ():void <--- this is your class's constructor  
(first thing being called when you do a 'var main:Main = new Main()'


class mcHatAndFace <-- this is not a class, it is just a method of  
your Main's class, hence you should write it:


public function mcHatAndFace ():void {
// your code goes here...
}

and then you can call this method by simply:

var main:Main = new Main();
addChild(main);		<-- you have to add it to the scene since it is an  
extended MovieClip

main.mcHatAndFace();


Here is a very nice tutorial on getting started with AS3.


All in all (and more),  is a top quality  
site when it comes to understanding ActionScript and Flash Player.



Hth,
Cedric


package
{
  import flash.display.MovieClip;
  import com.greensock.*;
  import com.greensock.plugins.*;
  import com.greensock.easing.*;
  public class Main extends MovieClip
{
  public function Main():void
  {
}
  }
  class mcHatAndFace extends Main
{
  TweenPlugin.activate([AutoAlphaPlugin]);
  var mcHatAndFace = new MovieClip();
  this.addChild(mcHatAndFace);
  mcHatAndFace.x = 100;
  mcHatAndFace.y = 100;
  mcHatAndFace.alpha = 0;
  TweenLite.to(mcHatAndFace, 1, {autoAlpha:1}); // 2nd param in  
seconds;

3rd in % alpha
  }
}


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


Re: [Flashcoders] RE: Pricing a Freelance Project

2009-10-12 Thread Cedric Muller
I heared you could take your estimate and multiply it by Math.PI:  
that's the correct estimate.


estimates of the amount of work needed are almost always off by  
a factor of


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


Re: [Flashcoders] as3 to iphone app

2009-10-08 Thread Cedric Muller
But if the Adobe 'AS3 to iPhone' developpers (the ones working on the  
Objective-C code generator) do their work correctly, there is little  
room for an AS3 developper to fill in.
I mean, in the end, it is about optimization; this will make the  
difference. If optimization is fine, then this whole thing looks very  
promising. Of course, this won't be the same than actually knowing  
Objective-C and developing on a per need basis, with a clear  
understanding of the iPhone SDK.


The Pandora's Box is open!! :)


I would take those 4 books and get to know them inside and out. While
compiling AS3 to iPhone app is neat, there is no substitute for  
knowing how
to make an iPhone app with access to all of the APIs natively.  
Learning

Objective-C is quite useful and will help round out your toolset.
If you want to *really* make iPhone apps, use Xcode and the SDK. If  
you just

want to get some stuff up on the store quickly, use CS5 I guess.

Just my opinion.

On Thu, Oct 8, 2009 at 4:16 AM, allandt bik-elliott  
(thefieldcomic.com) <

alla...@gmail.com> wrote:


/sign
makes the 4 books on iphone development i bought a bit of a non- 
starter - i
wonder if you can edit the iphone project once it's done and how  
they're
dealing with multitouch / accelerometer data (or is that already  
built in

to
FP10.1?)

On Thu, Oct 8, 2009 at 7:15 AM, Anthony Pace  

wrote:



I will totally be buying Flash professional CS5

http://labs.adobe.com/wiki/index.php/Applications_for_iPhone

Compiling for the iphone will work on windows systems too, and  
still be

able to published on the app store.


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


Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Cedric Muller

?

Sockets (not in AIR) are fine by me. I am surely missing the obvious  
here, but sending a 100k data to my socket in Flash works like a charm.


Regarding your trace output, it seems the socket fails at the second  
packet, like it is loosing it is progress


what if you do trace(event.target.readUTFBytes 
(event.target.bytesAvailable));


?

hth timnh,

Cedric

I feel your pain, wish I could help, have similar issues with the  
socket being unreliable...


Maybe we need another "Adobe Make Some..." site/campaign.

"Adobe Make Some {OptionalExpletive[0]} Fixes to the  
{OptionalExpletive[1]} socket, {OptionalExpletive[2]}!"


or similar.  I will put a badge on my site :)

Steven Sacks wrote:
I'm having major issues with the Socket class in AIR right now.   
All the
searches I have made result in people who have asked "Why is this  
happening?"

and NOBODY has answered any of their questions.

Socket progress events stop firing if "too much" data is coming  
across the socket, and apparently, what counts as too much data is  
very very small.


I'm trying to send 14,522 bytes across the socket to Flash and  
Flash simply stops accepting data after 2 packets and occasionally  
reports 2-3 more progress events of the same size.  Like this:


986 / 14522
4380 / 14522
4380 / 14522
4380 / 14522
4380 / 14522

I'm stripping data off the Socket as it comes in and putting it  
into a ByteArray buffer, so the data isn't just sitting on the  
Socket.


protected function onData(event:ProgressEvent):void
{
socket.readBytes(bufferIn, 0, socket.bytesAvailable);
trace(bufferIn.bytesAvailable + " / " + header.length);
}

Wireshark clearly shows all the data is arriving on the socket,  
but Flash stops reporting all progress after a few packets.


If I drop the bytes per response down to 892, it works fine.  The  
next step up is 1037 and that breaks.  So, it's looking like 1024  
is the maximum size you can send to the Flash Socket before it  
breaks.


I'm at my wits end with this.  There's nothing but people  
complaining about this online and absolutely zero answers or  
solutions.


Oliver?  Anyone from Adobe?  Can somebody please shed some light  
on this issue that has basically halted our development?


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




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


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


Re: [Flashcoders] Arabic text loaded from database.

2009-08-19 Thread Cedric Muller

Hi Omar,

I did develop a dynamic arabic site using TextLayout Framework


It all went well.

hth,
Cedric


I'm creating an e-Library that consents users to read text from a  
pdf source
and display it into a dynamic TextField in Flash. But I am  
experiencing a

problem which is that RTL languages (in my case it is ARABIC) are not
displayed correctly. This is the famous Flash Problem since years I  
know,
but today I felt frustrated when I uploaded an Arabic written  
document to

scribd.com. iPaper just popped out and showed me the text wrapped and
correctly formatted. I thought that is an image of the page but the  
text is

perfectly selectable.

How that could be possible?

Cordially.

--
Omar M. Fouad - Adobe™ Flash© Platform Developer
www.omar-fouad.net
Cellular: (+20) 1011.88.534 / (+20) 1444.37.175


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be  
copied,

disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


Re: [Flashcoders] mac vs pc

2009-08-13 Thread Cedric Muller




I didn't say people who used it were retarded, I said the program was.


I am retarded, as I neither use FD nor FlexBuilder ;) 
___

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


Re: [Flashcoders] Package problem in Flex

2009-07-24 Thread Cedric Muller

Hello,

this should work:


package com.pearson.utils
{
public class PlaceItemsInSeries
{

public function PlaceItemsInSeries()
{
trace("Place Items in Series Class");
}

public function hello():void
{
trace("Hello");
}
}
}

You placed your 'Hello' function in the constructor ... it must be  
sitting on the same level than the constructor, not inside.


Moreover, it is best to name function with a lower cap: 'Hello'  
becomes 'hello' as it is only a public method of the  
PlaceItemsInSeries class.



Take care,
Cedric


package com.pearson.utils
{
public class PlaceItemsInSeries
{

public function PlaceItemsInSeries()
{

trace("Place Items in Series Class");

public function Hello():void
{
trace("Hello");
}
}
}
}


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


Re: [Flashcoders] weird whitespace issue

2009-07-06 Thread Cedric Muller

hello tom,

you mean the whitespace from the start of the paragraph ? isn't it  
some paragraph start margin ?


cheers
cedric


hey all,
just in the final stages of finishing a project and have come across
something i've not seen b4, which is a problem ;)

basically have a look here... www.sciop.it/news/articoli/108/

before the N there is some whitespace. using firebug i see that  
before the N
there is nothing whatsoever coming from the db via php, i have also  
tried
using a while loop to strip out leading spaces from the htmlText  
property of
the textfield in question. i think it has something to do with  
using an

 tag to get the text to flow around different sized images.

it doesn't happen all the time however, diffferent articles  
sometimes don't
have the problem, sometimes it's worse (www.sciop.it/news/articoli/ 
106/).


anyone know what's going on here?

thanks,

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


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


Re: [Flashcoders] franch Symbols not showing

2009-04-10 Thread Cedric Muller

Hello,

- from where does the data come (ie: are you loading a xml ?)
- are you using a custom font that could not have the desired  
characters ? (this happens sometimes with free fonts)


Cedric


I tryed to embed Latin and Auto Fill  but still those symbole not  
showing (*é

à) *

On Fri, Apr 10, 2009 at 2:09 PM, laurent   
wrote:



Bassam M a écrit :


 Hi everybody
I'm doing one project in French it's flash CD presentation  but i  
have

this
problem
Symbols like ë and é not showing in textfield I don't know what  
to do if
anyone know how to solve this problem please tell me I need to  
deliver the

project soon

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




you have to embed the latin characters. The minimum one is enough.  
If not

just add thos characters
L
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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



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


Re: [Flashcoders] Flash Text Engine

2009-02-17 Thread Cedric Muller

ok, ok, then I am totally offroads, once again  :D

sorry Glen :(


oops, I misread your question, sorry.

Regarding a TextLineFactory (ie: the "simple" text engine):

a) you can directly pass the paragraphFormat attributes to the  
'createTextLinesFromString'



b) you can pass the TextFlow instance if you create your text line  
from a textflow object (createTextLinesFromTextFlow)



- API docs:


And I'd like to recommend you to read this white paper (pdf)



It *seems* hard to grab, but when you read it everything gets  
clearer. Btw, I need to read it again :)



hth,
Cedric



Hello Glen,

Assuming you have a TextFlow instance called 'myTextFlow), you can  
tweak the paragraphFormat property:


var paragraphFormat = new ParagraphFormat 
(myTextFlow.paragraphFormat);
paragraphFormat.textAlign = "right"; // "left", "center",  
"justify", "start", "end" (start/end is useful for RTL + LTR multi  
language applications)

myTextFlow.paragraphFormat = paragraphFormat;
myTextFlow.flowComposer.updateAllContainers();

This applies the new paragraphFormat.align property to your whole  
textFlow object (ie: all the text).



hth,
Cedric



Hi,





   Quick question about the new text engine in Flash 10...

   I am using the "simple" text engine rather than the full on  
text layout framework, but can anyone tell me how I set the  
alignment of a TextElement / TextBlock / TextLine???


   Thanks..

   Glen


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


Re: [Flashcoders] Flash Text Engine

2009-02-17 Thread Cedric Muller

oops, I misread your question, sorry.

Regarding a TextLineFactory (ie: the "simple" text engine):

a) you can directly pass the paragraphFormat attributes to the  
'createTextLinesFromString'



b) you can pass the TextFlow instance if you create your text line  
from a textflow object (createTextLinesFromTextFlow)



- API docs:


And I'd like to recommend you to read this white paper (pdf)



It *seems* hard to grab, but when you read it everything gets  
clearer. Btw, I need to read it again :)



hth,
Cedric



Hello Glen,

Assuming you have a TextFlow instance called 'myTextFlow), you can  
tweak the paragraphFormat property:


var paragraphFormat = new ParagraphFormat(myTextFlow.paragraphFormat);
paragraphFormat.textAlign = "right"; // "left", "center",  
"justify", "start", "end" (start/end is useful for RTL + LTR multi  
language applications)

myTextFlow.paragraphFormat = paragraphFormat;
myTextFlow.flowComposer.updateAllContainers();

This applies the new paragraphFormat.align property to your whole  
textFlow object (ie: all the text).



hth,
Cedric



Hi,





   Quick question about the new text engine in Flash 10...

   I am using the "simple" text engine rather than the full on  
text layout framework, but can anyone tell me how I set the  
alignment of a TextElement / TextBlock / TextLine???


   Thanks..

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


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


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


Re: [Flashcoders] Flash Text Engine

2009-02-17 Thread Cedric Muller

Hello Glen,

Assuming you have a TextFlow instance called 'myTextFlow), you can  
tweak the paragraphFormat property:


var paragraphFormat = new ParagraphFormat(myTextFlow.paragraphFormat);
paragraphFormat.textAlign = "right"; // "left", "center", "justify",  
"start", "end" (start/end is useful for RTL + LTR multi language  
applications)

myTextFlow.paragraphFormat = paragraphFormat;
myTextFlow.flowComposer.updateAllContainers();

This applies the new paragraphFormat.align property to your whole  
textFlow object (ie: all the text).



hth,
Cedric



Hi,





   Quick question about the new text engine in Flash 10...

   I am using the "simple" text engine rather than the full on text  
layout framework, but can anyone tell me how I set the alignment of  
a TextElement / TextBlock / TextLine???


   Thanks..

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


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


Re: [Flashcoders] Flash White Screen of Death

2009-01-02 Thread Cedric Muller
Hello, yes the JAVA_TOOLS_OPTIONS seems to work when setting its  
value to 128 or 256. If I understand well, Flash was using a 64M value.


Actually, I thank all of you.
I will give a try with the Flex aspect of compiling (since the bug is  
tied to the Flash IDE JVM), and I read yesterday evening on Jobe  
Makar's blog that the CS4 update (but nothing for CS3) resolves that  
specific issue.


You can't picture how devastated I was on the 31st at 9pm. it smelt  
like I had lost the last 7 years of experience, my framework was  
failing silently in Flash. Wow! I mean: WOW!


Note to Adobe:
Hey, Adobe, one thing is for sure, if you put 'Professional' in the  
software's name and write thousands of lines about how cool RIAs are,  
please, please, let your killer app handle such amount of classes, or  
at least, display some Error/Warning :)
I can't imagine that no one ever did some tests with fair big amounts  
of code :D I can't imagine


At least, this proves that no one uses Flash to build RIA, or big  
applications ;)


Cedric


Hey Cedric,

The Java tools option worked for me..
When i tried the higher mem amounts, it didn't work though..
I had to use -Xmx128M or -Xmx256M  .. otherwise flash would  
complain that it needed a reinstall.


See the coments at: http://www.negush.net/blog/5005-unknown-error- 
optimizing-byte-code/


Goodluck!

----- Original Message - From: "Cedric Muller"  


To: "Flash Coders List" 
Sent: Thursday, January 01, 2009 4:39 PM
Subject: [Flashcoders] Flash White Screen of Death



Hello,

I am facing one of these White screens, and I must admin I am  
quite  lost. The project has more than 100 classes, and works fine  
if I  comment some of the 'imports'.
The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do?  
externalId=kb405257&sliceId=1> are ridiculous. SWC ? I cannot,  
won't.  Loading in ? Man, this is something I would prefer not be  
doing on  such project.
I tried setting the JAVA_TOOLS_OPTIONS environment variable, but  
I  don't know if this was setup correctly, as setting 512MB does  
not  solve the problem.
The latest, and most optimistic solution i have is to use the ASC  
compiler instead of Flash IDE. It seems the problem would go away.


Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only  
document class in it, with a few symbol exports) with ASC ?


if anyone has any info  I would be more than thankful

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

__ NOD32 3731 (20090101) Informatie __

Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem.
http://www.nod32.nl



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


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


Re: [Flashcoders] Flash White Screen of Death

2009-01-02 Thread Cedric Muller

Hello Juan!

Thanks a lot for this very clear explanation. I will give it a global  
try.


Cedric


Maybe you've already tried this or maybe it won't work for you easily
(without making many changes), but if the problem is that the IDE  
can't
handle 100 or more classes, you could try a different approach. Let  
the
Flash IDE just compile the graphic part (movieclips, sprites, etc,  
etc) and

use the Flex SDK to compile the classes and build the swf.

I think you could remove the document class from your .fla  
(assuming this is
the "main point" that includes references to other classes, which  
in turn

include references to other clasess and so on). That way, you won't be
forcing the IDE to compile so many classes.

Use the .fla to generate a .swc. It will export all "linked"  
symbols, so
you'll still be able to reference them from Flex Builder,  
FlashDeveloper or

any other IDE that can use the Flex SDK to compile.

In your IDE of choice, create a pure AS 3 project, add the swc to your
project and replace the Main class that is likely to be created
automatically for you when you set the ne project (at least in  
FlashDevelop)
with you current Document Class. If in that class you have  
references to
symbols created on the timeline, you'll have to export those as  
well and add
them by code. Or, maybe you could put all the stuff in the root  
timeline in

a new symbol and just export that one.

Then, try to build the project from FD or FB (I don't know if you  
have used

FD or FB, but if you don't, I'd recommend using FD, if you're running
windows; it's free and it works out of the box; you only have to  
configure

the path to the Flex SDK and that's almost it).

Hope this helps.

Cheers
Juan Pablo Califano




2009/1/1, Cedric Muller :


Hello,

I am facing one of these White screens, and I must admin I am  
quite lost.
The project has more than 100 classes, and works fine if I comment  
some of

the 'imports'.
The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do? 
externalId=kb405257&sliceId=1> are
ridiculous. SWC ? I cannot, won't. Loading in ? Man, this is  
something I

would prefer not be doing on such project.
I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I  
don't

know if this was setup correctly, as setting 512MB does not solve the
problem.
The latest, and most optimistic solution i have is to use the ASC  
compiler

instead of Flash IDE. It seems the problem would go away.

Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only  
document

class in it, with a few symbol exports) with ASC ?

if anyone has any info  I would be more than thankful

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


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


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


[Flashcoders] Flash White Screen of Death

2009-01-01 Thread Cedric Muller

Hello,

I am facing one of these White screens, and I must admin I am quite  
lost. The project has more than 100 classes, and works fine if I  
comment some of the 'imports'.
The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do? 
externalId=kb405257&sliceId=1> are ridiculous. SWC ? I cannot, won't.  
Loading in ? Man, this is something I would prefer not be doing on  
such project.
I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I  
don't know if this was setup correctly, as setting 512MB does not  
solve the problem.
The latest, and most optimistic solution i have is to use the ASC  
compiler instead of Flash IDE. It seems the problem would go away.


Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only  
document class in it, with a few symbol exports) with ASC ?


if anyone has any info  I would be more than thankful

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


Re: [Flashcoders] Join me on Bebo

2008-12-31 Thread Cedric Muller

now it's time for some antisocial action ;)

Who cares? There are already too many social media networks. You  
can join

all of them!


On Wed, Dec 31, 2008 at 12:23 AM, Matthew Muller  
wrote:



It's for human beings and some clever chimps dude, oh and maybe web
developers researching social networking sites.

Sent from my iPhone


On 30 Dec 2008, at 22:47, "Paul Andrews"  wrote:

 According to my kids it's for children..


- Original Message - From: "Scott Janousek" <
sc...@scottjanousek.com>
To: "Flash Coders List" 
Sent: Tuesday, December 30, 2008 8:29 PM
Subject: Re: [Flashcoders] Join me on Bebo


 bebo must be "crapp-o" with invites. ;)


-sj

Matthew Muller wrote:


Sorry stupid thing emailed everyone in my address book

Sent from my iPhone

On 30 Dec 2008, at 17:40, "Dave Watts"  wrote:










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


Re: [Flashcoders] Re: a historical question ...

2008-12-31 Thread Cedric Muller
hmmm, vines, okaaaye, for me this always was / is / will be Grand  
Skinner :)

The Vineyard is in Grant's Garden :D

#just a try, just a try#

Cedric


I don't think it was Moock.

It was probably Joshua Davis - http://ps3.praystation.com/pound/v2/  
or this

guy - http://levitated.net/.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] RESUME: Senior Flash/Flex Developer - NJ/NJ/CT

2008-12-26 Thread Cedric Muller

For Capital Markets Placement ? :D :D
Sorry, but thanks for all the jokes ;)

That was a cool christmas present, again thanks


I'm assisting a Senior Flash/Flex Developer locate a full time  
position
in the tri-state area (NY/NJ/CT).  He has been working in Flash  
since it

first came out and has a strong background in front-end and back-end
development.

His primary skills are as follows: ASP, PHP, JavaScript,  
ActionScript 2

(AS2), ActionScript 3 (AS3), Flash, Flex, AJAX, XML, CSS, HTML, Visual
Basic (VB), SOAP, Web Services, RDBMS, AMFPHP.

A full MS-Word resume is available on request.

Thank you and happy holidays.

Beau Gould
Executive Advisor
Capital Markets Placement


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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-11 Thread Cedric Muller

Should be ok with FP10 TextLayout

I am off for some arabic UTF-8 xml tests this week-end. I will let  
you know what I come up with.


Cedric

Yes, I would've thought that when using UTF-8 it would go just  
fine? It's good to know. What about Flash 10 new text engine?

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


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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-05 Thread Cedric Muller
I am insisting ,because I had to do some tests for a client that  
wanted to have an arabic version of his company website.
I did tests with simple XML, UTF-8 encoded, and Arabic sentences in  
CDATA tags.
I have copy / pasted arabic from an internet page the client  
provided, saved the XML, loaded it in Flash, and displayed the text  
to a textfield. The client read the example and said everything was  
fine
When I first read your post, I had some chills, and still have  
them :) I would be pleased that this process is as easy as I tested  
it ... otherwise I am up to some big problems ahead.


FYI: Right now, I did copy/paste some text from another website into  
an open XML document and I can see it correctly (ie: the same as it  
is showing in the webpage).


I am on Mac OS 10.4, using XCode and Flash CS3



and maybe here
<http://board.flashkit.com/board/showthread.php?t=768105>

:S


Hello again,

You mean having a XML file saved (and encoded) as UTF-8 does not  
handle it ?

Isn't UTF-8 intended for such ?
(and what if you put the Arabic parts in CDATA tags) ?

maybe this could help
<http://www.jeroenwijering.com/?thread=9074>
(the streamBabie comment)

hth,
Cedric


@Cedric

I did see that. The problem with that is it's not XML. When I try  
to wrap any of the translations in tags, the words shift order.  
It has to have something to do with mixing Eastern and Western  
characters. I think it's tied to the alignment. Since Arabic is  
right justified, it displays properly when those are the only  
characters in the document. As soon as you introduce a Western  
character, it must automatically switch the justification and by  
doing so it flips the order of the Eastern words.



On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:


:(

Did you see this post ?
<http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36>

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need  
to show the client.


PS I haven't taken hallucinogens in quite sometime so I'm  
ruling out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text,  
and then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to  
send them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split("").reverse 
().join("");


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying  
properly in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in  
the XML
file, but when it actually gets to the screen, is it still  
flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
<[EMAIL PROTECTED]> wrote:
OK... I think I've reached the end of the internet as well  
as the end of my

patients.

I've been trying to figure out a way to take translations  
that I've received
in an Excel spreadsheet and paste them into an XML  
document. The XML is
UTF-8 and it's plain text (of course). No matter what  
editor (Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or  
OS (OSX 10.4,
Windows XP) or combination of the two, it seems that when I  
try to combine
the eastern translation with western markup (XML tags, or  
even western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful  
down a path of
ultimate disappointment. I know that I'm not the only one  
with this problem
and I'm sure one of you has experienced this. Please let me  
in on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've  
got that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text  
fields). this list is
probably not the proper place for this question, but I'm  
out of options and
I thinking that I'm going to have to scrap some of the  
digging I've done 

Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-05 Thread Cedric Muller

and maybe here
<http://board.flashkit.com/board/showthread.php?t=768105>

:S


Hello again,

You mean having a XML file saved (and encoded) as UTF-8 does not  
handle it ?

Isn't UTF-8 intended for such ?
(and what if you put the Arabic parts in CDATA tags) ?

maybe this could help
<http://www.jeroenwijering.com/?thread=9074>
(the streamBabie comment)

hth,
Cedric


@Cedric

I did see that. The problem with that is it's not XML. When I try  
to wrap any of the translations in tags, the words shift order. It  
has to have something to do with mixing Eastern and Western  
characters. I think it's tied to the alignment. Since Arabic is  
right justified, it displays properly when those are the only  
characters in the document. As soon as you introduce a Western  
character, it must automatically switch the justification and by  
doing so it flips the order of the Eastern words.



On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:


:(

Did you see this post ?
<http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36>

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need  
to show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling  
out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text,  
and then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to  
send them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split("").reverse 
().join("");


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying  
properly in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in  
the XML
file, but when it actually gets to the screen, is it still  
flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
<[EMAIL PROTECTED]> wrote:
OK... I think I've reached the end of the internet as well  
as the end of my

patients.

I've been trying to figure out a way to take translations  
that I've received
in an Excel spreadsheet and paste them into an XML document.  
The XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or  
OS (OSX 10.4,
Windows XP) or combination of the two, it seems that when I  
try to combine
the eastern translation with western markup (XML tags, or  
even western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down  
a path of
ultimate disappointment. I know that I'm not the only one  
with this problem
and I'm sure one of you has experienced this. Please let me  
in on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text  
fields). this list is
probably not the proper place for this question, but I'm out  
of options and
I thinking that I'm going to have to scrap some of the  
digging I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!






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



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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-05 Thread Cedric Muller

Hello again,

You mean having a XML file saved (and encoded) as UTF-8 does not  
handle it ?

Isn't UTF-8 intended for such ?
(and what if you put the Arabic parts in CDATA tags) ?

maybe this could help
<http://www.jeroenwijering.com/?thread=9074>
(the streamBabie comment)

hth,
Cedric


@Cedric

I did see that. The problem with that is it's not XML. When I try  
to wrap any of the translations in tags, the words shift order. It  
has to have something to do with mixing Eastern and Western  
characters. I think it's tied to the alignment. Since Arabic is  
right justified, it displays properly when those are the only  
characters in the document. As soon as you introduce a Western  
character, it must automatically switch the justification and by  
doing so it flips the order of the Eastern words.



On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:


:(

Did you see this post ?
<http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36>

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need  
to show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling  
out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text,  
and then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to  
send them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split("").reverse 
().join("");


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying  
properly in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the  
XML
file, but when it actually gets to the screen, is it still  
flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
<[EMAIL PROTECTED]> wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations  
that I've received
in an Excel spreadsheet and paste them into an XML document.  
The XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or  
OS (OSX 10.4,
Windows XP) or combination of the two, it seems that when I  
try to combine
the eastern translation with western markup (XML tags, or  
even western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down  
a path of
ultimate disappointment. I know that I'm not the only one  
with this problem
and I'm sure one of you has experienced this. Please let me  
in on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text  
fields). this list is
probably not the proper place for this question, but I'm out  
of options and
I thinking that I'm going to have to scrap some of the  
digging I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!






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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Cedric Muller

:(

Did you see this post ?
<http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36>

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need to  
show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling  
out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text, and  
then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to send  
them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split("").reverse().join 
("");


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly  
in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
<[EMAIL PROTECTED]> wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document.  
The XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try  
to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in  
on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!





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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Cedric Muller
OT but could you open the XLS and take a snapshot of the text, and  
then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another document  
(like word, txt, xml) and take snapshots in order to send them to  
your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split("").reverse().join("");

 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly  
in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather  
than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
<[EMAIL PROTECTED]> wrote:
OK... I think I've reached the end of the internet as well as the  
end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document. The  
XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try  
to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in on  
you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got that  
all sorted
out), and for the most part it's not really Flash related (except  
for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make alterations  
to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!


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


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



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


Re: [Flashcoders] Flex vs. Flash

2008-11-21 Thread Cedric Muller

I never spoke about 'cool' sites ;)
I agree we cannot compare applications and event/marketing sites, or  
even experimental sites.
As a precision, I view EcoDaZoo as the best flash site ever made  
(MHO). First, because of the way it communicates, and then because of  
its technicity (inhouse 3D engine, inhouse Tweening engine) AND  
simplicity. I saw some slick Flex Apps like Picnik and thought that's  
very slick and 'to the point'.
What I love here ? It is all based on the foundations of what we used  
to call 'Flash'.


Of course, for applications, Flex is better. But yet, I must say my  
team did develop a digital signage application completely built from  
scratch (no code reuse, whatever part) in Flash. There is a 'Player'  
and an 'Editor'. Both are very tough and let the users have freedom.  
So, all in all, I know I had to build up my own components, framework  
and UI zings. No doubt I could do it with Flex. I know I reinvented  
the wheel here, but I know all in all, with my specific needs, I  
don't have lost much time in the process of programming. The thing is  
I did all the flash part (design + code)...


As a side and 'funny' note, I was contacted by a photographers team 3  
months ago for building a Flash Gallery (quite advanced I must  
admit). I was in 'competition' with a Flex Agency. Funnily enough,  
they were 5 people working on the Flex side, I was 1 for the Flash part.
Their budget was 6 times higher than mine, and their proposal was  
very 'conventional' (ie: using Flex components, some custom made, but  
overall UI would stick to what we know of Flex).
I got the job, built some slick application, and thought, in the end,  
I had some 'chance' :)


True conclusion: there is no way comparing Flash and Flex :P
People working in teams and wanting to live honestly and that are not  
ready to imply their *lives* in the process should opt for FLEX. end  
point :)


Cedric


Sure - I mean again, it just comes down to what KIND of sites you  
are comparing - a cool site RIA could be equally cool as a cool 3D  
Flash site like EcoDaZoo (which was done with Papervision3d by the  
way, and could have been done in Flex - if there was a need for the  
Flex framework) - but comparing one site with another for  
"coolness" is really subjective, it's like comparing apples and  
oranges.  If a site dynamically allows product selection  
interactions with effects was seen as "cool" - and a site like  
EcoDaZoo was done with Flash + Papervision and is thought of as  
"cool", well, which one is "cooler"?  You can't do the comparision  
because they are completely different types of sites.


Yes, for sites that have a lot of UI "zing" - animations and  
effects, and really wild transitions and layouts, well, Flex would  
not be the best choice.  That's why you have to decide which tool  
is best for what kind of project you have.



Jason Merrill
Bank of America Instructional Technology & Media   ·   GCIB &  
Staff Support L&LD


Interested in Flash Platform technologies?  Join the Bank of  
America Flash Platform Developer Community Interested in innovative  
ideas in Learning?  Check out the Innovative Learning Blog and  
subscribe.







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders- 
[EMAIL PROTECTED] On Behalf Of Cedric Muller

Sent: Thursday, November 20, 2008 11:07 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flex vs. Flash

You are right. I may have been mislead here, but I still think that  
a  site like EcoDaZoo or sites done by agencies like Gringo, or   
Firstborn are Flash, not Flex. I am getting specific here, which  
is  irrelevant regarding this thread.


Cedric


With both you can be efficient. As a proof, all the best Flash  
sites



are Flash, not Flex.

How do you know? I have seen some amazing Flash sites I thought   
were build in the Flash IDE, and I found out later they were Flex   
apps, with some really great skinning going on.  I have also seen   
some flex-like sites that were cool that I discovered were Flash   
IDE made sites.  But in a lot of cases, there is no real way to   
tell what the development environment was - maybe if you pulled   
apart the .swf you could tell, but other than that, it's difficult.



Jason Merrill
Bank of America Instructional Technology & Media   ·   GCIB &   
Staff Support L&LD


Interested in Flash Platform technologies?  Join the Bank of   
America Flash Platform Developer Community
Interested in innovative ideas in Learning?  Check out the   
Innovative Learning Blog and subscribe.








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


Re: [Flashcoders] Flex vs. Flash

2008-11-21 Thread Cedric Muller

Jason, no pun intended.
Adobe, pun intended:
this marketing bu**s**t

I think the term "Flex" is kind of confusing people though, as it  
can mean different things just like Flash cam.  Sometimes people  
use "Flex" to refer to the framework and SDK, sometimes as  
Flexbuilder, sometimes as the technology, sometimes as MXML (and  
sometimes for working out at the gym).  It's like how people  
confuse "Flash" with "Flash CS3", the Flash CS framework or the  
Flash Platform (which has many tools that create content for it,  
including Flex, Thermo, Captivate, etc.)


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


Re: [Flashcoders] Flex vs. Flash

2008-11-21 Thread Cedric Muller

and that's when you don't do liquid layout in Flash ;)



Yep - but to be honest the .fla still contains all the links to the
external assets.


Erm, Ian, all you need to reference in the FLA is ONE Class file;  
and that class file can then contain ALL the references to all the  
subclasses; so you never need to edit the FLA after day1 unless the  
stage size changes... or you need to change the publishing path.

:)


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller
You are right. I may have been mislead here, but I still think that a  
site like EcoDaZoo or sites done by agencies like Gringo, or  
Firstborn are Flash, not Flex. I am getting specific here, which is  
irrelevant regarding this thread.


Cedric


With both you can be efficient. As a proof, all the best Flash sites

are Flash, not Flex.

How do you know? I have seen some amazing Flash sites I thought  
were build in the Flash IDE, and I found out later they were Flex  
apps, with some really great skinning going on.  I have also seen  
some flex-like sites that were cool that I discovered were Flash  
IDE made sites.  But in a lot of cases, there is no real way to  
tell what the development environment was - maybe if you pulled  
apart the .swf you could tell, but other than that, it's difficult.



Jason Merrill
Bank of America Instructional Technology & Media   ·   GCIB &  
Staff Support L&LD


Interested in Flash Platform technologies?  Join the Bank of  
America Flash Platform Developer Community
Interested in innovative ideas in Learning?  Check out the  
Innovative Learning Blog and subscribe.




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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller

sorry about the flood ;)


precision: Flash/Flex/AIR is brilliant!!

Flash Lite is something I would like to hide.

If I can, I will let you show some of my works, modest works, but I  
say it out loud: Flash is brilliant.



You shouldn't forget that Flash is brilliant for vector artwork and
timeline animations.


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


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller

Yes, Catalyst is what we want to be looking at right now. Promising.



You shouldn't forget that Flash is brilliant for vector artwork and
timeline animations. That's how we're using it these days internally -
as an asset creation tool rather than as a programming environment.

And, as Elia and others have said, it's great for non-standard UIs or
for lightweight sites.

It'll be interesting to see how Catalyst plays into all this.

Ian

On Thu, Nov 20, 2008 at 9:50 AM, Cedric Muller  
<[EMAIL PROTECTED]> wrote:
Yes, this I understand. As I view Flex, it is definitely the way  
to go.
I even thought, that maybe, in 5 years time (or 10...) Flash will  
disappear
as a development tool (Adobe is already referring to Flash as the  
Platform,
not the tool, or at least tries to beamcast it to our brains).  
Flash being
the underlying technology, it is too hard, complex and dark to  
shine out as

a development tool. It is an older generation.
I just hope I won't be programming in 10 years ;)



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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller
If I can, I will let you show some of my works, modest works, but I  
say it out loud: Flash is brilliant.



You shouldn't forget that Flash is brilliant for vector artwork and
timeline animations.


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller

Yes, this I understand. As I view Flex, it is definitely the way to go.
I even thought, that maybe, in 5 years time (or 10...) Flash will  
disappear as a development tool (Adobe is already referring to Flash  
as the Platform, not the tool, or at least tries to beamcast it to  
our brains). Flash being the underlying technology, it is too hard,  
complex and dark to shine out as a development tool. It is an older  
generation.

I just hope I won't be programming in 10 years ;)


Fair enough - but - I'm kind of separating out the argument here, now.

The differences in version control and command-line stuff are not to
do with the Flex _framework_ (UI, classes etc.) but to do with the
Flex _compiler_ and environment.

You don't have to touch MXML or embed any of the Flex classes to be
using the Flex compiler and environment.

HTH,
   Ian

On Thu, Nov 20, 2008 at 9:33 AM, Cedric Muller  
<[EMAIL PROTECTED]> wrote:
On a productivity basis, I totally agree with you. Flex made Flash  
take off.

Working with Flash and teams was some hard task.

Now  I am all on my own, reinventing the wheel, and I feel  
happy and

confident with this, no team, no versionning, even no components.

I am nearing the end of a gallery application developpment. I  
don't know how
it would have been possible to make the app look as it is with  
Flex but
I know it would have taken twice less time, AND overall look and  
feel would

have been cut by two (I did some serious integration there).
When things are working, I do prefer personnality over technicity.

Reusability ? yes, and no. I reuse my brain, that's it. ... and,  
of course,

parts of my code :)

but I am a Flex virgin (let's say so), so this message is  
personal, of no

help, and no consequence

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


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller
This is what make great men you know. The mass, hmmm, is   
just  the mass.


You are welcome to your opinion but enjoy the solitude of your  
perspective.


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller
On a productivity basis, I totally agree with you. Flex made Flash  
take off. Working with Flash and teams was some hard task.


Now  I am all on my own, reinventing the wheel, and I feel happy  
and confident with this, no team, no versionning, even no components.


I am nearing the end of a gallery application developpment. I don't  
know how it would have been possible to make the app look as it is  
with Flex but I know it would have taken twice less time, AND  
overall look and feel would have been cut by two (I did some serious  
integration there).

When things are working, I do prefer personnality over technicity.

Reusability ? yes, and no. I reuse my brain, that's it. ... and, of  
course, parts of my code :)


but I am a Flex virgin (let's say so), so this message is personal,  
of no help, and no consequence



On Thu, Nov 20, 2008 at 9:17 AM, Cedric Muller  
<[EMAIL PROTECTED]> wrote:



Getting back to the original question, Ross, another benefit of the
Flex compiler - whether you're writing MXML or AS3 - over the Flash
IDE is that all the source files for a Flex app (barring assets -
images etc.) are text files. Text files are much easier to deal with
in version control systems such as SVN or CVS - and version control
systems are critical for development within a group of developers.


I may be totally martian here, but ... hmmm, besides the FLA part,  
you can
externalize everything in text files too (no code in the FLA, just  
assets

(and even...) and external AS files).


Yep - but to be honest the .fla still contains all the links to the
external assets. If one developer alters the library and saves the
.fla file; and another developer does the same thing, it's very hard
to reconcile the two different versions.

Using Flex and embeds - or .properties files - it's very easy to get
around that issue, because the list of links to assets are in a text
file. Most good source control systems will sort that out for you
without you having to care. :-)

Don't get me wrong, in many cases it's not an issue. But in an app or
framework of any size with more than a couple of developers on it, it
can save a lot of frustration. :-)

Ian

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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller

Please let me be the mad analogies professor here:

Flash is the Industrialization.
Flex is the factories.


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller




Getting back to the original question, Ross, another benefit of the
Flex compiler - whether you're writing MXML or AS3 - over the Flash
IDE is that all the source files for a Flex app (barring assets -
images etc.) are text files. Text files are much easier to deal with
in version control systems such as SVN or CVS - and version control
systems are critical for development within a group of developers.


I may be totally martian here, but ... hmmm, besides the FLA part,  
you can externalize everything in text files too (no code in the FLA,  
just assets (and even...) and external AS files).


This is making me think that, as always, there are big differences  
between the framework provided and the technology used.


Start from nothing, use Flash, try to build up a framework (at least,  
some app building logic), all on your own, and/or with the help of  
other Flashcoders.
Then, you discover Flex, and this gives you the framework (ie:  
geniuses thought about this for you). You stick to the framework,  
learn to structure code / applications, and then get on the next  
part: being efficient.


With both you can be efficient. As a proof, all the best Flash sites  
are Flash, not Flex. But all the best Flash apps are Flex, because it  
is ... just simply ... simpler.


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


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Cedric Muller

This is by far the only problem of Flex.

Cedric

Apps that are not "skinned" or have some nice graphical touch to  
them are kinda disappointing, like the BMW site that was posted..  
very poor IMO.


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


Re: [Flashcoders] h264 video looks blurry/crappy in flash

2008-10-29 Thread Cedric Muller

What if you encode your video directly with the Flash Video Encoder ?

cedric




the aspect is 1:1
If i playback a flv (on2 VP6) everything looks as it should.
I even tried some videos from apple.com/trailes - at first i  
thought they where played back perfectly. But after a few replays i  
could see some enhanced compression artifacts especiallly in the  
reds compared to when playing them back in the quicktime player.  
But they wasnt as blurry as my h264.
I tried using a .mov wrapper instead of mp4. Same result. Which  
make me start to think it could be my encodign software...
Anyway i will make some extra tests to try and find a bit more head  
and tails in the matters.



cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 28, 2008, at 2:25 PM, Latcho wrote:


Check:
Is your video pixel aspect ratio square pixels 1:1 ? or for ex.   
1:1.07 or 1:1.333.



Søren Christensen wrote:


The video i am using has the same size as the stage area so no  
scaling is taking place.
smoothing = true  normally activates antialiasing if the video is  
scaled up/down.


However weird things hapens with h264 -

with smoothing 'on' the image gets too soft and to some degree  
degrades the picture.
With smoothing 'off' it leaves the video very rough and aliased  
as if the video had been scaled up from 1/4th the resolution.


I have been testing on osx 10.4 safari/ff  and 9.0.115 fp

Cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 24, 2008, at 5:37 PM, Cedric Muller wrote:


do you, by any chance, use the video.smoothing = true ?
by looking at the video, it seems this option is set to true





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


Re: [Flashcoders] h264 video looks blurry/crappy in flash

2008-10-24 Thread Cedric Muller

do you, by any chance, use the video.smoothing = true ?
by looking at the video, it seems this option is set to true

hth,
Cedric



Hey All

Has anybody experieced h264 video being more crappy when played  
through flash instead of i.e. the quicktime player


If you compare these two:

In flash
http://agentzoo.dk/temp/videotests/?file=mp4/ 
bancpost720_16-9.mp4&w=702&h=394


the file directly:
http://agentzoo.dk/temp/videotests/mp4/bancpost720_16-9.mp4

You will see a big quality differece -
Notice how blurry the video and subtitles looks and how compressed  
the text and logo looks in flash.



The video has carefully been compressed in episode with flash  
compatible settings...



Cheers,
>B) Søren




  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




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



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


Re: [Flashcoders] CDATA whitespace issue

2008-10-16 Thread Cedric Muller

:)
yes I know, I am facing the exact same problem.
I love best-case scenarios, but with xml I couldn't achieve the first  
option, unless rendering the xml from a cms.


cedric


hey cedric - thanks for your response

the linebreaks are purely aesthetic, to make it easier to write  
directly in the xml doc but, as you say, they could be stripped  
(i'm using  tags already but the net result is the same). I'm  
really just seeing how far i can go in my xml - the first option is  
my best-case scenario


best
a




On 16 Oct 2008, at 14:01, Cedric Muller wrote:

I don't have the answer, but since you are using html, can't you  
just add  instead of linebreaks ?

HeadingDescription from xml.

Sometimes, I strip linebreaks from the text I parse in xml, but by  
doing this, you have to know for sure when you can apply such  
'hardcore' rule. This could result in breaking the readability of  
a paragraph.


hth,
Cedric



hi folks

i'm writing some xml for my site to load in content and, because  
i want to use html, i'm using cdata in my description nodes.


The problem is that if i do the following:

[xml]





















[/xml]

which is the best structural way of creating it (in my opinion),  
the CDATA keeps the whitespace between the 2 lines which means  
that the best way (in as3's eyes) for me to do this is:


[xml]





















[/xml]

which is jarring to write (again, my opinion). Is there any way  
(like the old ignoreWhite param), that i can get as3 to strip the  
extra tabs and linebreaks (even within CDATA)?


thanks
a



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


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




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


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


Re: [Flashcoders] CDATA whitespace issue

2008-10-16 Thread Cedric Muller
I don't have the answer, but since you are using html, can't you just  
add  instead of linebreaks ?

HeadingDescription from xml.

Sometimes, I strip linebreaks from the text I parse in xml, but by  
doing this, you have to know for sure when you can apply such  
'hardcore' rule. This could result in breaking the readability of a  
paragraph.


hth,
Cedric



hi folks

i'm writing some xml for my site to load in content and, because i  
want to use html, i'm using cdata in my description nodes.


The problem is that if i do the following:

[xml]





















[/xml]

which is the best structural way of creating it (in my opinion),  
the CDATA keeps the whitespace between the 2 lines which means that  
the best way (in as3's eyes) for me to do this is:


[xml]





















[/xml]

which is jarring to write (again, my opinion). Is there any way  
(like the old ignoreWhite param), that i can get as3 to strip the  
extra tabs and linebreaks (even within CDATA)?


thanks
a



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


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


[Flashcoders] Flash CS4 stage width x height

2008-10-16 Thread Cedric Muller

Hello list,

What are the width + height capabilities of flash 10 ?

up to CS3, only 2880 x 2880 were possible. Now I have a 4 full HD  
screens setup that would need to be handled by Flash :(


Any ideas ?

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


Re: [Flashcoders] Flip BitmapData with Alpha

2008-10-15 Thread Cedric Muller

I am wondering what does it change if you do:

var bmd:BitmapData = new BitmapData(source.width, source.height,  
source.transparent, 0x);


?

Cedric


Any ideas? How to flip a bitmap and preserve alpha?

Elia

- Original Message - From: "Elia Morling"  
<[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Tuesday, October 14, 2008 12:08 PM
Subject: [Flashcoders] Flip BitmapData with Alpha


How do I preserve alpha when flipping a bitmapdata? This is what I  
use now.


public static function flipHorizontal(source:BitmapData):BitmapData{
 var m:Matrix = new Matrix();
 m.a=-1;
 m.tx=source.width;
 var bmd:BitmapData = new BitmapData(source.width, source.height,  
source.transparent);

 bmd.draw(source, m);
 return bmd;
}

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

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


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


Re: [Flashcoders] RESUME: Senior Flash Developer (2)

2008-10-09 Thread Cedric Muller

LOL!


I think people need to answer an as3 quiz in order to register so  
that only qualified people are subscribed, WHAT A GOOD IDEA :)


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


Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread Cedric Muller

Poetry!!!

and yet, a good answer


Le 29 août 08 à 15:31, eric e. dolecki a écrit :


Think you need to drink some "bubbly" - bubbling events

On Fri, Aug 29, 2008 at 8:40 AM, Matthias Dittgen  
<[EMAIL PROTECTED]>wrote:



but imagine one of the mc overlapping the whole other mc.

MovieClips: A and B. A is overlapping B

if the mouse is over A but not over B: i want receive a ROLL_OVER  
for A

if the mouse is over A and over B: i want receive a ROLL_OVER for A
and a ROLL_OVER for B

an I don't want to replace them. A and B are siblings and will always
be siblings.




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


Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Cedric Muller

As a precision:

This technique works perfectly with AS3 (I was also using the great  
zarate's shared library hack with AS2).
The only big drawback, with AS3, is that you have to be sure that NO  
single textfield with the embedded font you want to use is in the  
loading SWF (means: don't put textfield instances in your loading  
SWF, or your loaded SWF, nor linked library symbols with embedded  
font in them). But, you can still have textfield instances in your  
stage, even hardcoded from the IDE, as LONG as you don't embed the  
font you want to use as a shared font.
My way of doing things: I do generate all textfields with 'new  
TextField()'



hth,
Cedric


Hello Michael,

try the following:

1) create a FLA, blank, empty timeline, empty stage
2) show the Library, then from the menu on the top right click on  
'New font ...'
3) select the font you want to embed, give it a 'Name' with no  
spaces. For example: Arial Narrow (actual font name) would be  
'ArialNarrow', click OK
4) right click the font symbol in the library, and select  
'Linkage...' (the last item in the menu)
5) Tick (check) the 'Export for ActionScript' box (leave the export  
in first frame option on)
6) give your font a class name. For example, FontArialNarrow, base  
class is: flash.text.Font

7) add the following 'timeline script' to a frame:
import flash.text.Font;
Font.registerFont(FontArialNarrow);
8) save your FLA, export it.

Then load your swf in your main swf and use the font by simply  
referring to the true font name. For example:

myTxtFormat_fmt.font = "Arial Narrow";
and don't forget to 'embedFonts = true' on the textfield that must  
display the loaded font:

myTxtField_txt.embedFonts = true;

I did not test this procedure while writing, but I always use it  
that way in my projects

hth,
Cedric

I know the offstage technique but what I want is to load an  
external swf with the specific font in it. Then use that font in  
all other swfs. You could do this in as2 by loading in a swf that  
had a shared library font in it. Bit of a hack but it worked.


I cant quite believe Adobe has not addressed this in cs3 as fonts  
do add a huge amount to file sizes. There has got to be a fix for  
this surely...


Any more ideas...

Cheers

M

On 18 Aug 2008, at 12:08, Ian Thomas wrote:

On Mon, Aug 18, 2008 at 12:01 PM, Geografiek  
<[EMAIL PROTECTED]> wrote:


Define 2 dynamic text field off stage (one for each font) and  
define the

character range there.
These characters should now be available to all text fields in  
the .swf

*Should* work, but with Flash and font you never know :(


Offstage will do it.

So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in  
first

frame.

HTH,
  Ian


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


Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Cedric Muller

Hello Michael,

try the following:

1) create a FLA, blank, empty timeline, empty stage
2) show the Library, then from the menu on the top right click on  
'New font ...'
3) select the font you want to embed, give it a 'Name' with no  
spaces. For example: Arial Narrow (actual font name) would be  
'ArialNarrow', click OK
4) right click the font symbol in the library, and select  
'Linkage...' (the last item in the menu)
5) Tick (check) the 'Export for ActionScript' box (leave the export  
in first frame option on)
6) give your font a class name. For example, FontArialNarrow, base  
class is: flash.text.Font

7) add the following 'timeline script' to a frame:
import flash.text.Font;
Font.registerFont(FontArialNarrow);
8) save your FLA, export it.

Then load your swf in your main swf and use the font by simply  
referring to the true font name. For example:

myTxtFormat_fmt.font = "Arial Narrow";
and don't forget to 'embedFonts = true' on the textfield that must  
display the loaded font:

myTxtField_txt.embedFonts = true;

I did not test this procedure while writing, but I always use it that  
way in my projects

hth,
Cedric

I know the offstage technique but what I want is to load an  
external swf with the specific font in it. Then use that font in  
all other swfs. You could do this in as2 by loading in a swf that  
had a shared library font in it. Bit of a hack but it worked.


I cant quite believe Adobe has not addressed this in cs3 as fonts  
do add a huge amount to file sizes. There has got to be a fix for  
this surely...


Any more ideas...

Cheers

M

On 18 Aug 2008, at 12:08, Ian Thomas wrote:

On Mon, Aug 18, 2008 at 12:01 PM, Geografiek  
<[EMAIL PROTECTED]> wrote:


Define 2 dynamic text field off stage (one for each font) and  
define the

character range there.
These characters should now be available to all text fields in  
the .swf

*Should* work, but with Flash and font you never know :(


Offstage will do it.

So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in  
first

frame.

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


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


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


Re: [Flashcoders] Re: Flash - cross-platform? really?

2008-08-13 Thread Cedric Muller

For your information...
BlurFilters tend to be faster on Macs.
ConvolutionFilters tend to be faster on PCs.
Difference is quite big if there are many of them.

Did you use any BlurFilters ?

hth,
Cedric

- Original Message - From: "Ashim D'Silva"  
<[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Wednesday, August 13, 2008 9:21 AM
Subject: [Flashcoders] Re: Flash - cross-platform? really?


Hate to push this around again, but I've been searching heaps for  
this to no
avail. I found one random post about performance differences but  
it didn't
hint at any solutions.Are more people facing this problem, and  
does anybody

know why?


Is this a big performance difference between similarly specced  
machines or would a PC user (say) see the same difference between a  
browser running on a P3-500 and a dual core box?


I think the man often seems to swing around the wrong point - not  
where the rope is anchored, but just above where he's holding it.


Paul


2008/8/10 Ashim D'Silva <[EMAIL PROTECTED]>

We've been developing a flash game over the last few weeks, and  
we're
finding more and more that the flash player on PC and Mac run  
terrifyingly
differently. In my previous experience, website I've built have  
run far
better on my Mac than on other PCs, but this time its the  
opposite. The PC
version runs great, but on Mac, there's a nasty nasty chug. It  
seems to get
better if I compile it on a Mac. And gets far better if I compile  
to a Mac

self executable.

We're trying to find out what's causing it, and thinking it may  
be the
animated sprites, although all they're doing is reassigning  
bitmapData. All

processing sprite sheets is done at initial setup.

So, is there anything people know about or have experienced?

The WIP is here: http://raws.adc.rmit.edu.au/~s3155488/

Thanks for the help in advance...

--
The Random Lines
My online portfolio
www.therandomlines.com




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


Re: [Flashcoders] Object vs *

2008-08-11 Thread Cedric Muller
Just do a Mouse.hide(); then add a Sprite to the scene that looks  
exactly like the mouse pointer (differences between operating systems)

and animate this sprite.

This is how it is done, but this isn't setting the coordinates of the  
pointer


hth,
Cedric


It has been done there, after the intro:
http://www.sonystyle.com.mx/lounge/

It is working pretty well I guess.

Romu
www.soundstep.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Merrill,

Jason
Sent: 11 August 2008 15:31
To: Flash Coders List
Subject: RE: [Flashcoders] Object vs *


You sort of can, but not online.


You can online if you are OK with faking it.  You can set up a virtual
cursor you control with Actionscript - hide the real cursor and use a
graphic of one that looks just like it, and control it's behavior with
Actionscript, including dispatching of events.  If you're not doing
anything fancy, the user will  know no difference if you use it right.
Then show the real cursor as needed for more complex mouse actions  
like

dragging and dropping. Here is a virtual mouse class:

http://www.kirupa.com/forum/archive/index.php/t-266801.html




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of eric e. dolecki
Sent: Monday, August 11, 2008 9:32 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Object vs *

To the hijacker,
You sort of can, but not online.

run full screen, run a socket server and connect to it, have
the socket server answer a command and position the system
cursor (with Java let's say here). I've done this before
myself, but it has to be a standalone executable with the
running socket server, etc. A custom setup.

On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson
<[EMAIL PROTECTED]>wrote:


thomas nordahl wrote:


is  there any way in AS3 to set the coordinates of the cursor?





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


Re: [Flashcoders] Playing one SWF inside another when the inner swf has an audio layer with sync=Stream

2008-08-06 Thread Cedric Muller

Yep right :S
and what if you put a 'stop' audio event (with the sound you want to  
stream) in a keyframe *previous* to the 'sync=Start' event ?
In essence, if your sequence (timeline + audio sync) start at frame  
3, you could put a keyframe at frame 2 with event 'stop' and the  
sound you want. I don't really know what is happening here, but my  
idea is to force flash to fully init the sound before it starts on  
playing your timeline. As Ian pointed out, the sound seems not fully  
loaded.


then:

function onLoadInit(target_mc:MovieClip):Void {
   target_mc.play();
}


you could maybe add a 'stop();' in the first frame of your loaded  
SWF. And modify the onLoadInit to:


function onLoadInit(target_mc:MovieClip):Void {
   target_mc.gotoAnPlay(3);
}

so, in conclusion:
first frame of your loaded SWF: stop();
2nd frame of your loaded SWF: audio event : 'sync=Stop'
3rd frame of your loaded SWF: the beginning of your 2'700 frames  
animation



hth :S
Cedric




Cedric,

Many thanks for the suggestion.

However, the audio track for the inner SWF is a voiceover, that  
must be in
sync with the movie. It seems like "sync=Start" means that the  
audio starts
playing, and continues regardless of which frame is showing in the  
timeline.


With "Sync=Stream", the audio track and the frame playhead move in  
lockstep,

which is what I need. Unfortunately, it seems to have this ugly
side-effect...

Cheers,
Matt

On Wed, Aug 6, 2008 at 3:56 PM, Cedric Muller <[EMAIL PROTECTED]>  
wrote:


what if you set the audio track event to 'start' instead of  
'stream' ?


Cedric


 All,


More information on a question I posted earlier...

I'm trying to load a SWF and play it inside another SWF.

Both SWFs are targeted to use Flash Player 8, and AS 2.0

So, in the parent, I've got code that looks like this:

 var movie_mc:MovieClip = this.createEmptyMovieClip("movie_mc",
this.getNextHighestDepth());

 var mcLoader:MovieClipLoader  = new MovieClipLoader();
 mcLoader.addListener(this);
 mcLoader.loadClip("someothermovie.swf",movie_mc);

function onLoadInit(target_mc:MovieClip):Void {
  target_mc.play();
}


When I run this in the Flash IDE, it runs beautifully.

However, when I try to play the movie in a browser, the inner movie
plays for a few frames, then just stops playing.

So potentially relevant facts -

- Both movies are set to run at 30 FPS
- The inner movie is about 2,700 frames long
- The inner movie has an audio track embedded on one of the layers
- The audio track has sync=Stream

I'm definitely sure the inner movie has stopped playing - I set an
interval in the parent movie that checks the inner movie's
_currentframe, and displays it in a text field - sure enough - it  
gets

to about frame 25, and just stops.

Notably - if I remove the audio track from the inner swf, the entire
thing runs perfectly, both in the Flash IDE and in a browser.

So, i'm assuming the audio track embedded in a layer, and/or
Sync=Stream has something to do with this?

Any advice or insight is MUCH appreciated!

Cheers,
Matt


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


Re: [Flashcoders] Playing one SWF inside another when the inner swf has an audio layer with sync=Stream

2008-08-06 Thread Cedric Muller

what if you set the audio track event to 'start' instead of 'stream' ?

Cedric


All,

More information on a question I posted earlier...

I'm trying to load a SWF and play it inside another SWF.

Both SWFs are targeted to use Flash Player 8, and AS 2.0

So, in the parent, I've got code that looks like this:

 var movie_mc:MovieClip = this.createEmptyMovieClip("movie_mc",
this.getNextHighestDepth());

 var mcLoader:MovieClipLoader  = new MovieClipLoader();
 mcLoader.addListener(this);
 mcLoader.loadClip("someothermovie.swf",movie_mc);

function onLoadInit(target_mc:MovieClip):Void {
   target_mc.play();
}


When I run this in the Flash IDE, it runs beautifully.

However, when I try to play the movie in a browser, the inner movie
plays for a few frames, then just stops playing.

So potentially relevant facts -

- Both movies are set to run at 30 FPS
- The inner movie is about 2,700 frames long
- The inner movie has an audio track embedded on one of the layers
- The audio track has sync=Stream

I'm definitely sure the inner movie has stopped playing - I set an
interval in the parent movie that checks the inner movie's
_currentframe, and displays it in a text field - sure enough - it gets
to about frame 25, and just stops.

Notably - if I remove the audio track from the inner swf, the entire
thing runs perfectly, both in the Flash IDE and in a browser.

So, i'm assuming the audio track embedded in a layer, and/or
Sync=Stream has something to do with this?

Any advice or insight is MUCH appreciated!

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


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


Re: [Flashcoders] Flash & CMS

2008-07-02 Thread Cedric Muller




From what I've seen, most CMS platforms are (unsurprisingly) oriented
towards HTML. I'm just checking that there isn't some Flash CMS gem  
out there that I'm not aware of. I can't help feeling that there's  
as much effort involved in bending Joomla (say) to be useful for  
flash as just rolling out some CMS functionality through a bespoke  
database.


There are some Flash CMS, though I can't remember their names. They  
should pop up in a few moments as a reply to this thread (hopefully) ;)


I share the same feeling as you do. I think this depends on the  
developper. Some prefer using already working systems. Others prefer  
rolling their own.
In the end this is all about the scope and how you structure your  
application.


Reuse or reinvent ? I do prefer to reinvent (weird but ... there I  
have my style)


Cedric



This is just a finger in the air to test which way the wind blows  
in the flash community.


Paul
- Original Message - From: "Cedric Muller"  
<[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Wednesday, July 02, 2008 9:58 AM
Subject: Re: [Flashcoders] Flash & CMS


Depends on what you need to do. And depends on what you are able  
to do.


I do prefer setting things up in a clean way and develop from  
scratch.


Some prefer using already existing systems and try to modulate /   
alterate / integrate. (Joomla or Typo3).


Depends on your (or your team) skills and on the time you have for  
developpement.
I think you are still better off rolling your own CMS (again:   
depending on the application's goals).
And by experience, regarding the application's evolution, taking  
over  a custom CMS or a 'standard' CMS 's data is just the same.  
(none of  them is a black box)


Cedric

I just wondered if there was a favourite CMS that was popular  
for  use with Flash applications, or (as I suspect) do most  
developers  just roll their own with MySQL?


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


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


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


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


Re: [Flashcoders] Flash & CMS

2008-07-02 Thread Cedric Muller

Depends on what you need to do. And depends on what you are able to do.

I do prefer setting things up in a clean way and develop from scratch.

Some prefer using already existing systems and try to modulate /  
alterate / integrate. (Joomla or Typo3).


Depends on your (or your team) skills and on the time you have for  
developpement.
I think you are still better off rolling your own CMS (again:  
depending on the application's goals).
And by experience, regarding the application's evolution, taking over  
a custom CMS or a 'standard' CMS 's data is just the same. (none of  
them is a black box)


Cedric

I just wondered if there was a favourite CMS that was popular for  
use with Flash applications, or (as I suspect) do most developers  
just roll their own with MySQL?


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


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


Re: [Flashcoders] switch statement more efficient than if...else?

2008-06-25 Thread Cedric Muller

and switch on Number ? :P
I read somewhere that Number was quicker than int though I still  
can't believe it


cedric



I'd always thought that the most efficient was the switch


I know that the haXe compiler uses a jump table, I'm not sure about
the AS3 compiler. But as already mentioned there is an extra opcode
for switch, and even if the compiler doesn't a jump table, it might
use one in the future.

So, switch at least isn't slower, even if it isn't faster yet it has
the potential to become faster in the future, and it's more readable
in any case -- making switch the preferable choice.

The question should be "is switch on int faster than switch on  
String?"


Mark



On Wed, Jun 25, 2008 at 4:12 PM, Allandt Bik-Elliott (Receptacle)
<[EMAIL PROTECTED]> wrote:

Hi guys

quick question that came up in a conversation I had the other day  
- are

switch statements more or less efficient than a series of if...else
statements in either AS2 or AS3?

I'd always thought that the most efficient was the switch

al.z

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


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


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


Re: [Flashcoders] Flash player crashes

2008-06-23 Thread Cedric Muller

Memory management not done right = garbage collector piling up

I noticed Flash crashes very quickly when memory management is not  
done right. I am NOT implying that you did something wrong. I am  
just adding my observations to the thread.

Could it be memory management ?

Cedric


I believe Flash Cs3 is not ready for serious projects.
Nowadays I am really having huge problems. It started with loading an
external swf, it begin to not to load the external swf all the  
times. While
I am working on it, i noticed that it is a bug after over 100  
trys. And then

I am having problems casting objects. I can not cast my custom class
instance to its custom class. Flash gives me stupid errors.
Below is my bug report to Adobe. You can register and vote so that  
it can be

"fixed"
http://bugs.adobe.com/jira/browse/ASC-3436

My advice is, like the big companies, game writers, DO NOT USER  
CS3 for your
commercial projects. There are really big problems that need to be  
solved,

but the worst is adobe engineers are not aware of that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mario
gonzalez
Sent: Monday, June 23, 2008 9:42 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash player crashes

I have that happen to me too ALL the time, once it starts on a  
project

it's very very hard to track down.
Usually related to garbage collection it only crashes in the  
IDE right?


I wish i had better advice, but one thing you can do is when you test
your movie, test using the debugger (control > debug movie (off my  
head)
) instead... that way when it crashes it doesn't crash the whole  
flash

IDE, just the debugger projector..


Ashim D'Silva wrote:

Hey,

I'm using the Flash IDE CS3 to produce a project in AS3, and  
Flash is
continually crashing erratically. Is there a way for me to figure  
out

what's causing it? I can't seem to tie it to any action or recreate
it, but it happens often enough to be a large problem. I would
normally think there isn't much I can do with AS to actually  
crash the

player, but it seems I have... Please help!

Cheers,

Ashim

--
Random Lines 3D
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

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


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


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


Re: [Flashcoders] Flash player crashes

2008-06-23 Thread Cedric Muller
I noticed Flash crashes very quickly when memory management is not  
done right. I am NOT implying that you did something wrong. I am just  
adding my observations to the thread.

Could it be memory management ?

Cedric


I believe Flash Cs3 is not ready for serious projects.
Nowadays I am really having huge problems. It started with loading an
external swf, it begin to not to load the external swf all the  
times. While
I am working on it, i noticed that it is a bug after over 100 trys.  
And then

I am having problems casting objects. I can not cast my custom class
instance to its custom class. Flash gives me stupid errors.
Below is my bug report to Adobe. You can register and vote so that  
it can be

"fixed"
http://bugs.adobe.com/jira/browse/ASC-3436

My advice is, like the big companies, game writers, DO NOT USER CS3  
for your
commercial projects. There are really big problems that need to be  
solved,

but the worst is adobe engineers are not aware of that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mario
gonzalez
Sent: Monday, June 23, 2008 9:42 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash player crashes

I have that happen to me too ALL the time, once it starts on a project
it's very very hard to track down.
Usually related to garbage collection it only crashes in the  
IDE right?


I wish i had better advice, but one thing you can do is when you test
your movie, test using the debugger (control > debug movie (off my  
head)

) instead... that way when it crashes it doesn't crash the whole flash
IDE, just the debugger projector..


Ashim D'Silva wrote:

Hey,

I'm using the Flash IDE CS3 to produce a project in AS3, and Flash is
continually crashing erratically. Is there a way for me to figure out
what's causing it? I can't seem to tie it to any action or recreate
it, but it happens often enough to be a large problem. I would
normally think there isn't much I can do with AS to actually crash  
the

player, but it seems I have... Please help!

Cheers,

Ashim

--
Random Lines 3D
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

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


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


Re: [Flashcoders] protect CSV separator

2008-06-18 Thread Cedric Muller

Can't you switch for another separator ?
Instead of comma, try ___ (underscore underscore underscore) ?

Cedric


Hi,



I'm creating a CSV file from an AIR application, the separator is a  
comma.




How can I protect a comma when I create the String? So that it is  
not using
as a separator, I've got some texts from the database and I might  
have some

to protect.



I tried the ASCII code, but it is printing it straight in the CSV  
file. I

also tried a backslash before, no success



Any hint?



Thanks



Romu

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


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


[Flashcoders] stop posting to the list until things get cleared up (call for list admin)

2008-06-16 Thread Cedric Muller
Each post to the list will get an auto reply from edelstar, and then  
replies from replies, eventually until the list gets overflooded.
Best is to stop posting messages to the list until the list admin can  
remove the edelstar account.

Anyone can contact Dave Watts ?
Cedric
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Is it possible to display "&" in the xml file

2008-06-12 Thread Cedric Muller

Hello,

add a CDATA tag




cedric


hey there,
Is it possible to display "&" in the xml file? I tried to convert  
it to %26,

but it won't display "&" in the flash

for example:

Fin & IT 


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


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


Re: [Flashcoders] Is it possible to display "&" in the xml file

2008-06-12 Thread Cedric Muller

or you could set an attribute instead of a node





hey there,
Is it possible to display "&" in the xml file? I tried to convert  
it to %26,

but it won't display "&" in the flash

for example:

Fin & IT 


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


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


Re: [Flashcoders] AS3 FTP Client?

2008-06-02 Thread Cedric Muller

did you look the project's home ?
<http://projects.maliboo.pl/FlexFTP/>



Do you think I can use this in an AS3 project in Flex2?

I went to the link but the SVN appears empty to me

Elia

- Original Message ----- From: "Cedric Muller"  
<[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Monday, June 02, 2008 12:56 PM
Subject: Re: [Flashcoders] AS3 FTP Client?



try this one
<http://maliboo.riaforge.org/>
it is open source, and working (very early version, as written)
hth,
Cedric

Are there any FTP clients that run in AS3 for sale?

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

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

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


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


Re: [Flashcoders] AS3 FTP Client?

2008-06-02 Thread Cedric Muller

try this one

it is open source, and working (very early version, as written)

hth,
Cedric



Are there any FTP clients that run in AS3 for sale?

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


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


Re: [Flashcoders] AS3 - Dynamic Variable?

2008-05-29 Thread Cedric Muller

for (var i=1; i<=5; i++) {
trace(this.xmlClass.xmlData["RecImageW"+i]);
}

should work

hth,
cedric




Another one for you...

I am having some trouble with dynamic variables, basically I expect  
this['xmlClass.xmlData.RecImageW' + 1] to mean  
xmlClass.xmlData.RecImageW1, but it seems it does not?


// VALUES
xmlClass.xmlData.RecImageW1 = 120;
xmlClass.xmlData.RecImageW2 = 1220;
xmlClass.xmlData.RecImageW3 = 3;
xmlClass.xmlData.RecImageW4 = 23;
xmlClass.xmlData.RecImageW5 = 222;

for (var i = 1; i <= 5; i++)
{
trace( this['xmlClass.xmlData.RecImageW' + i] );
}

// OUTPUT SHOULD BE
120
1220
3
23
222

xmlData is type XML in the class xmlClass, it is set as public and  
tracing xmlClass.xmlData.RecImageW1 works so I know I can access  
the value, I just need a method that will loop through all of the  
variables and trace them.

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


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


Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Cedric Muller
smoother than everything: with Safari, fullscreen mode: I normally  
always have a stable FPS (which is 1 frame lower than the FPS set),  
even for big calculations, everything seems more stable and  
performance is improved.


I always wondered why in Fullscreen mode under Safari (OS X browser)  
it reaches such a good performance ... :S
I tested with Firefox OS X and IE + Firefox for WIndows, none of them  
does the same



Yes, your right.  it is a lot smoother in the Flash IDE.


On 5/22/08 1:34 PM, "Romuald Quantin" <[EMAIL PROTECTED]>  
wrote:


It is hard to get a smooth linear movement anyway, because the  
easing is
linear you're going to see very well a break in the movement,  
which can
happen because of the browser, or whatever. It is probably a lot  
smoother in

the Flash IDE than in a browser.

Romu

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
laurent

Sent: 22 May 2008 12:16
To: Flash Coders List
Subject: Re: [Flashcoders] Tweening text more smoothly - AS3


It's not just you, it somehow not perfectly smooth.

perhap an enterframe is smoother or something to do with update after
event. Or perhaps try 5 pixels every 100ms.

the background is cool!

L

Vayu Robins a écrit :

Hej.

I am wondering if there is anything that could be done to improve  
the
panning/scrolling/tweening of the news items at the bottom of the  
this

page:


http://flashkompagniet.dk/flash/main.php

I am running a timer at 20 milliseconds Timer(20, 0);

And the news items are being moved a 1px everytime the timer  
event is

dispatched.

I dont think they are runnning very smoothly.  Is that just me or  
does

anyone else see that too.

Can anything be done?

Thanks
Vayu


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





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


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




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



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


Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Cedric Muller
I may be one more time wrong here, but as flash is single thread, you  
can do whatever you want, you won't be able to have a 'perfect  
scientific smoothed' scroll :(
I struggled a lot with that ... I tried enterframe, intervals/timer,  
converting text to bitmap, displacement map filter, ... all bring  
almost the same result (displacement map can be very cool, but it is  
somewhat very restrictive as far as text layout /rendering is  
concerned).


I think your scroll is good as it is.

Try adding some fake beta buttons (with some tweens in them), or some  
other tweens (movieclips moving accross the screen is a good example)  
to your test and you will see what I mean (as soon as the flash  
player has to render other things than the scrolling text, it does a  
calculation in order to know what must be rendered ... and processing  
power is hence reduced for the 'text scroll' and split among all the  
things the flash player has to do)

I hope I am understandable.
Cedric



Hej.

I am wondering if there is anything that could be done to improve the
panning/scrolling/tweening of the news items at the bottom of the  
this page:


http://flashkompagniet.dk/flash/main.php

I am running a timer at 20 milliseconds Timer(20, 0);

And the news items are being moved a 1px everytime the timer event is
dispatched.

I dont think they are runnning very smoothly.  Is that just me or does
anyone else see that too.

Can anything be done?

Thanks
Vayu


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


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


Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

2008-04-16 Thread Cedric Muller
from my tests so far, this creates only one reference targetable by  
your code, but two instances sit in memory ...
and some time after a new instance is created (given the complexity  
of what's created in this newly created instance), everything crashes


cedric

if  the player revisits a level, I would normally reload the asset  
swf for

that level ... now I wonder if that would make a duplicate copy of the
assets in memory? There wouldn't be two copies of the swf's  
contents in
memory because they'd have identical class definitions... right...  
or maybe

not?

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


  1   2   3   >