Re: [flexcoders] is there a style to prevent a transition in a uicomponent

2010-05-03 Thread gabriel montagné
> On 5/3/10 7:32 PM, "dorkiedorkfromdorkt...@gmail.com"
>  wrote:
> i remember reading about a style or property that will prevent
> > animations / transitions from taking place. but i can't find it.
> > On 04/05/2010, Alex Harui  wrote:
> > Some can be stopped by setting XXXduration=0

You might also want to try:

UIComponent#setCurrentState(stateName:String,
playTransition:Boolean = true):void

That is, instead of doing:

component.currentState = "newState";

... do

component.setCurrentState("newState", false);

Also, for non-state related effects, I've had to do:

// button has a hideEffect, and moveEffect for instance,
import mx.effects.EffectManager;

EffectManager.suspendEventHandling();
button.visible = false;
button.move(200, 300);
EffectManager.resumeEventHandling();

hth,
gabriel

-- 
gabriel montagné láscaris comneno
http://rojored.com
+44 (0) 7500 709 209


Re: [flexcoders] Thoughts on things other than Flash...

2010-05-03 Thread dorkie dork from dorktown
In a better world it would be all of adobe products in a few years...

that would be:
faster flex framework
faster ide's (flash builder)
3d integrated into the ide
flash catalyst features in flash builder
integrated deep linking support
all the design tools we have now with animation and 3d² built into each
(support for creating 3d objects, worlds etc and support for creating
content for 3d display's).
event driven interaction model code development
fully baked TLF
full integration in the browser (new nsapi model they are going on about)
with hw
multithreading
bugs fixed in flash player
AEC fixed in flash player
what can be open sourced of the flash player open sourced unless adobe kicks
ass at fixing bugs
integrated fully baked multitouch

basically where flash is going to be in 3 to 6yrs

jp

On Mon, May 3, 2010 at 3:18 PM, jamesfin wrote:

>
>
> Based upon the Steve Jobs thread, we all have an opinion on what we believe
> is the Holy Grail for creating/deploying cloud applications.
>
> This begs the question...In a perfect world (a "do-over"), what would the
> perfect cloud-based application development platform/deployment architecture
> look like? We know it isn't HTML5/JS or Flash.
>
>  
>


Re: [flexcoders] is there a style to prevent a transition in a uicomponent

2010-05-03 Thread Alex Harui
Some can be stopped by setting XXXduration=0


On 5/3/10 7:32 PM, "dorkiedorkfromdorkt...@gmail.com" 
 wrote:






i remember reading about a style or property that will prevent
animations / transitions from taking place. but i can't find it.

jp





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] is there a style to prevent a transition in a uicomponent

2010-05-03 Thread dorkie dork from dorktown
i remember reading about a style or property that will prevent
animations / transitions from taking place. but i can't find it.

jp


Re: [flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread dorkie dork from dorktown
Guy,

There is no way in hell I'm going to write an application in HTML5 and
Javascript. With Flash I can compile my code to a single swf. I've done the
HTML, JS, CSS thing dude. I've done both and there is no benefit to letting
everyone in the world see my code (no exaggerating here) or creating
prototype libraries in Javascript.

Also, with Flash Builder I have nice debugging tools, a nice framework and
complimentary design and animation tools that integrate with it.

You can have your HTML5.

And any day of the week I'll accept a challenge to create an application.
You use HTML5 and I'll use Flex. ;)

Cheers


On Mon, May 3, 2010 at 5:17 PM, Guy Morton  wrote:

>
>
> Adobe is a ruthless competitor too; let's not forget that they shafted SVG
> as soon as they bought Flash.
>
> Personally, I find that harder to forgive, because it was about entrenching
> a commercial advantage based on proprietary technology owned by Adobe and
> blowing off a growing standard that competed with it.
>
> Apple is doing the reverse - blowing off a proprietary tech in favour of a
> growing standard. Ultimately that's much better for the web ecosystem.
>
> And honestly, all the whining about this on this list is pathetically
> self-serving. We all have to adapt, all the time. That's what keeps this
> business interesting.
>
> I'll continue to develop in Flex for many years to come, I'm sure, but I'm
> also getting across what I can do without it and using the growing
> capabilities of modern web browsers. We all have the personal choice whether
> to adapt or not.
>
> Develop Flash for Android if you think Steve's a jerk. I'm sure no-one at
> Apple will care, for the moment at least. If Android becomes bigger than
> iPhone *because of Flash support*, then they might re-think. :-)
>
> Guy
>
>
> On 03/05/2010, at 11:17 PM, Battershall, Jeff wrote:
>
>
>
> Let’s not get carried away here – no way is Apple going to stop supporting
> Flash on the Mac. That’s one of those “sky is falling’ rumors that always
> start up when something like this happens.
>
>
>
> The recent events are concerning as they potentially affect our mutual
> livelihoods, but really, there’s so much business out there it doesn’t
> matter.  Personally, I think Jobs comes off has being biased and
> self-serving in his letter and clearly his ‘facts’ are skewed or outright
> wrong.  He’s like, “Adobe thinks they’re going to play in my sandbox? Think
> again”. He’s a ruthless competitor, you give him that, but he’s also a jerk,
> if we hadn’t figured that out already.
>
>
>
> Jobs is really digging his status as an opinion leader in the industry but
> when he starts to outright attack another company’s business model, work
> ethic and so forth, he’s stepped over the line, and typically such tactics
> backfire.
>
>
>
> Jeff
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Mark A. DeMichele
> *Sent:* Monday, May 03, 2010 8:27 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Re: Thoughts on Flash by Steve Jobs
>
>
>
>
>
>
>  Everybody is talking about “learning”  another language.  That’s the easy
> part.  It’s porting an entire application that has several 100,000 lines of
> code.  That’s that hard part.  Someone mentioned losing flash support on all
> Macs.  Is that true?  I hope not.  I have over a million users using my
> flash app and about 25% of them have macs.  That would be bad.
>
>
>
>
>  
>


Re: [flexcoders] Re: Out of curiosity, what would Adobe lose if Flash were open sourced?

2010-05-03 Thread Oleg Sivokon
Flash Player is free for using, but not for redistribution. If you want to
embed it in your application (if it's not the ActiveX purchased by MS for
example), then you have to pay (or find some old and suspicious agreement
with Macromedia - like MDM Zinc ;) ). I have no idea of how high the
revenues may reach from selling the player in this later context, but that's
one way to think about it.


[flexcoders] Re: Out of curiosity, what would Adobe lose if Flash were open sourced?

2010-05-03 Thread Jeffry Houser
With the swf format being documented, and available, in theory there could be 
plenty of different implementation of the Flash Player.

 But, none of the alternate players out there are 100%.  Making their source 
available, it'd probably bring a flood of alternate players.

 Since the Flash Player is available for free, I'm unclear how open sourcing it 
would affect revenue.  If there were more Flash Player options, I think there 
would be more demand for tools to create Flash Applications.  On the flip side, 
if there were a lot of inconsistent implementations of the player, it may hurt 
the platform as a whole.

--- In flexcoders@yahoogroups.com, Karim Beyrouti  wrote:
>
> I think ( just a guess ) - they want to avoid different implementations of 
> the flash player - with different players supporting different features... 
> that could cause problems ( sounds like a headache to me ) ... however - if 
> they can avoid that - it could then also be a question of revenue. i think an 
> open source player - controlled by 'adobe' could be a great thing. 
> 
> Also, one thing i have been wondering about lately, and can't think of an 
> answer... Director shockwave was quite fast and had ok 3D ( a little out of 
> date now ). Used to really like director... 
> 
> why can't do the same with the flash player today... i know historically they 
> want to keep distributable file size low - and reach the lowest common 
> denominator - however - i just wonder why is this not achievable now days...
> 
> - k
> 
> 
> 
> 
> 
> 
> On 4 May 2010, at 00:19, Baz wrote:
> 
> > I don't know much about how to answer this, so I'm not trying to take a 
> > position or anything: purely out of curiosity, what would Adobe lose if 
> > Flash were open sourced? Is it that competitors would more easily be able 
> > to make competing IDEs?
> > 
> > 
> > Cheers,
> > Baz
> > 
> >
>




[flexcoders] Re: Out of curiosity, what would Adobe lose if Flash were open sourced?

2010-05-03 Thread Jeffry Houser
As I understand it, certain pieces of The Flash Player it are licensed from 
other companies and included.  Such agreements probably do not give Adobe the 
ability to distribute source code.  

One thing that comes to mind i that Flash Player would lose The ability to play 
H.264 video.  

I don't think open sourcing the Flash Player would have any effect on the 
ability of other developers to create Flash based IDEs.  


--- In flexcoders@yahoogroups.com, Baz  wrote:
>
> I don't know much about how to answer this, so I'm not trying to take a
> position or anything: purely out of curiosity, what would Adobe lose if
> Flash were open sourced? Is it that competitors would more easily be able to
> make competing IDEs?
> 
> Cheers,
> Baz
>




Re: [flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Oleg Sivokon
That's again a newspaper trick, it may from the first sight seem like you
are making a point, however... You say that HTML5 is a good perspective, I
say it's a step back, you may not agree, but your personal belief doesn't
make it a fact, it is still a hypothesis, not an axiom. Did you really have
to do anything in SVG? I mean not using the format, but, say, making an
editor for it - I think not. Because if you would, you'd know how weirdly it
is designed... well, it's not a good technology, no matter it is free...
Besides, SWF is absolutely equally open if speaking about graphics. SWF is
not a proprietary format, there are many commercial and non-commercial tools
(Maya, CorelXara, Swish, Sothik, HaXe, SWFTools and so on) capable of
generating / editing it. You don't need any license of any kind to make your
own SWF editor. What is proprietary is the AS3 extension to the ECMAScript
language + several video codecs + MP3 (the later, of course not in exclusive
ownership of Adobe).
And what you are saying is, technically - whatever comes or whatever pays
more, regardless of consequences, you are on that wagon... well, I cannot
disagree to this being a probably the best way to go about almost everything
in life, web technology being a marginal case. :)


Re: [flexcoders] Out of curiosity, what would Adobe lose if Flash were open sourced?

2010-05-03 Thread Karim Beyrouti
I think ( just a guess ) - they want to avoid different implementations of the 
flash player - with different players supporting different features... that 
could cause problems ( sounds like a headache to me ) ... however - if they can 
avoid that - it could then also be a question of revenue. i think an open 
source player - controlled by 'adobe' could be a great thing. 

Also, one thing i have been wondering about lately, and can't think of an 
answer... Director shockwave was quite fast and had ok 3D ( a little out of 
date now ). Used to really like director... 

why can't do the same with the flash player today... i know historically they 
want to keep distributable file size low - and reach the lowest common 
denominator - however - i just wonder why is this not achievable now days...

- k






On 4 May 2010, at 00:19, Baz wrote:

> I don't know much about how to answer this, so I'm not trying to take a 
> position or anything: purely out of curiosity, what would Adobe lose if Flash 
> were open sourced? Is it that competitors would more easily be able to make 
> competing IDEs?
> 
> 
> Cheers,
> Baz
> 
> 



[flexcoders] Out of curiosity, what would Adobe lose if Flash were open sourced?

2010-05-03 Thread Baz
I don't know much about how to answer this, so I'm not trying to take a
position or anything: purely out of curiosity, what would Adobe lose if
Flash were open sourced? Is it that competitors would more easily be able to
make competing IDEs?

Cheers,
Baz


Re: [flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Guy Morton
Adobe is a ruthless competitor too; let's not forget that they shafted SVG as 
soon as they bought Flash.

Personally, I find that harder to forgive, because it was about entrenching a 
commercial advantage based on proprietary technology owned by Adobe and blowing 
off a growing standard that competed with it.

Apple is doing the reverse - blowing off a proprietary tech in favour of a 
growing standard. Ultimately that's much better for the web ecosystem.

And honestly, all the whining about this on this list is pathetically 
self-serving. We all have to adapt, all the time. That's what keeps this 
business interesting.

I'll continue to develop in Flex for many years to come, I'm sure, but I'm also 
getting across what I can do without it and using the growing capabilities of 
modern web browsers. We all have the personal choice whether to adapt or not. 

Develop Flash for Android if you think Steve's a jerk. I'm sure no-one at Apple 
will care, for the moment at least. If Android becomes bigger than iPhone 
*because of Flash support*, then they might re-think. :-)

Guy


On 03/05/2010, at 11:17 PM, Battershall, Jeff wrote:

> 
> Let’s not get carried away here – no way is Apple going to stop supporting 
> Flash on the Mac. That’s one of those “sky is falling’ rumors that always 
> start up when something like this happens.
> 
>  
> 
> The recent events are concerning as they potentially affect our mutual 
> livelihoods, but really, there’s so much business out there it doesn’t 
> matter.  Personally, I think Jobs comes off has being biased and self-serving 
> in his letter and clearly his ‘facts’ are skewed or outright wrong.  He’s 
> like, “Adobe thinks they’re going to play in my sandbox? Think again”. He’s a 
> ruthless competitor, you give him that, but he’s also a jerk, if we hadn’t 
> figured that out already.
> 
>  
> 
> Jobs is really digging his status as an opinion leader in the industry but 
> when he starts to outright attack another company’s business model, work 
> ethic and so forth, he’s stepped over the line, and typically such tactics 
> backfire.
> 
>  
> 
> Jeff
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Mark A. DeMichele
> Sent: Monday, May 03, 2010 8:27 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Thoughts on Flash by Steve Jobs
> 
>  
> 
> 
> 
> 
> 
> Everybody is talking about “learning”  another language.  That’s the easy 
> part.  It’s porting an entire application that has several 100,000 lines of 
> code.  That’s that hard part.  Someone mentioned losing flash support on all 
> Macs.  Is that true?  I hope not.  I have over a million users using my flash 
> app and about 25% of them have macs.  That would be bad.
> 
> 
> 
> 
> 
> 



[flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Matthew
I'm pretty new to Flash so I don't know all the technical details under the 
covers (e.g. Flash is buggy on Macs, who supported what video format first, 
etc) but one thing that strikes me as odd in the manifesto published by Apple 
is the attack of Flash for not being open.  That strikes me as hypocrisy.

The people defending Apple on these threads are basically saying we, as 
developers targeting these devices, need to go learn some limited set of 
languages hand-picked by people at a corporation.  That's not open.

Further, the corporation controls the distribution of software through the 
Apple Store.  If the corporation doesn't like our software for some reason they 
won't allow it.  That's not open.

As we all now know now the corporation will not only control the distribution 
of end user applications it will also be actively involved in censoring the 
software platforms that may be used on the devices...even to the point of not 
allowing Flash of J2ME, two of the most widely used platforms out there.  
That's not open.

If you think Apple is going to win and corner the market on mobile devices for 
eternity go learn Objective C and whatever obscure languages they come up with. 
 I personally am not going to put all my eggs in one basket in case Apple ends 
up with 20% of the market share instead of 90%.  IMO truly open devices will 
always be out there and they have a built in advantage over proprietary 
technologies like i*.



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Guy Morton
I think you meant "ludicrous"...

lubricious |loōˈbri sh əs| (also lubricous |ˈloōbrikəs|)
adjective
1 offensively displaying or intended to arouse sexual desire.
2 smooth and slippery with oil or a similar substance.

:-)


On 04/05/2010, at 1:04 AM, Jeffry Houser wrote:

> First time I explicitly that Apple would prevent Flash from being installed 
> on Macs. 
> 
> The specific rumor I heard was that the next version of OSX would move to an 
> App store model similar to their devices. It sounds so lubricious I can't 
> imagine it being true. 
> 
> --- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
> wrote:
> >
> > Let's not get carried away here - no way is Apple going to stop supporting 
> > Flash on the Mac. That's one of those "sky is falling' rumors that always 
> > start up when something like this happens.
> 
> 



Re: [flexcoders] Re: how to handle remote requests the never return or get lost?

2010-05-03 Thread Baz
You confirmed my suspicions. I believe that very few developers employ this,
but it seems quite important as requests can get lost relatively often.
Anyone think it would be beneficial to have a TimeoutEvent built right in
along side ResultEvent and FaultEvent to make it easier?

Baz


On Mon, May 3, 2010 at 1:24 PM, jamesfin wrote:

>
>
>
> I agree with Rick. For all net calls, I have a timer going and a simple
> queue that is populated when sending each request. When and if they return
> sometime later, they are removed from the queue. If requests aren't received
> by some set timeout, they are ignored.
>
> I employ the use of tokens for each request so I know if I should ignore
> them or not if they are expired by my timeout. You could also log the
> failure to the server or trace if you want to track them.
>
> james
>
>
> --- In flexcoders@yahoogroups.com , Rick
> Genter  wrote:
>
> >
> > On Mon, May 3, 2010 at 1:14 PM, Baz  wrote:
> >
> > >
> > >
> > > If you send a request to a web service, and for some reason that
> request
> > > never returns because it got lost on the net, or some other failure.
> What
> > > strategies do people employ on the flex side to handle that situation?
> > > FaultEvent wouldn't fire in this case, because there are no known
> faults
> > > yet. Perhaps, people employ some timeout functionality on their remote
> > > listeners?
> > >
> > > Cheers,
> > > Baz
> > >
> >
> > Do you use a URLRequest/URLLoader to place your request? I think if you
> > listen for an IOErrorEvent.IO_ERROR, one gets raised if the request times
> > out at the HTTP level. If the request gets to the server but the server
> just
> > takes too long to respond, then I think you'll have to add some sort of
> > timer.
> > --
> > Rick Genter
> > rick.gen...@...
> >
>
>  
>


[flexcoders] Re: ViewStack historyManagementEnabled fails when nested in spark component

2010-05-03 Thread method_air
When a view stack is nested in a spark component, the view stack loses 
'historManagementEnabled' functionality.

Changing mx:Application to s:Application in the following code causes this 
problem:



http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx">





























//

Alex Harui, any ideas how to get around this problem?

Thanks,

Philip


--- In flexcoders@yahoogroups.com, "method_air"  wrote:
>
> Any ideas why historyManagementEnabled seems to be failing here:
> 
> 
> 
>   
>   
>   
>   
>   
>  
>   
>   
>   
>   
>   
>   
> 
> 
> The MX viewstack is nested in a spark component. History management worked 
> when nested in an mx component.
> 
> Thanks,
> 
> Philip
>




[flexcoders] Re: how to handle remote requests the never return or get lost?

2010-05-03 Thread jamesfin

I agree with Rick.  For all net calls, I have a timer going and a simple queue 
that is populated when sending each request.  When and if they return sometime 
later, they are removed from the queue.  If requests aren't received by some 
set timeout, they are ignored.

I employ the use of tokens for each request so I know if I should ignore them 
or not if they are expired by my timeout.  You could also log the failure to 
the server or trace if you want to track them.

james
 

--- In flexcoders@yahoogroups.com, Rick Genter  wrote:
>
> On Mon, May 3, 2010 at 1:14 PM, Baz  wrote:
> 
> >
> >
> > If you send a request to a web service, and for some reason that request
> > never returns because it got lost on the net, or some other failure. What
> > strategies do people employ on the flex side to handle that situation?
> > FaultEvent wouldn't fire in this case, because there are no known faults
> > yet. Perhaps, people employ some timeout functionality on their remote
> > listeners?
> >
> > Cheers,
> > Baz
> >
> 
> Do you use a URLRequest/URLLoader to place your request? I think if you
> listen for an IOErrorEvent.IO_ERROR, one gets raised if the request times
> out at the HTTP level. If the request gets to the server but the server just
> takes too long to respond, then I think you'll have to add some sort of
> timer.
> -- 
> Rick Genter
> rick.gen...@...
>




[flexcoders] Thoughts on things other than Flash...

2010-05-03 Thread jamesfin
Based upon the Steve Jobs thread, we all have an opinion on what we believe is 
the Holy Grail for creating/deploying cloud applications.

This begs the question...In a perfect world (a "do-over"), what would the 
perfect cloud-based application development platform/deployment architecture 
look like?  We know it isn't HTML5/JS or Flash.











Re: [flexcoders] how to handle remote requests the never return or get lost?

2010-05-03 Thread Rick Genter
On Mon, May 3, 2010 at 1:14 PM, Baz  wrote:

>
>
> If you send a request to a web service, and for some reason that request
> never returns because it got lost on the net, or some other failure. What
> strategies do people employ on the flex side to handle that situation?
> FaultEvent wouldn't fire in this case, because there are no known faults
> yet. Perhaps, people employ some timeout functionality on their remote
> listeners?
>
> Cheers,
> Baz
>

Do you use a URLRequest/URLLoader to place your request? I think if you
listen for an IOErrorEvent.IO_ERROR, one gets raised if the request times
out at the HTTP level. If the request gets to the server but the server just
takes too long to respond, then I think you'll have to add some sort of
timer.
-- 
Rick Genter
rick.gen...@gmail.com


[flexcoders] how to handle remote requests the never return or get lost?

2010-05-03 Thread Baz
If you send a request to a web service, and for some reason that request
never returns because it got lost on the net, or some other failure. What
strategies do people employ on the flex side to handle that situation?
FaultEvent wouldn't fire in this case, because there are no known faults
yet. Perhaps, people employ some timeout functionality on their remote
listeners?

Cheers,
Baz


Re: [flexcoders] Thoughts on Flash by Steve Jobs

2010-05-03 Thread Jochem van Dieten
On Sat, May 1, 2010 at 2:55 AM, Guy Morton wrote:
> On 30/04/2010, at 6:22 PM, Tom Chiverton wrote:
> That article is so wrong, in so many places, but the corrections will never
> get the same exposure. Good tactic, unfortunately.
>
> I'm interested to know where you think he is factually wrong.

I believe Steve Jobs is factually wrong in the following claim:
"We also know first hand that Flash is the number one reason Macs crash."

On a modern Operating System a userland application can not crash the
system. Only errors in hardware or in privileged processes (the kernel
and drivers) running in ring 0 can crash can operating system. Ring 3
code can not.
Now I immediately believe him if he wants to claim that Flash is the
number one reason Safari or Camino crashes. But the only way I can
imagine Flash crashing the system is if Mac OS X allows userland
applications access to hardware. And operating systems that allow that
deserve to crash.

Jochem

--
Jochem van Dieten
http://jochem.vandieten.net/


RE: [flexcoders] A way to animate or move a list smoothly? My attempt in Flex 3 works, Flash builder not so much.

2010-05-03 Thread Chet Haase

I can't run the code to see what you're seeing since it refers to objects that 
aren't here, but for the deceleration movement behavior you describe, you 
probably want to check out the 'easer' property of Flex 4 effects. This 
property lets you define the timing behavior of your animations, with the 
default being a Sine motion that accelerates into and then decelerates out of 
the animation. You might want something like Linear, or one of the various 
other options.
I talk about easing in Flex effects in this video (among others):

http://graphics-geek.blogspot.com/2009/11/video-transitions-and-easing-in-flex.html

Chet.


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Raymond Brown
Sent: Monday, May 03, 2010 8:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] A way to animate or move a list smoothly? My attempt in 
Flex 3 works, Flash builder not so much.


I have a horizontal list of objects (image and labels) that I want to slide to 
the left smoothly, in a consistent speed till the last object goes off screen 
and then repeat.  However my code, as seen below has two weird effects.  First 
it hauls butt across the screen way to fast to be readable and second somewhere 
around the middle of the screen the speed jumps up a notch till the very end 
where it seems to slow down.  Can someone point me to where I may be working 
the Move function wrong?



   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   minWidth="955" minHeight="600" backgroundColor="0x00"
   preinitialize="preInit()" creationComplete="complete()">





























Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Baz
There are 2 distinct and separate anti-Adobe issues from Apple. One is the
anti-flash stance, which we have been focusing on in this thread - but a
separate and important second issue is Apple disallowing *NATIVE* IPHONE
BINARIES that are created using CS5:
http://www.adobe.com/devnet/logged_in/abansod_iphone.html. So just to be
1000% clear, you write code in AS3, then the compiler outputs a pure iphone
binary - there is no Flash, no runtime, no swf - nothing.

So my question is, how would Apple even know what tools I used to create an
app? What if I made my own code generator in objective C, is that allowed?
Are they also going to say I'm not allowed to use notepad to write my code?

Cheers,
Baz



On Mon, May 3, 2010 at 8:15 AM, Gregor Kiddie <
gregor.kid...@channeladvisor.com> wrote:

>
>
>  If we are swapping rumours though...
>
>
>
> I liked the one that Apple had demanded a truly ridiculous sum of money
> from Adobe yearly to allow Flash on the iPhone, and when Adobe refused to
> pay up, SJ made it his mission to prevent it from happening!
>
>
>
> I’d call it a tithe, but that brings far too many religious connotations to
> be associated with Jobs...
>
>
>
> Gk.
>
>  
>


Re: [flexcoders] Calling mxmlc/fcsh from PHP script

2010-05-03 Thread Oleg Sivokon
Compiler doesn't output the SWF into Stdout... I don't think there may be a
setting for that. What you may get by executing the compiler is either an
exit code, or a bunch of warnings / errors, depending on how "smart" your
code was :)
If you want to serve the SWF after it was compiled, you'd have to either
fopen() it or just print the path to it into the response body.


Re: [flexcoders] Calling mxmlc/fcsh from PHP script

2010-05-03 Thread kanu kukreja
I'm trying to do this,



and output is Hello WorldArray ( )
and when i run exec('mxmlc "C:/Program Files/Adobe/Flex Builder
3/sdks/3.0.0/bin/mxmlc.exe" testing.as -default-size 728 90 -output
testing.swf');
result comes out to be blank

On Mon, May 3, 2010 at 8:48 PM, yi?it boyar  wrote:

>
>
> Can u give more information about what did not work? Aint u using system
> command in php to execute the compiler? What error do u get?
>
> yigit (mobile)
>
> On May 3, 2010, at 7:30 AM, kanu kukreja  wrote:
>
>
>
> Hi,
>
> My question is whether or not Flex's mxmlc can be called from within a PHP
> script. Here is the background:
>
> I have been created a simple process that creates a simple quiz/tutorial by
> converting a text file into a .as file and compiling to a .swf file using
> the mxmlc compiler. This works well from the command line, but I wanted to
> make the process easier by creating a web-interface to do this.  I have not
> been able to get the mxmlc compiler to work.
>
> After searching on the Web and on this site, I believe that using fcsh
> (instead of mxmlc) may be the way to go. Using fcsh would certainly compile
> the .mxml file faster (after the first run), and I think that fcsh can be
> launched as a service that might be able to be called from PHP.
>
> On the other hand, maybe I am approaching this the wrong way. Would it be
> better to write a Flex application that calls fcsh/mxmlc and avoid using
> PHP?
>
> Thanks
>
> Kanu kukrejA
>
>
>


[flexcoders] Re: Cube animation

2010-05-03 Thread valdhor
How about 
http://www.switchonthecode.com/tutorials/getting-started-with-adobe-flex-and-away3d

--- In flexcoders@yahoogroups.com, "Christophe"  
wrote:
>
> Hello, 
> 
> I am searching an example of a flax animation of a rotating cube with a image 
> on each side.
> 
> Thank you,
> Christophe,
>




Re: [flexcoders] Re: how to know swf flash version?

2010-05-03 Thread Oleg Sivokon
Not sure Flash provides such info... Well, maybe since Flash CS4 it by
default compiles the XMP metadata into SWF, but before that there wasn't
anything special to identify the compiler. And, you can turn off the XMP
metadata, (which is what I do - I don't need it in the SWF). Besides, there
are many other tools that can compile SWF, abd the format itself doesn't
require to the compiler to leave any footprints.


[flexcoders] A way to animate or move a list smoothly? My attempt in Flex 3 works, Flash builder not so much.

2010-05-03 Thread Raymond Brown
I have a horizontal list of objects (image and labels) that I want to slide to 
the left smoothly, in a consistent speed till the last object goes off screen 
and then repeat.  However my code, as seen below has two weird effects.  First 
it hauls butt across the screen way to fast to be readable and second somewhere 
around the middle of the screen the speed jumps up a notch till the very end 
where it seems to slow down.  Can someone point me to where I may be working 
the Move function wrong?





   xmlns:s="library://ns.adobe.com/flex/spark" 
   xmlns:mx="library://ns.adobe.com/flex/mx" 
   minWidth="955" minHeight="600" backgroundColor="0x00" 
   preinitialize="preInit()" creationComplete="complete()">














   












  

Re: [flexcoders] Calling mxmlc/fcsh from PHP script

2010-05-03 Thread yi?it boyar
Can u give more information about what did not work? Aint u using system
command in php to execute the compiler? What error do u get?

yigit (mobile)

On May 3, 2010, at 7:30 AM, kanu kukreja  wrote:



Hi,

My question is whether or not Flex's mxmlc can be called from within a PHP
script. Here is the background:

I have been created a simple process that creates a simple quiz/tutorial by
converting a text file into a .as file and compiling to a .swf file using
the mxmlc compiler. This works well from the command line, but I wanted to
make the process easier by creating a web-interface to do this.  I have not
been able to get the mxmlc compiler to work.

After searching on the Web and on this site, I believe that using fcsh
(instead of mxmlc) may be the way to go. Using fcsh would certainly compile
the .mxml file faster (after the first run), and I think that fcsh can be
launched as a service that might be able to be called from PHP.

On the other hand, maybe I am approaching this the wrong way. Would it be
better to write a Flex application that calls fcsh/mxmlc and avoid using
PHP?

Thanks

Kanu kukrejA

 


RE: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Gregor Kiddie
If we are swapping rumours though...

 

I liked the one that Apple had demanded a truly ridiculous sum of money
from Adobe yearly to allow Flash on the iPhone, and when Adobe refused
to pay up, SJ made it his mission to prevent it from happening!

 

I'd call it a tithe, but that brings far too many religious connotations
to be associated with Jobs...

 

Gk.



RE: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Gregor Kiddie
Allegedly, Steve "my turtle neck has cut off the blood to my brain" Jobs
denied this in an email, but given the way the question was worded
("will you confirm that...") and the answer ("nope"), it's not done much
to stem the rumours!

 

Gk.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jeffry Houser
Sent: 03 May 2010 16:04
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Thoughts on Flash by Steve Jobs

 

  

First time I explicitly that Apple would prevent Flash from being
installed on Macs. 

The specific rumor I heard was that the next version of OSX would move
to an App store model similar to their devices. It sounds so lubricious
I can't imagine it being true. 




 



[flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Jeffry Houser
 First time I explicitly that Apple would prevent Flash from being installed on 
Macs.  

 The specific rumor I heard was that the next version of OSX would move to an 
App store model similar to their devices.  It sounds so lubricious I can't 
imagine it being true.  

--- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
wrote:
>
> Let's not get carried away here - no way is Apple going to stop supporting 
> Flash on the Mac. That's one of those "sky is falling' rumors that always 
> start up when something like this happens.





[flexcoders] Calling mxmlc/fcsh from PHP script

2010-05-03 Thread kanu kukreja
Hi,

My question is whether or not Flex's mxmlc can be called from within a PHP
script. Here is the background:

I have been created a simple process that creates a simple quiz/tutorial by
converting a text file into a .as file and compiling to a .swf file using
the mxmlc compiler. This works well from the command line, but I wanted to
make the process easier by creating a web-interface to do this.  I have not
been able to get the mxmlc compiler to work.

After searching on the Web and on this site, I believe that using fcsh
(instead of mxmlc) may be the way to go. Using fcsh would certainly compile
the .mxml file faster (after the first run), and I think that fcsh can be
launched as a service that might be able to be called from PHP.

On the other hand, maybe I am approaching this the wrong way. Would it be
better to write a Flex application that calls fcsh/mxmlc and avoid using
PHP?

Thanks

Kanu kukrejA


[flexcoders] Re: how to know swf flash version?

2010-05-03 Thread markflex2007
I mean which version of Flash build the swf. like Flash cs 4 etc.

Thanks

Mark

--- In flexcoders@yahoogroups.com, Oleg Sivokon  wrote:
>
> The SWF version is the fourth byte in the file header. I'm not sure what
> flash version means.
>




[flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Battershall, Jeff
Let's not get carried away here - no way is Apple going to stop supporting 
Flash on the Mac. That's one of those "sky is falling' rumors that always start 
up when something like this happens.

The recent events are concerning as they potentially affect our mutual 
livelihoods, but really, there's so much business out there it doesn't matter.  
Personally, I think Jobs comes off has being biased and self-serving in his 
letter and clearly his 'facts' are skewed or outright wrong.  He's like, "Adobe 
thinks they're going to play in my sandbox? Think again". He's a ruthless 
competitor, you give him that, but he's also a jerk, if we hadn't figured that 
out already.

Jobs is really digging his status as an opinion leader in the industry but when 
he starts to outright attack another company's business model, work ethic and 
so forth, he's stepped over the line, and typically such tactics backfire.

Jeff

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Mark A. DeMichele
Sent: Monday, May 03, 2010 8:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Thoughts on Flash by Steve Jobs




Everybody is talking about "learning"  another language.  That's the easy part. 
 It's porting an entire application that has several 100,000 lines of code.  
That's that hard part.  Someone mentioned losing flash support on all Macs.  Is 
that true?  I hope not.  I have over a million users using my flash app and 
about 25% of them have macs.  That would be bad.






[flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Mark A. DeMichele
Everybody is talking about "learning"  another language.  That's the
easy part.  It's porting an entire application that has several 100,000
lines of code.  That's that hard part.  Someone mentioned losing flash
support on all Macs.  Is that true?  I hope not.  I have over a million
users using my flash app and about 25% of them have macs.  That would be
bad.



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Guy Morton
Where does it say that Apple is dropping support for plugins like Flash on Mac 
OSX?

I can't see that happening. I can't even imagine how they'd do it if they 
wanted to.

Guy


On 03/05/2010, at 10:00 AM, Laurence wrote:

> 
> 
> --- In flexcoders@yahoogroups.com, Guy Morton  wrote:
> >
> > Jeez...it's *three* devices, and you *do* have a choice...
> 
> It's gonna be a hell of a lot more than just 3 portable devices, when Jobs 
> removes Flash from OSX. That's every Mac in the world. There are a LOT of 
> Macs out there...
> 
> The whole reason I chose to learn Flex is that it (at the time) ran on every 
> available platform. It was THE cross-platform language to learn.
> 
> > 
> > You're annoyed because you're being shut out of a market you want to be in, 
> > but your arguments as to why you should be allowed into that market are 
> > specious. 
> 
> My arguments are not specious -- I *was* a part of that market at one time. 
> I'm being shut out of a market through NO FAULT OF MY OWN. Every Apple 
> product in the world will soon have zero support for Flash -- that's NOT what 
> I signed up for when I learned Flex. The MAIN REASON I learned Flex was for 
> its cross-platform capabilites. I never had to worry about what system my 
> programs were running on. Now Apple is gone from that equation -- ergo 25% of 
> my customers just disappeared, unless I can get them all to buy PCs. Thanks, 
> Steve!
> 
> > 
> > If you buy an iPod/Pad/Phone, you buy it as is, knowing what it can and 
> > can't do. It can't do Flash. If you don't like that, don't buy the device, 
> > it's really very simple. If you want to hack it to make it capable of 
> > running Flash, then sure, go ahead, no-one is going to sue you. You might 
> > not be able to claim on your warranty or update the OS once you do that 
> > but, yes, it's your choice if you want to go that way. Most people don't 
> > because most people can actually live without Flash, believe it or not.
> 
> I agree with you here -- knowing in advance that it doesn't run Flash is a 
> good thing, and people can then make a choice accordingly. It just really 
> angers me if I were to own a device and some entity somewhere tells me I 
> cannot run my own software on it. I would be ranting against MS or Linux just 
> as angrily, if they were to suddenly come out and say I couldn't run a 
> particular piece of software just because they "don't like it anymore." (And, 
> yes I read that article where MS says that HTML5 is the 'future of the 
> internet.' They said nothing about removing Flash support from Microsoft 
> Windows in that article. Steve Jobs IS going to remove Flash from all Apple 
> products everywhere -- THAT'S my problem with this!)
> 
> > 
> > If you want to develop for the iP*, then learn objective C or use 
> > HTML5/Javascript. If you don't then don't. Again, it's a simple choice you 
> > can make.
> 
> It's NOT a simple choice -- learning a whole other programming language is 
> not a simple task. Before old Steve-o came out against Flash, I could write 
> one program that would work on Windows, Linux, and Mac. Now Mac is gone from 
> that equation -- thanks to some facist prick who thinks he knows everything 
> that everyone else should do.
> 
> > Technologies change, sometimes their fortunes rise and sometimes they fall. 
> > Flash has been the undisputed winner in the RIA wars up till now. Jobs is 
> > betting the future of the iP* platform on HTML5. Maybe he's wrong about it, 
> > but maybe he isn't. Time will tell.
> 
> Yes, technologies do change -- but it should be the free market that 
> determines which technologies survive and which don't, not some ivory-tower 
> egghead who determines by fiat what's best for everyone. THAT'S why I called 
> Steve Jobs a bastard. Perhaps I should've said elitist bastard to make it 
> clearer.
> 
> I truly DESPISE it when ONE person has the power to mess up things in my 
> life. If everyone decided ON THEIR OWN to stop using Adobe Flash, that would 
> be a completely different story -- the majority would have spoken, and I 
> could more easily accept the outcome. But Jobs is simply deciding that he 
> knows best, and we're going to all follow him because he's so damn smart. 
> THAT is not the free market!
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Wbierwerth
HTC HD2 sold out in a matter of days since it hit the US, now verizon  
and ATT are advertising it. Has flash, and since jobs rant i am very  
interested, especaiily given Iphones poor "connectivity" into the  
business office world. I think my company would applaud if they cut  
out flash because uor netwrk guys hate Macs


Just another twisted tyrant showing his skin

2 centts
Bill

- Bill -

On May 2, 2010, at 8:00 PM, "Laurence"  wrote:




--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> Jeez...it's *three* devices, and you *do* have a choice...

It's gonna be a hell of a lot more than just 3 portable devices,  
when Jobs removes Flash from OSX. That's every Mac in the world.  
There are a LOT of Macs out there...


The whole reason I chose to learn Flex is that it (at the time) ran  
on every available platform. It was THE cross-platform language to  
learn.


>
> You're annoyed because you're being shut out of a market you want  
to be in, but your arguments as to why you should be allowed into  
that market are specious.


My arguments are not specious -- I *was* a part of that market at  
one time. I'm being shut out of a market through NO FAULT OF MY OWN.  
Every Apple product in the world will soon have zero support for  
Flash -- that's NOT what I signed up for when I learned Flex. The  
MAIN REASON I learned Flex was for its cross-platform capabilites. I  
never had to worry about what system my programs were running on.  
Now Apple is gone from that equation -- ergo 25% of my customers  
just disappeared, unless I can get them all to buy PCs. Thanks, Steve!


>
> If you buy an iPod/Pad/Phone, you buy it as is, knowing what it  
can and can't do. It can't do Flash. If you don't like that, don't  
buy the device, it's really very simple. If you want to hack it to  
make it capable of running Flash, then sure, go ahead, no-one is  
going to sue you. You might not be able to claim on your warranty or  
update the OS once you do that but, yes, it's your choice if you  
want to go that way. Most people don't because most people can  
actually live without Flash, believe it or not.


I agree with you here -- knowing in advance that it doesn't run  
Flash is a good thing, and people can then make a choice  
accordingly. It just really angers me if I were to own a device and  
some entity somewhere tells me I cannot run my own software on it. I  
would be ranting against MS or Linux just as angrily, if they were  
to suddenly come out and say I couldn't run a particular piece of  
software just because they "don't like it anymore." (And, yes I read  
that article where MS says that HTML5 is the 'future of the  
internet.' They said nothing about removing Flash support from  
Microsoft Windows in that article. Steve Jobs IS going to remove  
Flash from all Apple products everywhere -- THAT'S my problem with  
this!)


>
> If you want to develop for the iP*, then learn objective C or use  
HTML5/Javascript. If you don't then don't. Again, it's a simple  
choice you can make.


It's NOT a simple choice -- learning a whole other programming  
language is not a simple task. Before old Steve-o came out against  
Flash, I could write one program that would work on Windows, Linux,  
and Mac. Now Mac is gone from that equation -- thanks to some facist  
prick who thinks he knows everything that everyone else should do.


> Technologies change, sometimes their fortunes rise and sometimes  
they fall. Flash has been the undisputed winner in the RIA wars up  
till now. Jobs is betting the future of the iP* platform on HTML5.  
Maybe he's wrong about it, but maybe he isn't. Time will tell.


Yes, technologies do change -- but it should be the free market that  
determines which technologies survive and which don't, not some  
ivory-tower egghead who determines by fiat what's best for everyone.  
THAT'S why I called Steve Jobs a bastard. Perhaps I should've said  
elitist bastard to make it clearer.


I truly DESPISE it when ONE person has the power to mess up things  
in my life. If everyone decided ON THEIR OWN to stop using Adobe  
Flash, that would be a completely different story -- the majority  
would have spoken, and I could more easily accept the outcome. But  
Jobs is simply deciding that he knows best, and we're going to all  
follow him because he's so damn smart. THAT is not the free market!





[flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread john_deerhoven
So much vitriol against poor Mr. Jobs. You'd swear he piddled in you guys' corn 
flakes.

--- In flexcoders@yahoogroups.com, "Laurence"  wrote:
>
> The whole reason I chose to learn Flex is that it (at the time) ran on every 
> available platform. It was THE cross-platform language to learn.
>

Come now. Jobs didn't advise you to learn Flash. That was your own initiative. 
In fact, I'm pretty sure if you'd asked Jobs, say, 3-5 years back which 
languages/frameworks you should learn, Flash would not have been one of them. 
And in fact, anyone with any sense would have advised you that it's silly to 
specialize in some company's proprietary software and expect that to be the 
be-all and end-all of your training. Really, should Jobs now subsidize your 
paycheck because you chose to focus entirely on a technology that has _always_ 
been buggy on Macs?


>
> My arguments are not specious -- I *was* a part of that market at one time. 
> I'm being shut out of a market through NO FAULT OF MY OWN. Every Apple 
> product in the world will soon have zero support for Flash -- that's NOT what 
> I signed up for when I learned Flex. The MAIN REASON I learned Flex was for 
> its cross-platform capabilites. I never had to worry about what system my 
> programs were running on. Now Apple is gone from that equation -- ergo 25% of 
> my customers just disappeared, unless I can get them all to buy PCs. Thanks, 
> Steve!
>

He hasn't shut you out. You are just refusing to adapt to the new rules. Go 
learn Objective C, or whatever Jobs wants you to learn if you want to stay in 
the Mac game. It's probably not hard to learn, either -- possibly even fun, if 
Jobs recommends it.


> It just really angers me if I were to own a device and some entity somewhere 
> tells me I cannot run my own software on it. I would be ranting against MS or 
> Linux just as angrily, if they were to suddenly come out and say I couldn't 
> run a particular piece of software just because they "don't like it anymore." 
> (And, yes I read that article where MS says that HTML5 is the 'future of the 
> internet.' They said nothing about removing Flash support from Microsoft 
> Windows in that article. Steve Jobs IS going to remove Flash from all Apple 
> products everywhere -- THAT'S my problem with this!)
>

Newflash: Microsoft reserves the right to remove support for Flash if they 
decide it's in their long-term commercial interest to do so. Consider yourself 
warned.


> >
> > If you want to develop for the iP*, then learn objective C or use 
> > HTML5/Javascript. If you don't then don't. Again, it's a simple choice you 
> > can make.
>
> It's NOT a simple choice -- learning a whole other programming language is 
> not a simple task. Before old Steve-o came out against Flash, I could write 
> one program that would work on Windows, Linux, and Mac. Now Mac is gone from 
> that equation -- thanks to some facist prick who thinks he knows everything 
> that everyone else should do.
>

Stop the name calling and hit the books, G. You sound a bit like a man with a 
pickaxe complaining that the construction companies have decided to use only 
jackhammers.
 

> Yes, technologies do change -- but it should be the free market that 
> determines which technologies survive and which don't, not some ivory-tower 
> egghead who determines by fiat what's best for everyone. THAT'S why I called 
> Steve Jobs a bastard. Perhaps I should've said elitist bastard to make it 
> clearer.
>
> I truly DESPISE it when ONE person has the power to mess up things in my 
> life. If everyone decided ON THEIR OWN to stop using Adobe Flash, that would 
> be a completely different story -- the majority would have spoken, and I 
> could more easily accept the outcome. But Jobs is simply deciding that he 
> knows best, and we're going to all follow him because he's so damn smart. 
> THAT is not the free market!
>

Come on, bro. It's capitalism at work. You don't like it, let's all lobby the 
government to take these sorts of decisions out of the hands of capricious 
executives -- and put them in the hands of the democratic majority, where they 
obviously belong. Technology will move forward so much faster without those 
pesky businessmen in the way.




[flexcoders] Cube animation

2010-05-03 Thread Christophe
Hello, 

I am searching an example of a flax animation of a rotating cube with a image 
on each side.

Thank you,
Christophe,



Re: [flexcoders] how to know swf flash version?

2010-05-03 Thread Oleg Sivokon
The SWF version is the fourth byte in the file header. I'm not sure what
flash version means.