Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading in Flex?

2008-05-31 Thread Paul Andrews
Not if you want a swf that can be controlled from AS3. From the FAQ:

What version of Flash Player is required to display Flash documents created by 
FlashPaper?

Flash documents can be displayed by any browser with Flash Player 6 or higher 
installed. Some features, like text search, are only available in browsers with 
Flash Player 7 or higher installed.

So it has to be AS2 based. Unless you know different, of course.

It's not clear to me whether FlashPaper supports animation. Flash conversion of 
powerpoint presentations that don't have transitions or animation is 
straightforward.

Paul

  - Original Message - 
  From: Alex Harui 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, May 31, 2008 5:25 AM
  Subject: RE: [flexcoders] How to convert a powerpoint to AS3 swf for loading 
in Flex?


  Looks like you can buy FlashPaper for $79

   

  http://www.adobe.com/products/flashpaper/

   


--

  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
Andrews
  Sent: Friday, May 30, 2008 2:27 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading 
in Flex?

   

  - Original Message - 
  From: rdebled [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Friday, May 30, 2008 9:55 PM
  Subject: [flexcoders] How to convert a powerpoint to AS3 swf for loading in 
  Flex?

  I need to load a powerpoint file inside my Flex app. I planned to
   just convert the ppt to a swf and load that with a SWFLoader control,
   but every conversion app I've run in to creates a Flash 8 AS2 file.
   This seems to make it impossible to control the slides because the
   SWF has to load as an AVM1Movie.
  
   Does anyone know of any tools that convert to Flash 9 format, or some
   other way to create an AS3 swf out of a ppt file?
  
   Thanks.

  I've also done that search - AFAIK there are no AS3 based converters. I've 
  just asked almost the same question on flashcoders and basically the 
  solution is to:

  1) Create an AS2 swf to load and control an imported AS2 swf (your ppt 
  slide).
  2) The AS3 code will create a local connection, to which the AS2 listens. 
  The AS3 code then messages the AS2 swf via the connection and the wrapper 
  controls the ppt swf accordingly.

  Check out the flashcoders archives for today.

  Paul

   

Re: [flexcoders] Re: Replaying an Embedding SWF

2008-05-31 Thread EECOLOR
 *[Embed(source=applicationContext.xml,
mimeType=application/octet-stream)]
public class EmbeddedContent extends ByteArray

*
Greetz Erik



On 5/30/08, kenny14390 [EMAIL PROTECTED] wrote:

 I looked into your ByteArray method but I couldn't find enough
 documentation online to show how to do it. Any tips?




[flexcoders] Panel with no borders. How To?

2008-05-31 Thread Manu Dhanda

Hii

I need a panel with no border or say with border with ZERO width.

How can I get this done?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Panel-with-no-borders.-How-To--tp17573772p17573772.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Panel with no borders. How To?

2008-05-31 Thread Josh McDonald
new Canvas();

;-)

On Sat, May 31, 2008 at 8:11 PM, Manu Dhanda [EMAIL PROTECTED]
wrote:


 Hii

 I need a panel with no border or say with border with ZERO width.

 How can I get this done?

 Thanks.
 --
 View this message in context:
 http://www.nabble.com/Panel-with-no-borders.-How-To--tp17573772p17573772.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Re: Panel with no borders. How To?

2008-05-31 Thread Cato Paus
Hi First off all you have this: borderStyle=none

and you can do this to:
borderStyle=none borderThickness=0 borderThicknessBottom=0 
borderThicknessLeft=0 borderThicknessRight=0 
borderThicknessTop=0

and finaly:

paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0

play with these params. you probaly will find wath your looking for :)

Cato Paus
http://www.umbrellacorp.no




--- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED] 
wrote:

 
 Hii
 
 I need a panel with no border or say with border with ZERO width.
 
 How can I get this done?
 
 Thanks.
 -- 
 View this message in context: http://www.nabble.com/Panel-with-no-
borders.-How-To--tp17573772p17573772.html
 Sent from the FlexCoders mailing list archive at Nabble.com.





[flexcoders] Re: data object in itemrenderer is null ...kind of solved

2008-05-31 Thread max.bruchmann
Hmm no wasn't the issue.
The problem was that I had a in my itemrenderer component
mx:Image...source={flagSource} ...

script
...
public function get flagSource():Class
{
if(data.rating==0) return aSource;

}

/script

after chaning this to:
mx:Image...source={getFlagSource(data)} ...

script
...
public function getFlagSource(obj:Object):Class
{
if(obj.rating==0) return aSource;

}

/script

it works

cheers
max

--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 The datagridcolumn needs dataField=rating
 
  
 




Re: [flexcoders] Panel with no borders. How To?

2008-05-31 Thread Josh McDonald
Seriously though, what's your actual end goal? What is it about Panel you
want to keep?

-J

On Sat, May 31, 2008 at 8:35 PM, Josh McDonald [EMAIL PROTECTED] wrote:

 new Canvas();

 ;-)


 On Sat, May 31, 2008 at 8:11 PM, Manu Dhanda [EMAIL PROTECTED]
 wrote:


 Hii

 I need a panel with no border or say with border with ZERO width.

 How can I get this done?

 Thanks.
 --
 View this message in context:
 http://www.nabble.com/Panel-with-no-borders.-How-To--tp17573772p17573772.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




 --
 Therefore, send not to know For whom the bell tolls. It tolls for thee.

 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Two questions: Nested applications styles colllisions, flashvars injection

2008-05-31 Thread mydarkspoon
Hi all,
I'm targeting here 2 problems I've been struggling with for quite long
time regarding nested SWFs.

The first, which is more nasty and 5 times more evil is using different
styles for 2 flex applications where one application is loaded into the
shell app.
The behavior I'd like to have is like this:

 1. If the loaded app uses a class selector greenButton and the
loader also uses this app, each of the applications would be able to use
the greenButton definition it came with.
 2. Same as no. 1 but for type selectors (e.g Alert{...},
Button{...}).
 3. If the loaded app uses some component, whose styles weren't
defined (no class, nor type selctors) it would inherit these styles from
the loader app.

I can settle down without no. 3, but I can/t find anyway to achieve 1 
2.
To make this question clearer, I made a small app
http://www.2shared.com/file/3367026/55565dba/StylesTests.html?A   that
demonstrate the problem I'm refering:

The second issue that gives me hard time is like this:
I use a wrapper swf to load my main flex application. it works just
fine, it's a 1KB swf that does nothing but load a flex application.
However, the flex application is unaware of it being loaded into a
wrapper swf, and since it uses flashvars to know the basic coniguration
to work with (service url and so...), it reads the
Application.application.parameters.
The application.parameters, as you know is simply the
LoaderInfo.parameters copied into the application by thye SystemManager.
What I'd like to do is to inject the application the wrapper swf
flashvars (which is embedded in the html page) just before the
application dispatches the preinitialize event, which is where
client-server communication starts.

I could just load the flex app with query string (app.swf?mode=5), but
that would prevent browser caching, which I'd like to leverage on.
Then, the other options are:
1. Get a hold of the loaded swf root (SystemManager) and set it's
LoaderInfo.parameters to {mode: 5}. that would not work as this is a
read only property...
2. ok,so whay won't you get a reference of that parameters object and
dynamically add some properties to it like that:
var p:Object = loader.content.parameters;
p.mode = 5;
sounds ok, but guess what? every time you access the
loaderInfo.parameters it returns a different copy it, so you end up with
different object every time and can't add new proprties to the soource
object...grrr
3. Ok, so hacking my way there, I thought of changing the
loader.content[application].parameters, shich is a property copoed
from the SystemManager's loaderinfo.parameters.However, that can be done
only after the SystemManager dispatches an applicationComplete event
(because the sys manager just doesn't informs us of any other
events...), which isn't the best time to change the parameters, because
the loaded application can take a hold of them right after the
preinitialize event, which is when I always start to fetch
configuration data from the server.

I'd be grateful for any ideas. [:)]

Thanks in advance,

Almog Kurtser.


Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Paul Andrews
Microsoft could always avoid mistakes by licencing Flash and  Flex technology 
from Adobe..  ;-)

Scott, I won't beat the drum, since I'm probably alone in thinking this: It's 
difficullt to see posts by a Microsoft Product Manager as being intended to 
help the flex community. Silverlite and whatever else people may choose to use 
- fine, but effectively promoting product while 'informing' the flex community, 
I find problematic.

At least put your full title on your posts - don't be shy about being the  
WPF/Silverlight Product Manager.

I know that you have stated that you are no longer a product Evangelist. I 
think the only thing that has happened is that the evangelising has become more 
subtle.

Ironically, as a Flex developer I have a feeling I'm about to get beat up for 
this post.

Paul

(I'd also add that if I were sitting on a Microsoft forum (shudder), I'd feel 
equally peeved if Adobe bods were sticking their nose in there)

  - Original Message - 
  From: Scott Barnes 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, May 30, 2008 8:18 PM
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


  heh, that would be an assumption. I use this forum to see what the average 
joe is having trouble with so that I can ensure we don't repeat the same 
mistakes, think of this as a great ear to the grown forum. I gave up my Flex 
days in 2007 ...

  Anyway.. just setting the record straght around some misconceptions around 
our products, do what you will with that.


  On Fri, May 30, 2008 at 9:11 AM, Paul Andrews [EMAIL PROTECTED] wrote:

I'm always nice and MS marketing never sleeps.

It's good to see that even Microsoft management are coding in Flex these 
days.. ;-)

Have a good weekend.

Paul 



- Original Message - 
From: Troy Gilbert [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com

Sent: Friday, May 30, 2008 4:36 PM
Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


 Just for a moment I thought this was the flex coders forum rather than an
 extension of the MS marketing effort..

 Okay, be nice, it's on-topic... the thread had lead to a question of
 whether it was possible to develop in Silverlight for free (in the
 same way its possible to develop in Flex for free). Scott was able to
 provide an authoritative answer on that, which is good, because it was
 suggested that it was not an option and that one would have to
 purchase Expression. I think the marketing effort in Scott's e-mail
 was little to non-existent.

 Troy.


  


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 

 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links



 







  -- 
  Regards,
  Scott Barnes
  http://www.mossyblog.com  

[flexcoders] Re: The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Jeff Houser

 I just re-read the whole thread; and am unsure how Scott's post could
be construed as inappropriate.  Someone said I thought X, and that
was wrong; so Scott posted the appropriate info.  He wasn't the one
who brought up the topic of Silverlight. 

 I agree that adding a sig with his title would be good forum
etiquette.  I would make the same recommendation to the Adobe
employees who post here, though.


--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:

 Microsoft could always avoid mistakes by licencing Flash and  Flex
technology from Adobe..  ;-)
 
 Scott, I won't beat the drum, since I'm probably alone in thinking
this: It's difficullt to see posts by a Microsoft Product Manager as
being intended to help the flex community. Silverlite and whatever
else people may choose to use - fine, but effectively promoting
product while 'informing' the flex community, I find problematic.
 
 At least put your full title on your posts - don't be shy about
being the  WPF/Silverlight Product Manager.
 
 I know that you have stated that you are no longer a product
Evangelist. I think the only thing that has happened is that the
evangelising has become more subtle.
 
 Ironically, as a Flex developer I have a feeling I'm about to get
beat up for this post.
 
 Paul
 
 (I'd also add that if I were sitting on a Microsoft forum (shudder),
I'd feel equally peeved if Adobe bods were sticking their nose in there)
 
   - Original Message - 
   From: Scott Barnes 
   To: flexcoders@yahoogroups.com 
   Sent: Friday, May 30, 2008 8:18 PM
   Subject: Re: [flexcoders] The different between generial Flex 3
and Flex 3 Profesional?
 
 
   heh, that would be an assumption. I use this forum to see what the
average joe is having trouble with so that I can ensure we don't
repeat the same mistakes, think of this as a great ear to the grown
forum. I gave up my Flex days in 2007 ...
 
   Anyway.. just setting the record straght around some
misconceptions around our products, do what you will with that.
 
 
   On Fri, May 30, 2008 at 9:11 AM, Paul Andrews [EMAIL PROTECTED] wrote:
 
 I'm always nice and MS marketing never sleeps.
 
 It's good to see that even Microsoft management are coding in
Flex these 
 days.. ;-)
 
 Have a good weekend.
 
 Paul 
 
 
 
 - Original Message - 
 From: Troy Gilbert [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 
 Sent: Friday, May 30, 2008 4:36 PM
 Subject: Re: [flexcoders] The different between generial Flex 3
and Flex 3 
 Profesional?
 
 
  Just for a moment I thought this was the flex coders forum
rather than an
  extension of the MS marketing effort..
 
  Okay, be nice, it's on-topic... the thread had lead to a
question of
  whether it was possible to develop in Silverlight for free (in the
  same way its possible to develop in Flex for free). Scott was
able to
  provide an authoritative answer on that, which is good,
because it was
  suggested that it was not an option and that one would have to
  purchase Expression. I think the marketing effort in Scott's
e-mail
  was little to non-existent.
 
  Troy.
 
 
   
 
 
  --
  Flexcoders Mailing List
  FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
Groups 
  Links
 
 
 
  
 
 
 
 
 
 
 
   -- 
   Regards,
   Scott Barnes
   http://www.mossyblog.com





[flexcoders] Re: Drilldown ideas

2008-05-31 Thread markgoldin_2000
Yes, that took care of Blur. But still, the surface of the screen is 
changed when a popup gets on it. Is there a way to keep it unchanged?

--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] 
wrote:

 You can get rid of the popup window's blur effect by setting 
 the modalTransparencyBlur style inherited from Panel.  I think 
you'd 
 set it to 0.
 
 HTH,
 Doug
 
 --- In flexcoders@yahoogroups.com, markgoldin_2000 
 markgoldin_2000@ wrote:
 
  If a user wants to drilldown into a dataGrid's cell what could 
have 
  been the best approach? Popup windows? Other ideas? If popup it 
is, 
 can 
  I completely get rid of a blur affect when popup window is shown?
  
  Thanks for help.
 





[flexcoders] Reusing anothers cached rsl framework

2008-05-31 Thread Hyder
I'm developing a website in flex. It uses some basic components... dg,
button, tabnav, etc. When I export the framework as a swz file, it
shows to be about 523KB (its framework 477: sdk3).

If this framework is cached by another domain, will flash player reuse
that framework or will it force the user to download this too?

If it does use the framework stored by another domain, what's the most
commonly used framework? I really hope the next flash player comes
with the flex framework coded into the player.



Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread bubbamorse
Wow! 

I'm amazed to see the meandering (and aggressiveness of some folks) within this 
thread

Paul - Scott offered a simple straight forward answer to a question (i.e. a 
informational and meaningful post). Sobecause someone works for Microsoft 
you choose to lambast their writings and viewpoints? Damn, that's down right 
silly...



From: Paul Andrews 
Sent: Saturday, May 31, 2008 7:06 AM
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?



Microsoft could always avoid mistakes by licencing Flash and  Flex technology 
from Adobe..  ;-)

Scott, I won't beat the drum, since I'm probably alone in thinking this: It's 
difficullt to see posts by a Microsoft Product Manager as being intended to 
help the flex community. Silverlite and whatever else people may choose to use 
- fine, but effectively promoting product while 'informing' the flex community, 
I find problematic.

At least put your full title on your posts - don't be shy about being the  
WPF/Silverlight Product Manager.

I know that you have stated that you are no longer a product Evangelist. I 
think the only thing that has happened is that the evangelising has become more 
subtle.

Ironically, as a Flex developer I have a feeling I'm about to get beat up for 
this post.

Paul

(I'd also add that if I were sitting on a Microsoft forum (shudder), I'd feel 
equally peeved if Adobe bods were sticking their nose in there)

  - Original Message - 
  From: Scott Barnes 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, May 30, 2008 8:18 PM
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


  heh, that would be an assumption. I use this forum to see what the average 
joe is having trouble with so that I can ensure we don't repeat the same 
mistakes, think of this as a great ear to the grown forum. I gave up my Flex 
days in 2007 ...

  Anyway.. just setting the record straght around some misconceptions around 
our products, do what you will with that.


  On Fri, May 30, 2008 at 9:11 AM, Paul Andrews [EMAIL PROTECTED] wrote:

I'm always nice and MS marketing never sleeps.

It's good to see that even Microsoft management are coding in Flex these 
days.. ;-)

Have a good weekend.

Paul 



- Original Message - 
From: Troy Gilbert [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com

Sent: Friday, May 30, 2008 4:36 PM
Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


 Just for a moment I thought this was the flex coders forum rather than an
 extension of the MS marketing effort..

 Okay, be nice, it's on-topic... the thread had lead to a question of
 whether it was possible to develop in Silverlight for free (in the
 same way its possible to develop in Flex for free). Scott was able to
 provide an authoritative answer on that, which is good, because it was
 suggested that it was not an option and that one would have to
 purchase Expression. I think the marketing effort in Scott's e-mail
 was little to non-existent.

 Troy.


  


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 

 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links



 







  -- 
  Regards,
  Scott Barnes
  http://www.mossyblog.com 

 

[flexcoders] Referring to external assets from within Flash swf

2008-05-31 Thread Giles Roadnight
Hi All

This is a little complicated so I hop eI can make it clear!

we have a flex applciation that loads xml and displays pictures and videos.

These live in

assets/images/*.jpg
asets/videos/*.flv
assets/presentation.xml

and are referred to exactly as above.

When this applciation is to be used in the wild it will be played with an
exe file created with flash (so we don't have to rely on flash player being
on end users computer). This exe loads the swf as follows:

assets/presentation.swf

So the way I thought it woudl work is that the images and video folders and
the xml file would all go in the assets folder. Presentation.swf is fine
loading presentation.xml from assets but for some reason it does not find
the images and videos so they have to go in assets/assets/images.

why would the root folder for the xml be the exe folder but the root folder
for the images and vides be the swf folder?

Thanks


-- 
Giles Roadnight
http://giles.roadnight.name


Re: [flexcoders] Re: The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Josh McDonald
Frankly Microsoft would be idiots not to have at least a few lurkers on the
list. However, I think Silverlight it a joke. It's a shame the talented
engineers at Microsoft aren't allowed to develop anything without the
business tying it to Windows in some way.

-J

On Sun, Jun 1, 2008 at 12:53 AM, Jeff Houser [EMAIL PROTECTED] wrote:


 I just re-read the whole thread; and am unsure how Scott's post could
 be construed as inappropriate. Someone said I thought X, and that
 was wrong; so Scott posted the appropriate info. He wasn't the one
 who brought up the topic of Silverlight.

 I agree that adding a sig with his title would be good forum
 etiquette. I would make the same recommendation to the Adobe
 employees who post here, though.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paul
 Andrews [EMAIL PROTECTED] wrote:
 
  Microsoft could always avoid mistakes by licencing Flash and Flex
 technology from Adobe.. ;-)
 
  Scott, I won't beat the drum, since I'm probably alone in thinking
 this: It's difficullt to see posts by a Microsoft Product Manager as
 being intended to help the flex community. Silverlite and whatever
 else people may choose to use - fine, but effectively promoting
 product while 'informing' the flex community, I find problematic.
 
  At least put your full title on your posts - don't be shy about
 being the WPF/Silverlight Product Manager.
 
  I know that you have stated that you are no longer a product
 Evangelist. I think the only thing that has happened is that the
 evangelising has become more subtle.
 
  Ironically, as a Flex developer I have a feeling I'm about to get
 beat up for this post.
 
  Paul
 
  (I'd also add that if I were sitting on a Microsoft forum (shudder),
 I'd feel equally peeved if Adobe bods were sticking their nose in there)
 
  - Original Message -
  From: Scott Barnes
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Sent: Friday, May 30, 2008 8:18 PM
  Subject: Re: [flexcoders] The different between generial Flex 3
 and Flex 3 Profesional?
 
 
  heh, that would be an assumption. I use this forum to see what the
 average joe is having trouble with so that I can ensure we don't
 repeat the same mistakes, think of this as a great ear to the grown
 forum. I gave up my Flex days in 2007 ...
 
  Anyway.. just setting the record straght around some
 misconceptions around our products, do what you will with that.
 
 
  On Fri, May 30, 2008 at 9:11 AM, Paul Andrews [EMAIL PROTECTED] wrote:
 
  I'm always nice and MS marketing never sleeps.
 
  It's good to see that even Microsoft management are coding in
 Flex these
  days.. ;-)
 
  Have a good weekend.
 
  Paul
 
 
 
  - Original Message -
  From: Troy Gilbert [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 
  Sent: Friday, May 30, 2008 4:36 PM
  Subject: Re: [flexcoders] The different between generial Flex 3
 and Flex 3
  Profesional?
 
 
   Just for a moment I thought this was the flex coders forum
 rather than an
   extension of the MS marketing effort..
  
   Okay, be nice, it's on-topic... the thread had lead to a
 question of
   whether it was possible to develop in Silverlight for free (in the
   same way its possible to develop in Flex for free). Scott was
 able to
   provide an authoritative answer on that, which is good,
 because it was
   suggested that it was not an option and that one would have to
   purchase Expression. I think the marketing effort in Scott's
 e-mail
   was little to non-existent.
  
   Troy.
  
 
   
 
  
   --
   Flexcoders Mailing List
   FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
 
   http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
 Groups
   Links
  
  
  
  
 
 
 
 
 
 
 
  --
  Regards,
  Scott Barnes
  http://www.mossyblog.com
 

  




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading in Flex?

2008-05-31 Thread Sherif Abdou
probably a bad idea but maybe you can try Adobe Captivate 3? Launch the 
PowerPoint then have it record it. I really don't know but just a suggestion. 


- Original Message 
From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, May 31, 2008 3:39:54 AM
Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading in 
Flex?


Not if you want a swf that can be controlled from 
AS3. From the FAQ:
 
What version of Flash Player is required to display Flash 
documents created by FlashPaper?
Flash documents can be displayed by any browser with Flash Player 6 or higher 
installed. Some features, like text search, are only available in browsers with 
Flash Player 7 or higher installed.
So it has to be AS2 based. Unless you know different, of course.
It's not clear to me whether FlashPaper supports 
animation. Flash conversion of powerpoint presentations that don't have 
transitions or animation is straightforward.
Paul
- Original Message - 
From: Alex Harui 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, May 31, 2008 5:25 
AM
Subject: RE: [flexcoders] How to convert  a powerpoint to AS3 swf for loading 
in Flex?

Looks like you can  buy FlashPaper for $79
 
http://www.adobe. com/products/ flashpaper/
 


 
From:[EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of Paul  Andrews
Sent: Friday, May 30,  2008 2:27 PM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] How to convert  a powerpoint to AS3 swf for loading 
in 
Flex?
 
- Original Message - 
From: rdebled  [EMAIL PROTECTED] ca
To:  [EMAIL PROTECTED] ups.com
Sent:  Friday, May 30, 2008 9:55 PM
Subject: [flexcoders] How to convert a  powerpoint to AS3 swf for loading in 
Flex?

I need to load a  powerpoint file inside my Flex app. I planned to
 just convert the ppt  to a swf and load that with a SWFLoader control,
 but every conversion  app I've run in to creates a Flash 8 AS2 file.
 This seems to make it  impossible to control the slides because the
 SWF has to load as an  AVM1Movie.

 Does anyone know of any tools that convert to Flash  9 format, or some
 other way to create an AS3 swf out of a ppt  file?

 Thanks.

I've also done that search - AFAIK there  are no AS3 based converters. I've 
just asked almost the same question on  flashcoders and basically the 
solution is to:

1) Create an AS2 swf  to load and control an imported AS2 swf (your ppt 
slide).
2) The AS3  code will create a local connection, to which the AS2 listens. 
The AS3  code then messages the AS2 swf via the connection and the wrapper 
controls  the ppt swf accordingly.

Check out the flashcoders archives for  today.

Paul 


  

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Josh McDonald
Overreacting maybe, but not silly. Microsoft has many years of playing
nicely ahead of them before they get benefit of the doubt.

-J

On Sat, May 31, 2008 at 10:20 PM, [EMAIL PROTECTED] wrote:

Wow!

 I'm amazed to see the meandering (and aggressiveness of some folks)
 within this thread

 Paul - Scott offered a simple straight forward answer to a question (i.e. a
 informational and meaningful post). Sobecause someone works for
 Microsoft you choose to lambast their writings and viewpoints? Damn, that's
 down right silly...


  *From:* Paul Andrews [EMAIL PROTECTED]
 *Sent:* Saturday, May 31, 2008 7:06 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] The different between generial Flex 3 and Flex
 3 Profesional?

  Microsoft could always avoid mistakes by licencing Flash and  Flex
 technology from Adobe..  ;-)

 Scott, I won't beat the drum, since I'm probably alone in thinking this:
 It's difficullt to see posts by a Microsoft Product Manager as being
 intended to help the flex community. Silverlite and whatever else people may
 choose to use - fine, but effectively promoting product while 'informing'
 the flex community, I find problematic.

 At least put your full title on your posts - don't be shy about being the  
 WPF/Silverlight
 Product Manager.

 I know that you have stated that you are no longer a product Evangelist. I
 think the only thing that has happened is that the evangelising has become
 more subtle.

 Ironically, as a Flex developer I have a feeling I'm about to get beat up
 for this post.

 Paul
 **
 (I'd also add that if I were sitting on a Microsoft forum (shudder), I'd
 feel equally peeved if Adobe bods were sticking their nose in there)
 **

 - Original Message -
 *From:* Scott Barnes [EMAIL PROTECTED]
 *To:* flexcoders@yahoogroups.com
 *Sent:* Friday, May 30, 2008 8:18 PM
 *Subject:* Re: [flexcoders] The different between generial Flex 3 and Flex
 3 Profesional?

 heh, that would be an assumption. I use this forum to see what the average
 joe is having trouble with so that I can ensure we don't repeat the same
 mistakes, think of this as a great ear to the grown forum. I gave up my Flex
 days in 2007 ...

 Anyway.. just setting the record straght around some misconceptions around
 our products, do what you will with that.

 On Fri, May 30, 2008 at 9:11 AM, Paul Andrews [EMAIL PROTECTED] wrote:

   I'm always nice and MS marketing never sleeps.

 It's good to see that even Microsoft management are coding in Flex these
 days.. ;-)

 Have a good weekend.

 Paul


 - Original Message -
 From: Troy Gilbert [EMAIL PROTECTED] troy.gilbert%40gmail.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Friday, May 30, 2008 4:36 PM
 Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3

 Profesional?

  Just for a moment I thought this was the flex coders forum rather than
 an
  extension of the MS marketing effort..
 
  Okay, be nice, it's on-topic... the thread had lead to a question of
  whether it was possible to develop in Silverlight for free (in the
  same way its possible to develop in Flex for free). Scott was able to
  provide an authoritative answer on that, which is good, because it was
  suggested that it was not an option and that one would have to
  purchase Expression. I think the marketing effort in Scott's e-mail
  was little to non-existent.
 
  Troy.
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 
 




 --
 Regards,
 Scott Barnes
 http://www.mossyblog.com

   




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] book errata

2008-05-31 Thread Mark Volkmann
Is there an errata page for the book Adobe Flex 3 - Training from the Source?



Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Paul Andrews
I guess I'm the agressive one. I've seen other products where former 
practictioners of product A have moved to rival company B and return to their 
former haunts to help out company A's customers with their insight.

You would have to be naive to consider that the product manager for 
WPF/Silverlight is only interested in answering technical questions when the 
future of his technology depends on dragging Flex developers screaming and 
shouting towards his product set.

I'm sure Scott is a great guy, but while he has that big desk at Microsoft, his 
life has to be oriented towards pushing his technology, however subtly he 
choses to do it. I don't think this is particularly subtle, even if others see 
no harm in it.

If some flex user has some issues with silverlight integration and someone who 
knows about it chips in great. When that's the product manager for a competing 
product, well I'm not so happy. I've seen it done before.

Paul
  - Original Message - 
  From: [EMAIL PROTECTED] 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, May 31, 2008 1:20 PM
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


  Wow! 

  I'm amazed to see the meandering (and aggressiveness of some folks) within 
this thread

  Paul - Scott offered a simple straight forward answer to a question (i.e. a 
informational and meaningful post). Sobecause someone works for Microsoft 
you choose to lambast their writings and viewpoints? Damn, that's down right 
silly...



  From: Paul Andrews 
  Sent: Saturday, May 31, 2008 7:06 AM
  To: flexcoders@yahoogroups.com 
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?



  Microsoft could always avoid mistakes by licencing Flash and  Flex technology 
from Adobe..  ;-)

  Scott, I won't beat the drum, since I'm probably alone in thinking this: It's 
difficullt to see posts by a Microsoft Product Manager as being intended to 
help the flex community. Silverlite and whatever else people may choose to use 
- fine, but effectively promoting product while 'informing' the flex community, 
I find problematic.

  At least put your full title on your posts - don't be shy about being the  
WPF/Silverlight Product Manager.

  I know that you have stated that you are no longer a product Evangelist. I 
think the only thing that has happened is that the evangelising has become more 
subtle.

  Ironically, as a Flex developer I have a feeling I'm about to get beat up for 
this post.

  Paul

  (I'd also add that if I were sitting on a Microsoft forum (shudder), I'd feel 
equally peeved if Adobe bods were sticking their nose in there)

- Original Message - 
From: Scott Barnes 
To: flexcoders@yahoogroups.com 
Sent: Friday, May 30, 2008 8:18 PM
Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


heh, that would be an assumption. I use this forum to see what the average 
joe is having trouble with so that I can ensure we don't repeat the same 
mistakes, think of this as a great ear to the grown forum. I gave up my Flex 
days in 2007 ...

Anyway.. just setting the record straght around some misconceptions around 
our products, do what you will with that.


On Fri, May 30, 2008 at 9:11 AM, Paul Andrews [EMAIL PROTECTED] wrote:

  I'm always nice and MS marketing never sleeps.

  It's good to see that even Microsoft management are coding in Flex these 
  days.. ;-)

  Have a good weekend.

  Paul 



  - Original Message - 
  From: Troy Gilbert [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com

  Sent: Friday, May 30, 2008 4:36 PM
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 
3 
  Profesional?


   Just for a moment I thought this was the flex coders forum rather than 
an
   extension of the MS marketing effort..
  
   Okay, be nice, it's on-topic... the thread had lead to a question of
   whether it was possible to develop in Silverlight for free (in the
   same way its possible to develop in Flex for free). Scott was able to
   provide an authoritative answer on that, which is good, because it was
   suggested that it was not an option and that one would have to
   purchase Expression. I think the marketing effort in Scott's e-mail
   was little to non-existent.
  
   Troy.
  

    

  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: 

   http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
   Links
  
  
  
   







-- 
Regards,
Scott Barnes
http://www.mossyblog.com 

   

Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading in Flex?

2008-05-31 Thread Paul Andrews
Captivate is AS2..
  - Original Message - 
  From: Sherif Abdou 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, May 31, 2008 4:32 PM
  Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading 
in Flex?


  probably a bad idea but maybe you can try Adobe Captivate 3? Launch the 
PowerPoint then have it record it. I really don't know but just a suggestion. 


  - Original Message 
  From: Paul Andrews [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Saturday, May 31, 2008 3:39:54 AM
  Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading 
in Flex?



  Not if you want a swf that can be controlled from AS3. From the FAQ:

  What version of Flash Player is required to display Flash documents created 
by FlashPaper? 
  Flash documents can be displayed by any browser with Flash Player 6 or higher 
installed. Some features, like text search, are only available in browsers with 
Flash Player 7 or higher installed.

  So it has to be AS2 based. Unless you know different, of course.

  It's not clear to me whether FlashPaper supports animation. Flash conversion 
of powerpoint presentations that don't have transitions or animation is 
straightforward.

  Paul

- Original Message - 
From: Alex Harui 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, May 31, 2008 5:25 AM
Subject: RE: [flexcoders] How to convert a powerpoint to AS3 swf for 
loading in Flex?


Looks like you can buy FlashPaper for $79



http://www.adobe. com/products/ flashpaper/






From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On 
Behalf Of Paul Andrews
Sent: Friday, May 30, 2008 2:27 PM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for 
loading in Flex?



- Original Message - 
From: rdebled [EMAIL PROTECTED] ca
To: [EMAIL PROTECTED] ups.com
Sent: Friday, May 30, 2008 9:55 PM
Subject: [flexcoders] How to convert a powerpoint to AS3 swf for loading in 
Flex?

I need to load a powerpoint file inside my Flex app. I planned to
 just convert the ppt to a swf and load that with a SWFLoader control,
 but every conversion app I've run in to creates a Flash 8 AS2 file.
 This seems to make it impossible to control the slides because the
 SWF has to load as an AVM1Movie.

 Does anyone know of any tools that convert to Flash 9 format, or some
 other way to create an AS3 swf out of a ppt file?

 Thanks.

I've also done that search - AFAIK there are no AS3 based converters. I've 
just asked almost the same question on flashcoders and basically the 
solution is to:

1) Create an AS2 swf to load and control an imported AS2 swf (your ppt 
slide).
2) The AS3 code will create a local connection, to which the AS2 listens. 
The AS3 code then messages the AS2 swf via the connection and the wrapper 
controls the ppt swf accordingly.

Check out the flashcoders archives for today.

Paul



   

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Troy Gilbert
 Overreacting maybe, but not silly. Microsoft has many years of playing
 nicely ahead of them before they get benefit of the doubt.

We don't have to give MS the benefit of the doubt... just Scott. And
over the last year or so, I've not seen anything from Scott that would
suggest we should give him anything *but* the benefit-of-the-doubt.

Looking over the thread what I see is Flex developers stating facts
about Silverlight that weren't true, the Silverlight PM correcting
those errors, and then multiple Flex developers accusing the PM of
marketing as well as directly insulting his employer and product.

Sorry to tell you guys, but MS is looking classy here, and Flex
(developers) is looking slummy.

We're better than that. Let's drop it.

Troy.


[flexcoders] Re: How to convert Powerpoint presentation tp Flex or Flash?

2008-05-31 Thread Anthony DeBonis
We have used both flashSpring and dreamsoft on a Coldfusion server to 
take a upload PPT and convert them into swf files that get pulled back 
into the Flex application.  

--- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] 
wrote:

 I have a ppt file and want to play it with Flex.
 
 Please give me a idea how to do this.
 
 Thanks
 
 Mark





[flexcoders] Re: The BlazeDS server ?

2008-05-31 Thread Anthony DeBonis
CF can do RemoteObject no problem out of the Box.

You can use BlazeDS if you want to do messaging... push or pull/ 
publish subscribe.  It also allows you to call Java/pojo from Flex and 
other features too.

--- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] 
wrote:

 Hi
 
 Do I have to install BlazeDS if I want to use remoteobject with
 Coldfusion and Flex.
 
 I am very confuse when I need use BlazeDS.Please give me an idea.
 
 Thanks
 
 
 Mark





Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Jeffry Houser


One of my friends, a long time ColdFusion Developer has been doing a 
lot of work with Ruby lately.  Are you saying it's wrong for him to talk 
to me about Ruby?


I'm not grokking the basis of your argument. 


Paul Andrews wrote:


I guess I'm the agressive one. I've seen other products where former 
practictioners of product A have moved to rival company B and return 
to their former haunts to help out company A's customers with their 
insight.
 








--
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711  | Phone: 1-203-379-0773
--
Adobe Community Expert 
http://www.adobe.com/communities/experts/members/JeffryHouser.html
My Company: http://www.dot-com-it.com 
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com 



RE: [flexcoders] Reusing anothers cached rsl framework

2008-05-31 Thread Alex Harui
It will use the one you've asked for.  If it has been cached by another
domain, it will not be downloaded again.  I don't think there are good
stats on which version is more popular.

 

We'll probably never bake the framework into the player as that would
bloat the player, and not allow us to have different release cycles, and
tie a framework to a player.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Hyder
Sent: Saturday, May 31, 2008 7:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reusing anothers cached rsl framework

 

I'm developing a website in flex. It uses some basic components... dg,
button, tabnav, etc. When I export the framework as a swz file, it
shows to be about 523KB (its framework 477: sdk3).

If this framework is cached by another domain, will flash player reuse
that framework or will it force the user to download this too?

If it does use the framework stored by another domain, what's the most
commonly used framework? I really hope the next flash player comes
with the flex framework coded into the player.

 



RE: [flexcoders] Referring to external assets from within Flash swf

2008-05-31 Thread Alex Harui
We try to fix up relative paths in Image and SWFLoader in order to
handle more complicated scenarios.  URLLoader doesn't, so that may be
the difference.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giles Roadnight
Sent: Saturday, May 31, 2008 8:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Referring to external assets from within Flash swf

 

Hi All

This is a little complicated so I hop eI can make it clear!

we have a flex applciation that loads xml and displays pictures and
videos. 

These live in 

assets/images/*.jpg
asets/videos/*.flv
assets/presentation.xml

and are referred to exactly as above.

When this applciation is to be used in the wild it will be played with
an exe file created with flash (so we don't have to rely on flash player
being on end users computer). This exe loads the swf as follows:

assets/presentation.swf

So the way I thought it woudl work is that the images and video folders
and the xml file would all go in the assets folder. Presentation.swf is
fine loading presentation.xml from assets but for some reason it does
not find the images and videos so they have to go in
assets/assets/images.

why would the root folder for the xml be the exe folder but the root
folder for the images and vides be the swf folder?

Thanks


-- 
Giles Roadnight
http://giles.roadnight.name http://giles.roadnight.name  

 



RE: [flexcoders] Two questions: Nested applications styles colllisions, flashvars injection

2008-05-31 Thread Alex Harui
There is no good way to have a loaded SWF keep its own styles.  There
might be in 3.x later this year.

 

Since you own both SWFs, I'd simply have a handshake between the loader
and the loaded app.  Sublcass App, override its parameters property and
have it query the loading Apps loaderInfo.parameters.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mydarkspoon
Sent: Saturday, May 31, 2008 4:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Two questions: Nested applications styles
colllisions, flashvars injection

 

Hi all, 
I'm targeting here 2 problems I've been struggling with for quite long
time regarding nested SWFs.

The first, which is more nasty and 5 times more evil is using different
styles for 2 flex applications where one application is loaded into the
shell app.
The behavior I'd like to have is like this:

1. If the loaded app uses a class selector greenButton and the
loader also uses this app, each of the applications would be able to use
the greenButton definition it came with.
2. Same as no. 1 but for type selectors (e.g Alert{...},
Button{...}).
3. If the loaded app uses some component, whose styles weren't
defined (no class, nor type selctors) it would inherit these styles from
the loader app.

I can settle down without no. 3, but I can/t find anyway to achieve 1 
2.
To make this question clearer, I made a small app
http://www.2shared.com/file/3367026/5!%0d%0a%205565dba/StylesTests.html
?A   that demonstrate the problem I'm refering:

The second issue that gives me hard time is like this:
I use a wrapper swf to load my main flex application. it works just
fine, it's a 1KB swf that does nothing but load a flex application.
However, the flex application is unaware of it being loaded into a
wrapper swf, and since it uses flashvars to know the basic coniguration
to work with (service url and so...), it reads the
Application.application.parameters.
The application.parameters, as you know is simply the
LoaderInfo.parameters copied into the application by thye SystemManager.
What I'd like to do is to inject the application the wrapper swf
flashvars (which is embedded in the html page) just before the
application dispatches the preinitialize event, which is where
client-server communication starts.

I could just load the flex app with query string (app.swf?mode=5), but
that! would prevent browser caching, which I'd like to leverage on.! 
Then , the other options are:

1. Get a hold of the loaded swf root (SystemManager) and set
it's LoaderInfo.parameters to {mode: 5}. that would not work as this is
a read only property...
2. ok,so whay won't you get a reference of that parameters
object and dynamically add some properties to it like that:
var p:Object = loader.content.parameters;
p.mode = 5;
sounds ok, but guess what? every time you access the
loaderInfo.parameters it returns a different copy it, so you end up with
different object every time and can't add new proprties to the soource
object...grrr
3. Ok, so hacking my way there, I thought of changing the
loader.content[application].parameters, shich is a property copoed
from the SystemManager's loaderinfo.parameters.However, that can be done
only after the SystemManager dispatches an applicationComplete event
(because the sys manager just doesn't informs us of any other
events...), which is! n't the best time to change the parameters,
because the loaded application can take a hold of them right after the
preinitialize event, which is when I always start to fetch
configuration data from the server.


I'd be grateful for any ideas.
:)http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/01.gif 

Thanks in advance,

Almog Kurtser. 

 



RE: [flexcoders] How to convert a powerpoint to AS3 swf for loading in Flex?

2008-05-31 Thread Alex Harui
Yes, the output is an AS2 SWF.  But at least it is a SWF.  You can
control it from AS3 via 3rd party techniques that use LocalConnection or
ExternalInterface and a shim SWF

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Saturday, May 31, 2008 1:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for
loading in Flex?

 

Not if you want a swf that can be controlled from AS3. From the FAQ:

 

What version of Flash Player is required to display Flash documents
created by FlashPaper?

Flash documents can be displayed by any browser with Flash Player 6 or
higher installed. Some features, like text search, are only available in
browsers with Flash Player 7 or higher installed.

So it has to be AS2 based. Unless you know different, of course.

It's not clear to me whether FlashPaper supports animation. Flash
conversion of powerpoint presentations that don't have transitions or
animation is straightforward.

Paul

- Original Message - 

From: Alex Harui mailto:[EMAIL PROTECTED]  

To: flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com  

Sent: Saturday, May 31, 2008 5:25 AM

Subject: RE: [flexcoders] How to convert a powerpoint to AS3 swf
for loading in Flex?

 

Looks like you can buy FlashPaper for $79

 

http://www.adobe.com/products/flashpaper/
http://www.adobe.com/products/flashpaper/ 

 





From: flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com  [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Andrews
Sent: Friday, May 30, 2008 2:27 PM
To: flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf
for loading in Flex?

 

- Original Message - 
From: rdebled [EMAIL PROTECTED] mailto:rdebled%40yahoo.ca 
To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
Sent: Friday, May 30, 2008 9:55 PM
Subject: [flexcoders] How to convert a powerpoint to AS3 swf for
loading in 
Flex?

I need to load a powerpoint file inside my Flex app. I planned
to
 just convert the ppt to a swf and load that with a SWFLoader
control,
 but every conversion app I've run in to creates a Flash 8 AS2
file.
 This seems to make it impossible to control the slides because
the
 SWF has to load as an AVM1Movie.

 Does anyone know of any tools that convert to Flash 9 format,
or some
 other way to create an AS3 swf out of a ppt file?

 Thanks.

I've also done that search - AFAIK there are no AS3 based
converters. I've 
just asked almost the same question on flashcoders and basically
the 
solution is to:

1) Create an AS2 swf to load and control an imported AS2 swf
(your ppt 
slide).
2) The AS3 code will create a local connection, to which the AS2
listens. 
The AS3 code then messages the AS2 swf via the connection and
the wrapper 
controls the ppt swf accordingly.

Check out the flashcoders archives for today.

Paul

 



[flexcoders] MXML namespace

2008-05-31 Thread Mark Volkmann
Why does nearly all MXML use the mx prefix to refer to elements in the MXML 
namespace 
instead of making that be the default namespace? When you make it the default, 
the MXML 
looks much cleaner.



[flexcoders] MXML schema

2008-05-31 Thread Mark Volkmann
Is there an official XML Schema for MXML? If so, where can I get it?



[flexcoders] problems with displacementmap filter

2008-05-31 Thread thekluito
Hi, i'm tryin' to flip an image using the displacementmap filter (I
know I have other ways to ahieve the same results, but i really do
need a BitmapFilter). I'm using a white-to-black gradient, but the
closest I can get is with the following code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=init()
mx:Script
![CDATA[
private function init():void
{
var displacementMap:DisplacementMapFilter;
   
var gradient:Sprite = new Sprite();
   
var fillType:String = GradientType.LINEAR;
var colors:Array = [0xff, 0x00];
var alphas:Array = [100, 100];
var ratios:Array = [0x00, 0xFF];
var matr:Matrix = new Matrix();
   
matr.createGradientBox(img.width, img.height, 0, 0, 0);
   
gradient.graphics.beginGradientFill(fillType, colors,
alphas, ratios, matr); 
gradient.graphics.drawRect(0,0,img.width,img.height);
   
var mapImage:BitmapData = new
BitmapData(gradient.width, gradient.height, true);
mapImage.draw(gradient);
   
displacementMap = new DisplacementMapFilter();
displacementMap.mode = DisplacementMapFilterMode.IGNORE;
displacementMap.mapBitmap = mapImage;
displacementMap.mapPoint = new Point(0, 0);
displacementMap.componentX = BitmapDataChannel.RED;
displacementMap.scaleX = img.width*2;
   
img.filters = [displacementMap];
}
]]
/mx:Script
mx:Image id=img source=@Embed('imagen.png')/
/mx:Application

The result is not a clear flipped image, but a rough one.

Anyone can help me?


Lots of thanks in advanced,

Alberto



[flexcoders] dataGrid and checkBox

2008-05-31 Thread Laila Towailib
*what is the best way to add a checkbox field to each row of a datagrid and
read what is checked ?
I really need this for my project.*


Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Paul Andrews
No. I just think that when it's the head of a rival technology company 
technology, it's different. Clearly, it's not the general view so there's no 
point in making more of it. I wouldn't have been been bothered. It seems I 
shouldn't be bothered anyway, it seems.

Paul 
  - Original Message - 
  From: Jeffry Houser 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, May 31, 2008 9:18 PM
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?



   One of my friends, a long time ColdFusion Developer has been doing a lot of 
work with Ruby lately.  Are you saying it's wrong for him to talk to me about 
Ruby?

   I'm not grokking the basis of your argument.  

  Paul Andrews wrote: 

I guess I'm the agressive one. I've seen other products where former 
practictioners of product A have moved to rival company B and return to their 
former haunts to help out company A's customers with their insight.









-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711  | Phone: 1-203-379-0773
--
Adobe Community Expert 
http://www.adobe.com/communities/experts/members/JeffryHouser.html
My Company: http://www.dot-com-it.com 
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com  

Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading in Flex?

2008-05-31 Thread Paul Andrews
Yes, you'll find a debate about that on the flashcoders forum!
  - Original Message - 
  From: Alex Harui 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, May 31, 2008 10:08 PM
  Subject: RE: [flexcoders] How to convert a powerpoint to AS3 swf for loading 
in Flex?


  Yes, the output is an AS2 SWF.  But at least it is a SWF.  You can control it 
from AS3 via 3rd party techniques that use LocalConnection or ExternalInterface 
and a shim SWF

   


--

  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
Andrews
  Sent: Saturday, May 31, 2008 1:40 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for loading 
in Flex?

   

  Not if you want a swf that can be controlled from AS3. From the FAQ:

   

  What version of Flash Player is required to display Flash documents created 
by FlashPaper?

  Flash documents can be displayed by any browser with Flash Player 6 or higher 
installed. Some features, like text search, are only available in browsers with 
Flash Player 7 or higher installed.

  So it has to be AS2 based. Unless you know different, of course.

  It's not clear to me whether FlashPaper supports animation. Flash conversion 
of powerpoint presentations that don't have transitions or animation is 
straightforward.

  Paul

- Original Message - 

From: Alex Harui 

To: flexcoders@yahoogroups.com 

Sent: Saturday, May 31, 2008 5:25 AM

Subject: RE: [flexcoders] How to convert a powerpoint to AS3 swf for 
loading in Flex?

 

Looks like you can buy FlashPaper for $79

 

http://www.adobe.com/products/flashpaper/

 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Paul Andrews
Sent: Friday, May 30, 2008 2:27 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to convert a powerpoint to AS3 swf for 
loading in Flex?

 

- Original Message - 
From: rdebled [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, May 30, 2008 9:55 PM
Subject: [flexcoders] How to convert a powerpoint to AS3 swf for loading in 
Flex?

I need to load a powerpoint file inside my Flex app. I planned to
 just convert the ppt to a swf and load that with a SWFLoader control,
 but every conversion app I've run in to creates a Flash 8 AS2 file.
 This seems to make it impossible to control the slides because the
 SWF has to load as an AVM1Movie.

 Does anyone know of any tools that convert to Flash 9 format, or some
 other way to create an AS3 swf out of a ppt file?

 Thanks.

I've also done that search - AFAIK there are no AS3 based converters. I've 
just asked almost the same question on flashcoders and basically the 
solution is to:

1) Create an AS2 swf to load and control an imported AS2 swf (your ppt 
slide).
2) The AS3 code will create a local connection, to which the AS2 listens. 
The AS3 code then messages the AS2 swf via the connection and the wrapper 
controls the ppt swf accordingly.

Check out the flashcoders archives for today.

Paul

   

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Paul Andrews
oops too much red wine.

I was going to say I wouldn't have been been bothered if it had been anyone 
but a senior MS guy.  Don't worry about resurrecting this argument, I'm 
crawling back under my stone on this one.

Paul
  - Original Message - 
  From: Paul Andrews 
  To: flexcoders@yahoogroups.com 
  Sent: Sunday, June 01, 2008 12:23 AM
  Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?


  No. I just think that when it's the head of a rival technology company 
technology, it's different. Clearly, it's not the general view so there's no 
point in making more of it. I wouldn't have been been bothered. It seems I 
shouldn't be bothered anyway, it seems.

  Paul 
- Original Message - 
From: Jeffry Houser 
To: flexcoders@yahoogroups.com 
Sent: Saturday, May 31, 2008 9:18 PM
Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 
Profesional?



 One of my friends, a long time ColdFusion Developer has been doing a lot 
of work with Ruby lately.  Are you saying it's wrong for him to talk to me 
about Ruby?

 I'm not grokking the basis of your argument.  

Paul Andrews wrote: 

  I guess I'm the agressive one. I've seen other products where former 
practictioners of product A have moved to rival company B and return to their 
former haunts to help out company A's customers with their insight.









-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711  | Phone: 1-203-379-0773
--
Adobe Community Expert 
http://www.adobe.com/communities/experts/members/JeffryHouser.html
My Company: http://www.dot-com-it.com 
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com  

[flexcoders] yoyo Tween Function in Flex?

2008-05-31 Thread Sherif Abdou


 Is there a similiar function in flex like the flash tween yoyo(), basically 
all the yoyo() does in flash is it returns the target back to its original 
positions. Thanks.   


  

re[flexcoders] presenting coordinates for use with a plot chart

2008-05-31 Thread cakey

I currently have a plot chart which pulls it's data from an array, within
each element of that array is an 'x' and 'y' element which the chart uses as
it;s x and y fields.

However I need to manipulate this data, and in it's current format is is
unwieldy to do this. The code needs to be able to scale to any number of
points.

I tried using something like:

public var points:Number=4;
public var Coords:Array = new Array(points);

public function initialise():void {
for (var i:Number=0; ipoints; ++i){
Coords[i] = new Point(0, 0);
}
}

in order to allow the code to generate as many points as it needs and still
be flexible. However, i don't know how the plotchart can pull data from this
array. The built in 'point' feature in flex is useful as it comes with built
in functions to calculate the distance between two points which will be used
a lot.

Any help on getting the plot chart to be able to pull data from a flexible
array, especially one using the point feature will be greatly appreciated.
If you need more of the code to be posted then I can pastebin it or
something.

Thanks
-- 
View this message in context: 
http://www.nabble.com/representing-coordinates-for-use-with-a-plot-chart-tp17581287p17581287.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-05-31 Thread Joseph Balderson
This one was interesting, at first glance looks like it should work, 
until I actually tried it.

Turns out TeatArea inherits from UIComponent, but it does not inherit 
from Container, which contain methods for adding and removing Flex 
children. So you cannot add an Image to a TextArea using addChild(), 
which is a method of the Flash API. It's not perfect, but it's the only 
explanation I can think of why this would not work.

Why don't you set your TextArea backgroundAlpha to 0, wrap your TextArea 
in another Container like Canvas, and add your Image to that container 
over top of the TextArea? If your TextArea is instantiated in MXML, swap 
the depths of the two so your image appears beneath the TextArea. You 
can still get the TextArea to appear to have a white background by 
setting Canvas backgroundAlpha to 1 and the backgroundColor to white. A 
little convoluted, but it gives you more control. And saves you a few 
ulcers ;)

An easier way, of course, is to simply set the backgroundImage style to 
your image, if don't you mind it being centred or stretched.


Consequently, TextArea does inherit addChild() from 
DisplayObjectContainer, but DisplayObjectContainer is a part of the 
Flash API, not the Flex API. So you'd think that adding the asset cast 
as Bitmap or Sprite (without the Image) would work, but it doesn't, I 
guess cause there's no rawChildren property for TextArea. Interesting. 
If anyone's got an explanation why you can't addChild([img asset]) on a 
TextArea I'd like to hear it.


___

Joseph Balderson | http://joeflash.ca
Flex  Flash Platform Developer | Abobe Certified Developer  Trainer
Author, Professional Flex 3 (coming Winter 2008)
Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674



aarhac wrote:
 Hello,
 
 I have figured out how to work around my problem, but I do wonder why
 one of the following methods works, and the other doesn't. I would be
 grateful if someone could explain the error in the failing method.
 
 The code is pasted below (Below the line of dashes) in it's entirety,
 and is commented as to which works and which doesn't.
 
 The image referenced in this case is a 32x32 pixel png file on my
 local system. I am attempting to display the image on a text area.
 
 Using the default example from the flex documentation to embed an
 image, I cannot get the image to show up when added to the text area's
 display list, but it does show just fine when added to the root
 display list. I also added the image to the textArea using
 addChildAt(txtIcon, txtArea.numChildren) with no change in effect.
 
 The second method works just fine. I imagine that the problem has
 something to do with applying the image as a byte array to
 image.source, but I wonder why exactly? Is this a bug?
 
 Thanks in advance,
 
 --Aaron
 
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
   
 !--Works--
 mx:Image id=txtIcon source=@Embed(source='c:/icon.png')/
 
 mx:TextArea id=txtArea width=400 height=200 click=addImage()/
 
 mx:Script
 ![CDATA[
 import mx.controls.Image;
 import mx.core.BitmapAsset;
 
 // Doesn't work
 [Embed(source=c:/icon.png)]
 [Bindable]
 public var imgCls:Class;
 
 public function addImage():void
 {
 // Doesn't work
 var loadedImg:Image = new Image();
 loadedImg.source =  new imgCls() as BitmapAsset;
 
 loadedImg.x = 10;
 loadedImg.y = 10;
 txtArea.addChild(loadedImg);
 
 // Note: While the above doesn't work, adding the 
 // image to the root display list does work:
 //addChild(loadedImg);
 
 // Works
 txtIcon.x = 50;
 txtIcon.y = 10;
 txtArea.addChild(txtIcon);
 }
 ]]
 /mx:Script
 
 /mx:Application
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links