Re: [flexcoders] Upload subfolder images component

2010-05-27 Thread Steve Mathews
Are you talking about an AIR app, or a browser app? In AIR this should be
possible, but I don't think there is a component for it. In a browser app I
don't think this is possible due to security restrictions.

On Thu, May 27, 2010 at 10:09 AM, method_air loudj...@hotmail.com wrote:

 Lets say you have a root folder, with 20 subfolders (ie created by a
 camera), each containing images. Click 'Upload' on the root directory and
 all the subimages are uploaded.

 Is there a (Flex) component that will do this?

 Thanks,

 Philip



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] mvc pattern for flex

2010-05-05 Thread Steve Mathews
In my opinion http://www.robotlegs.org/ is the way to go.


On Wed, May 5, 2010 at 7:46 AM, Fernando Wermus
fernando.wer...@gmail.comwrote:



 Hi all,
 I was looking at Aconcagua. but there is a line of new code since a
 year and a half.
 Puremvc seems to be a kind of big compared to Cainrgorm.

 Which options have you choosen as the best for MVC in Flex?

 I know Caingorm and I dont like.

 thanks in advance

 --
 Fernando Wermus.

 www.linkedin.com/in/fernandowermus


 


Re: [flexcoders] Uploading An Image Without Browse

2010-04-15 Thread Steve Mathews
When you say take a snapshot, what do you mean?

On Thu, Apr 15, 2010 at 10:52 AM, James garymoorcroft_...@yahoo.co.ukwrote:

 Is there any way to let a user upload an image from an air app without
 having them browse for it? I want to let my users enter their name into a
 text input, take a snapshot and then the image will be uploaded to my server
 as whatevernametheuserhasentered.jpg

 Is there any way to do this and does anyone know of any similar examples?
 All I can find is uploading via the browse function.



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Framework Choice

2010-03-24 Thread Steve Mathews
http://www.robotlegs.org/

http://www.robotlegs.org/Although your final choice may come down to
personal opinion, I find that Robotlegs is the best overall framework out
there. It is solid, supports modules and is easy to learn. It also has great
docs, a solid reference implementation and plenty of examples. Perhaps most
important though, it has one hell of a great community that will bend
over backwards to help you.

Steve


On Wed, Mar 24, 2010 at 8:16 AM, Jake Churchill reyna...@gmail.com wrote:



 I have been tasked with architecting a large application for a company a
 friend of mine works at.  I will also do some of the coding and act as a
 mentor, teaching people on staff the ins and outs of Flex.

 In the past, I've always used Cairngorm and Cairngorm w/ UM Extensions for
 a framework.  I wrote a very basic app w/ Mate once just to learn it and I
 didn't really like it.  So, my question to everyone here is what Framework
 would you chose?  Keep in mind, the people I'll be working with are
 relatively new to flex and the application is going to end up being quite
 large.  Down the road it will likely have an AIR counterpart.  We might use
 modules but for now I'm staying away from that because it adds another layer
 of complexity that in the initial stages is not needed.

 My thoughts on this are that Cairngorm would be easier to learn for them
 and they had talked about brining more people on in the future for this
 project.  If that's the case, it would likely be easier to find people
 familiar with Cairngorm than some of the alternatives.  But, I don't want to
 rule out any of the alternatives if they might actually be a better choice.


 Opinions please.

 Thanks!

 -Jake Churchill


 


Re: [flexcoders] What book in Flex would you guys recommend for a newbie ?

2010-03-18 Thread Steve Mathews
The community is great at helping people who have specific questions. A
newbie is on their own until they at least learn the basics and can ask
meaningful questions. For example, if you haven't figured out the difference
between MXML and AS3, then you need to do some self study before asking
questions.

As to the question of which books, I would say you would learn a lot from
just about any of them. It kind of depends one what your goal is. If you
want to learn to use the Flex framework then maybe http://flexinaction.com/.
If you are still trying to learn AS3 then Essential ActionScript 3.0 is a
great start.

Steve

On Thu, Mar 18, 2010 at 10:30 AM, fred44455 fred44...@yahoo.com wrote:

 I already asked questions on this forum but I rarely get feed backs.
 I was told that the Adobe community was a fantastic one but I guess it is
 very much like linux if you are a newbie you are on your own. Anyway I would
 appreciate a recommendation on a good book to learn Flex. Also I was told to
 learn AS3. What Actionscript are you guys referring to?
 The AS3 for Flex seems to be totally different with mx classes than the
 AS3 for Flash. So I would appreciate that you guys let me know which one I
 need to learn. Thanks.



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Flex stress Testing

2010-02-26 Thread Steve Mathews
Not positive I fully understand, but you might check out
http://www.cloudpuncher.com/index.htm (coming soon unfortunately).

On Fri, Feb 26, 2010 at 7:40 AM, as sass apar...@yahoo.com wrote:



 Yes, we want to implement a load test in fact. We want to test our system
 for concurrent sessions/users. For example, in FlexMonkey for one user it
 does the functional test. But i want to do a load test for 1000 or 1
 concurent users that sending amf request to the server and trace the results
 about time.

 As a conclusion, the thing that i want is,  a kind of merged version:
 FlexMonkey functionality + load test for Flex application that sending amf
 requests from different buttons, actions to server.



 --- On *Fri, 2/26/10, Peeyush Tuli peeyus...@gmail.com* wrote:


 From: Peeyush Tuli peeyus...@gmail.com
 Subject: Re: [flexcoders] Flex stress Testing
 To: flexcoders@yahoogroups.com
 Date: Friday, February 26, 2010, 3:30 AM




 it seems like you want to test your system for concurrent sessions/users. I
 am not sure how does that relate to flex which is a client technology. Do
 you intend to stress test your back end/server infrastructure like
 webservices, LCDS/Blazeds infrastructure?

 On Fri, Feb 26, 2010 at 3:36 PM, as sass apar...@yahoo. 
 comhttp://mc/compose?to=apar...@yahoo.com
  wrote:



 Hi, everybody,, i want to learn how to flex user-stress testing. For
 example, i want to test how my system shows feedback after 1 users enter
 the system. How can i trace the request and response?Which tool can accept
 my needs?

 Thank you...





 



Re: [flexcoders] use local flash dll instead of installed one for embedded flex app

2009-10-21 Thread Steve Mathews
Are you using f-in-box (http://www.f-in-box.com/)? We are using it and it
allows you to use a local player version rather than the installed one.
Steve

On Tue, Oct 20, 2009 at 11:09 PM, Amitabh Ghatak
amita...@ivycomptech.comwrote:



  hi,



 i’ve created a flex app that is embedded in a VC++ container app (thru
 activex). we’re facing a lot of headaches in terms of versioning (QA
 efforts, stability etc).



 is there any way i can use a specific version of flash dlls only shipped
 for my app (and placed in my app’s install directory regardless of the
 system’s installed flash version? also, could there be any EULA issues?



 thanks

 amitabh







 *Amitabh Ghatak*

 Architecture Council



 *IVY Comptech Private Limited*
 Cyber Spazio, Road No 2, Banjara Hills,
 Hyderabad 500033, Andhra Pradesh, INDIA



 --

 This email is sent for and on behalf of Ivy Comptech Private Limited. Ivy
 Comptech Private Limited is a limited liability company.

 This email and any attachments are confidential, and may be legally
 privileged and protected by copyright. If you are not the intended recipient
 dissemination or copying of this email is prohibited. If you have received
 this in error, please notify the sender by replying by email and then delete
 the email completely from your system. Any views or opinions are solely
 those of the sender.  This communication is not intended to form a binding
 contract on behalf of Ivy Comptech Private Limited unless expressly
 indicated to the contrary and properly authorised. Any actions taken on the
 basis of this email are at the recipient's own risk.

 Registered Office:

 Ivy Comptech Private Limited, Cyber Spazio, Road No. 2, Banjara Hills,
 Hyderabad 500 033, Andhra Pradesh, India.

 Registered number: 37994. Registered in India. A list of members' names is
 available for inspection at the registered office.

 --



 


Re: [flexcoders] Re: Trying to build slideshow functionality with wipe effects.

2009-08-03 Thread Steve Mathews
Most of the time when I do any page transitions I take a bitmap of the
current page and display that over everything. Then swap the content below
this. Finally applying the effect to the bitmap. If you need the 'next' page
to do the effect (like a slide in effect) then you take two bitmaps.
Using bitmaps this way isn't always the simplest, but it can help with
performance of the effect.

Steve


On Mon, Aug 3, 2009 at 8:41 AM, Todd tpreka...@gmail.com wrote:

 Yes, I've seen that.  Not useful to me.  There's not wiple/slide in
 transition.  All that sample is doing is loading a selected image from the
 list into the main viewing component, and adding a little Fade effect to it.

 I need something that will actually bring the Image in from the right or
 left, which will involve being able to actually MOVE components somehow.

 --- In flexcoders@yahoogroups.com, Jason B nos...@... wrote:
 
  Have you seen this example slideshow by Adobe?
 
 
 http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html
 
 
 
  --- In flexcoders@yahoogroups.com, Todd tprekaski@ wrote:
  
   Hello All,
 I've built a slideshow feature in our application.  One of the
 requirements was that the images transition to the next with a nice
 wipe/slide effect.
  
   I built up two solutions, both with drawbacks:
   1) Used a view stack, added a repeater that added a VBox and Image for
 each photo to display.  I was able to get the appropriate slide/scrolling
 effect to work by attaching show and hide effects on a VBox that contained
 the image.  This worked really well when there was 10 imgeas. However, when
 I loaded 200 images...ouch memory management nightmare up to 1 gig of memory
 being used before crashing.
  
   Next solution, I tried something simpler:
   2)  Used a HorizontalList component and built some code to scroll
 through all the images.  This worked much better from a memory management
 perspective, however, I've LOST the ability to have the transitions of
 sliding from one image to the next.
  
   My questions: 1) Has anyone seen any code that uses the List
 (HorizontalList) components for sliding/moving images into the main view
 area?  How do you get the effects to work with moving the itemRenderers
 around (this doesn't seem possible?)
  
   2)  Anyone tried writing a component where there's a main view area,
 and an area to the left and right where you buffer images off screen for the
 sake of wiping/sliding them in?  Then when you move to the next image, the
 main image slides left, the left (off-screen image container) is then moved
 to the right, and he the right image slides into the middle.  This is a sort
 of recycling of components.  Seems like a lot of work and would be prone to
 bugs.
  
   I'm open for any other ideas on making a slideshow with these
 sliding/scrolling transitions.
  
   Thanks for any suggestions.
  
 




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] clearing the flex cache?

2009-07-15 Thread Steve Mathews
If you are talking about the flex framework swz files then just go to
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html
and
uncheck Store common Flash components to reduce download times.

On Tue, Jul 14, 2009 at 9:32 PM, jedierikb jedier...@gmail.com wrote:

 I would like to clear my cache of all the flex libraries used by my
 browsers.  I would like to do this to see the speed of my flex apps loading
 the flex rsls for the first time.

 Are there instructions for how to do clear my flex cache?  I tried deleting
 the files listed at the paths listed here
 http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html, but
 even when they are trashed (on windows vista), my flex app still seems to
 find the libraries somewhere  locally(I do not see the framework and rsl
 libraries download).  (side note: i am not linking the flex libraries into
 my own code... I am linking to them as rsls.)



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] f_in_box memory issues

2009-07-10 Thread Steve Mathews
What methods are you using to determine the memory usage? We use f_in_box
and I don't think we have seen that kind of discrepancy before.

On Fri, Jul 10, 2009 at 11:57 AM, ag_rcuren robert.vancuren...@gmail.comwrote:

 I am currently using f_in_box for a project I am working on. I was doing
 some profiling and noticed that when using f_in_box virtual memory usage is
 super high. When running our app stand alone in the flash player we are
 seeing virtual memory usage of around 20 megs vs. running in f_in_box it is
 around 120 megs. This is over 5 times worse. I was hoping some one might
 have some insight or may have worked with f_in_box before and dealt with
 this issue.



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Re: NEED more than 15 menu item in Context Menu ????

2009-05-26 Thread Steve Mathews
We grab the right click in our .NET app and display that. I belive we
capture the event from the control so the native Flash menu isn't shown.
This works really well.

On Mon, May 25, 2009 at 12:35 PM, Dharmendra Chauhan chauhan_i...@yahoo.com
 wrote:

 Hi Samuel,

 Thanks for the reply.

 Its running inside  Flash Player ActiveX control.so no java script heck can
 be applied..I completely stuck at this point..Need some ideas around it.

 Any other UI components can be used to get similar functionality.

 Regards,
 Dharmendra




 --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:
 
  Is the Flex app loaded in the IE ActiveX control, or the Flash Player
  ActiveX control?
 
  If it is IE, any of the tricks to hide the context menu in the normal
  IE browser should work.
 
  Never tried doing this myself though.
 
   On 5/23/09, Dharmendra Chauhan chauhan_i...@... wrote:
   Thanks Lot for the Reply.
   My FLex Application is not running inside browser , It is running
 inside DOt
   Net container as a Active X control. the idea you suggested required
 default
   context menu to be hidden ..is it possible to hide it ? If yes then I
 Can
   open some custom window on right click and design. I am not sure how
   concrete this idea is..
  
  
   --- In flexcoders@yahoogroups.com, Yves Riel riel@ wrote:
  
   What about intercepting the right-click at the browser level and
   displaying your own contextual menu? However, you might have some
   browser incompatibility to look at.
  
  
 http://blog.another-d-mention.ro/programming/right-click-and-custom-cont
   ext-menu-in-flash-flex/
  
   
  
   From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
 On
   Behalf Of Dharmendra Chauhan
   Sent: Friday, May 22, 2009 3:03 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] NEED more than 15 menu item in Context Menu 
  
  
  
  
  
   Hi,
   I really need to have more than 15 menu item displayed on Context
 Menu.
   I desperately need some workaround or ideas to achieve this
  
   My client has invested thousands of dollar in Flex Project, he
   definitely need more than 15 menu item.If this project failed , client
   will NEVER think to invest in flex.
  
  
   Had I been aware of this limitation before I would have thought some
   solution by now.This comes as a surprise to me at the last moment
 ,just
   fews days before Prod Date.
  
   Pls gents help me get rid of this ...PLEASE provide some ideas.
  
   Thanks in advance.
  
   Thanks,
   Dharmendra
  
  
  
  
  
   
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Alternative FAQ location:
  
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links
  
  
  
  
 
  --
  Sent from my mobile device
 




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Steve Mathews
No offence was intended, I was trying to state that as a selling point. The
number of users who already have the SWZs should be icing, the real
substance should be the benifit to every user visiting your site/app.
Obviously if you only expect users to visit once or twice the benifit
doesn't work out.

The problem with Adobe including the files with the first install is that
there are new files for each update of the Flex Framework. I am currently on
my third set of SWZs in my production environment. I would like to see Adobe
host the files as an added benifit to using them.

I would also be interested in seeing some stats on the number of installed
players that have one or more SWZs cached as it would be additional info to
help sell the idea to clients.

Steve

On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au wrote:



 Yes, I know how it works...my point is that it's hard to sell to my current
 clients if for most it's going to translate into a bigger download for first
 time users.
 This is why stats as to how many users are likely to already have the
 different versions of the RSLs would be handy.

 I realise this is probably strategically sensitive for Adobe as they want
 to encourage use of RSLs as it improves the Flex download size story longer
 term.

 Someone made the suggestion somewhere that when users upgrade or install
 the player, Adobe ought to download and install all the current RSLs as
 well. That seems a very sensible idea to me.

 Even if they were a separate download available at the time (or available
 as a Flash player professional version) it would be better than forcing
 developers distributing apps to do it. We have app size as an imperative
 that we have to work with.

 Guy

  On 22/04/2009, at 4:19 AM, Steve Mathews wrote:



 It would only be bigger the first download (assuming the user has 9.0.115.0
 or later). After that it would be smaller each time.

 Steve

 On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:



 Well...yes, it's great if I do it...for the community n'all...but my users
 *are* sensitive to the download size.
 If it were the same size either way, of course I would do it (as would
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of
 developers DON'T do it, hence my question...

 Guy


  On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:





 On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.

 I think you are looking at it wrong. Assuming 200k is nothing on a modern

 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same
 as
 non-RSL), plus you have the benefit of making your (and others !) future
 RSL
 deployments more likely to be win.


 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08


 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@halliwells.com tom.chiver...@halliwells.com
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com http://www.halliwells.com/

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.
 A list of members is available for inspection at the registered office
 together with a list of those non members who are referred to as partners.
 We use the word ?partner? to refer to a member of the LLP, or an employee or
 consultant with equivalent standing and qualifications. Regulated by the
 Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit 
 www.Halliwells.comhttp://www.halliwells.com/
 .











 



Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Steve Mathews
Fantastic!

On Tue, Apr 21, 2009 at 11:10 PM, Matt Chotin mcho...@adobe.com wrote:



 We’re hosting the RSLs starting with Flex 4, you’ll see them hosted in the
 public beta.

 When we feel comfortable with the RSL penetration stats as far as being
 consistent and accurate and explainable we’ll begin publishing them.

 Matt


 On 4/21/09 11:01 PM, Steve Mathews happy...@gmail.com wrote:






 No offence was intended, I was trying to state that as a selling point. The
 number of users who already have the SWZs should be icing, the real
 substance should be the benifit to every user visiting your site/app.
 Obviously if you only expect users to visit once or twice the benifit
 doesn't work out.

 The problem with Adobe including the files with the first install is that
 there are new files for each update of the Flex Framework. I am currently on
 my third set of SWZs in my production environment. I would like to see Adobe
 host the files as an added benifit to using them.

 I would also be interested in seeing some stats on the number of installed
 players that have one or more SWZs cached as it would be additional info to
 help sell the idea to clients.

 Steve

 On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au wrote:



 Yes, I know how it works...my point is that it's hard to sell to my current
 clients if for most it's going to translate into a bigger download for first
 time users.

 This is why stats as to how many users are likely to already have the
 different versions of the RSLs would be handy.

 I realise this is probably strategically sensitive for Adobe as they want
 to encourage use of RSLs as it improves the Flex download size story longer
 term.

 Someone made the suggestion somewhere that when users upgrade or install
 the player, Adobe ought to download and install all the current RSLs as
 well. That seems a very sensible idea to me.

 Even if they were a separate download available at the time (or available
 as a Flash player professional version) it would be better than forcing
 developers distributing apps to do it. We have app size as an imperative
 that we have to work with.

 Guy

 On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




 It would only be bigger the first download (assuming the user has 9.0.115.0
 or later). After that it would be smaller each time.


 Steve

 On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:



 Well...yes, it's great if I do it...for the community n'all...but my users
 *are* sensitive to the download size.

 If it were the same size either way, of course I would do it (as would
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of
 developers DON'T do it, hence my question...

 Guy


 On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






 On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.

 I think you are looking at it wrong. Assuming 200k is nothing on a modern
 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same
 as
 non-RSL), plus you have the benefit of making your (and others !) future
 RSL
 deployments more likely to be win.


 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08


 *Tom Chiverton
 *
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@halliwells.com

 3 Hardman Square, Manchester, M3 3EB
 *www.Halliwells.com http://www.halliwells.com/
 *

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit *www.Halliwells.com 
 http://www.halliwells.com/ *.

















 




Re: [flexcoders] Signed RSL penetration

2009-04-21 Thread Steve Mathews
It would only be bigger the first download (assuming the user has 9.0.115.0
or later). After that it would be smaller each time.
Steve

On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:



 Well...yes, it's great if I do it...for the community n'all...but my users
 *are* sensitive to the download size.
 If it were the same size either way, of course I would do it (as would
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of
 developers DON'T do it, hence my question...

 Guy


 On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:





 On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.

 I think you are looking at it wrong. Assuming 200k is nothing on a modern
 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same as

 non-RSL), plus you have the benefit of making your (and others !) future
 RSL
 deployments more likely to be win.


 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08


 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@halliwells.com tom.chiver...@halliwells.com
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.






 



Re: [flexcoders] Expiration date

2009-04-21 Thread Steve Mathews
A very quick and dirty way would be to just save the first date it is
launched (to a text file or better yet to a db) then check it on startup.
Once time runs out just tell the user and exit. Of course the user could
uninstall/reinstall to get around this, so it isn't a fool-proof solution.

Steve

On Tue, Apr 21, 2009 at 8:03 PM, lehaianh1986 lehaianh1...@yahoo.comwrote:

 Hi all, I have small AIR project, now it is beta version. I will send it to
 some testers. So, I want to write some code to set expired date for it.
 Example as set this soft to stop working 1 month from first use, or set the
 number of using soft is 100 times.

 Any one can guide me some steps to do it? Thank in advanced

 Hai Anh



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Re: Flash speed test - please participate - only 1 click required !

2009-04-13 Thread Steve Mathews
For anyone who cares, I ran swfScan on the swf and it only does what is
advertised. A quick look at the page source and I didn't see anything fishy
there either.

On Mon, Apr 13, 2009 at 9:55 AM, tom93438 tcs2...@gmail.com wrote:

 Wow !

 There is some serious paranoia here. This page does exactly what I
 described in my original email, and nothing more. I created it to learn
 something, which I plan on sharing back with this community.

 I've been posting to this list for a while, so I would sort of hope that
 there could be a little more trust.

 Feel free to inspect the page, etc. But everything you need to know is in
 my original post (at bottom of this email).

 @Cato - I hope you realize that this kind of scare mongering will seriously
 diminish the number of testers, and hence the quality of the data that I
 will be able to share back with you all... :(

 cheers

 tom




 --- In flexcoders@yahoogroups.com, Cato Paus ca...@... wrote:
 
  DO NOT TEST THIS... Trojan Horse Detected on page!
 
 
 
 
 
 
  --- In flexcoders@yahoogroups.com, tom93438 tcs2201@ wrote:
  
   One other test that would also be useful:
   Please hit:
  
   http://flatim3000.appspot.com/?fps=24
  
   Does the same as before, but tests for 24 fps.
  
   thanks
  
   tom
  
  
   --- In flexcoders@yahoogroups.com, tom s tcs2201@ wrote:
   
Hi All,
   
I'm doing some tests to see how 'fast' the Flash Player is in a
 variety of
environments.
Please click the link to take part: (you don't have to do anything
 other
than click the link)
   
http://flatim3000.appspot.com
   
   
It's totally malware free. If you're interested, see below for
 details.
Please hit it as many times as you like, from as many different
 environments
as you can :)
I'll share the results when I'm done.
   
cheers
   
tom
   
details
=
The SWF:
1. attempts to set the frame rate to 1000
2. listens for enter_frame 10,000 times
3. records how long (2) takes
4. computes the actual FPS
5. send the data to a server, along with details on OS, Browser, FP
 version,
IP
   
Any suggestions/improvements - let me know...
   
  
 




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






[flexcoders] Flash Player or IE bug

2009-04-03 Thread Steve Mathews
I ran into an issue and I think it is being caused by the Flash Player. The
basics of the issue is that if you close a browser window while the player
is downloading a file, sometimes it causes IE to completely quit working.
Once this happens you have to close IE entirely to get it to work again.
I have posted a page with instructions on how to reproduce this here:
http://artjumble.com/FlashIETest.html

I have confirmed this on XP and Vista with IE 7.

Anyone else run into this, know of any workarounds/fixes? (I know, use
FF...)


Re: [flexcoders] Flex Apps on Flash 10 Crashes Browser

2009-02-18 Thread Steve Mathews
I do know for a fact that player 10 crashes when it runs out of memory. In
player 9 you get errors when you attempt to do something and it can't get
enough memory. I would like to know if this is going to be fixed soon also.

On Wed, Feb 18, 2009 at 7:16 PM, Don Kerr fusionp...@yahoo.com wrote:

 Still no resolution on Flash Player 10 bugs that crash IE7, IE8, firefox.
  It is a memory error.

 All my Flex 3 apps work fine with Flash Player 9, but crash the browser
 when the user
 upgrades to Flash 10.

 There are many bugs reported on this in adobe's bug tracker, but I do not
 see any status on a
 bug fix that indicates anything is being done to fix it.

 Does anyone else have problems with their Flex 3 apps when the user
 accesses them via
 Flash Player 10?

 Is anyone aware of any Flex 3 code that doesn't work in Flash 10 that might
 be causing the
 crashes?

 Any updates on any pending patches/hot fixes from Adobe?

 Don






 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] 3D flip effect

2009-02-13 Thread Steve Mathews
I used this and it worked great:
http://www.tink.ws/blog/papervision3d-effects-for-flex-source

On Thu, Feb 12, 2009 at 8:23 PM, Ryan Graham ryan.gra...@phoenix.eduwrote:

 I believe so... the docs suggest you have to hack it since the registration
 point is always top left. Do a translation in the negative by half the
 component's width and height (this will get you centered), rotate it, then
 do the reverse translation to put it back in it's original spot.  This was
 working fairly reasonably for me in an ENTER_FRAME handler with an image:

 img.transform.matrix3D.appendTranslation(-1 * img.width / 2, -1 *
 img.height / 2, 0);
 img.transform.matrix3D.appendRotation(1, Vector3D.Y_AXIS);
 img.transform.matrix3D.appendTranslation(img.width / 2, img.height / 2, 0);

 That'll just rotate infinitely -- it would be up to you to turn this into a
 reusable effect...

 HTH,
 Ryan


 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of Russ Ferguson
 Sent: Thu 2/12/2009 4:46 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] 3D flip effect

 Thanks. Im targeting air 1.5. it seems to be working but I want to
 rotate from center and not from the top left hand corner.

 I think it has to do with matrix3D



 Any thoughts?

 Thanks

 ...russ



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Ryan Graham
 Sent: Thursday, February 12, 2009 3:09 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] 3D flip effect



 Yeah, it's possible with 3.2. As long as you are targeting FP10, check
 out the x, y, z, rotationX, rotationY, and rotationZ on DisplayObject in
 the docs...



 If you're targeting FP9, it's a much more manual process to organize the
 math and such...



 HTH,

 Ryan



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Russ Ferguson
 Sent: Thursday, February 12, 2009 12:55 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] 3D flip effect



 Hi,

  Im looking to rotate a canvas in 3d space.
  I know you can do this with gumbo but I wanted to see if you can do it
 with the 3.2 sdk.



 All the examples I have found rotate on a slider. Im looking to rotate
 during a transition.

 Thanks.

 ...russ

 This message is private and confidential. If you have received it in
 error, please notify the sender and remove it from your system.






 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Events and Child SWFs

2009-02-12 Thread Steve Mathews
You are assigning the listener to the wrong object. this is your child
swf, but it is the parent that dispatches the event. Depending on the rest
of the app this.parent might work. So:
this.parent.addEventListener(inDeleteMode, deleteModeHandler);

Steve

On Thu, Feb 12, 2009 at 10:44 AM, stldvd stl...@yahoo.com wrote:

 Hi guys,

 I've got a parent application with a 'delete' button. When it's
 clicked, I want to set a flag in a child swf, which is loaded via SWF
 loader.

 So in the parent app on the button's click event I'm dispatching an event:

 dispatchEvent(new Event(inDeleteMode));

 In the child SWF's init function I've got this:

 this.addEventListener(inDeleteMode, deleteModeHandler);

 And then the deleteModeHandler function (stubbed in for testing):

 private function deleteModeHandler():Boolean
 {
  Alert.show(got it!);
  return true;
 }

 It ain't working. Can someone see what I'm doing wrong?

 Thanks,

 David



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] XML walkdown Help

2009-02-03 Thread Steve Mathews
One trick to help while trying to get this working is to use a wildcard for
the namespace so use *::
So if you just want to shortcut to the columnList (this would assume you
don't need any of the rest of the xml).

xmlResult..*::columnList;


On Tue, Feb 3, 2009 at 10:24 AM, Wally Kolcz wko...@isavepets.com wrote:

  If I set it your way, then what do I then do with the dot notation to get
 to the XMLList?



 --
 *From*: Tracy Spratt tspr...@lariatinc.com
 *Sent*: Tuesday, February 03, 2009 8:34 AM

 *To*: flexcoders@yahoogroups.com
 *Subject*: RE: [flexcoders] XML walkdown Help


 columnList will need to be prefixed with the ns:: also.  As will all
 nodes.  I'd advise setting the default namespace as I posted, to make the
 expressions easier.



 Tracy Spratt
 Lariat Services

 Flex development bandwidth available
 --

 *From:*flexcod...@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Wally Kolcz
 *Sent:* Tuesday, February 03, 2009 10:23 AM
 *To:*flexcod...@yahoogroups.com
 *Subject:* RE: [flexcoders] XML walkdown Help



 Thanks for being patient and helping me. I really need to read more about
 XML and Flex/AS3. I am so used to RemoteObjects.

 Based on what was posted from Ryan:

 var ns:Namespace = new Namespace(
 http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security
 );

 trace(xmlResult.ns::loginResult.toXMLString());

 How can I step down to the columnList?

 I tried var xlNames:XMLList = xmlResult.ns::loginResult.columnList;

 but it came up blank too...
 --

 *From*: Tracy Spratt tspr...@lariatinc.com
 *Sent*: Tuesday, February 03, 2009 6:28 AM
 *To*: flexcoders@yahoogroups.com
 *Subject*: RE: [flexcoders] XML walkdown Help

 Good, you are on the way. You are only one step from your columnList.



 Tracy Spratt
 Lariat Services

 Flex development bandwidth available
 --

 *From:*flexcod...@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Wally Kolcz
 *Sent:* Tuesday, February 03, 2009 7:54 AM
 *To:*flexcod...@yahoogroups.com
 *Subject:* RE: [flexcoders] XML walkdown Help



 Ok, I tried both approaches and they gave me this.

 loginResult xmlns=
 http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security;
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;
   columnList xmlns=http://www.newatlanta.com/bluedragon;
 stringuniqname/string
 stringrole/string
 stringfirstName/string
 stringlastName/string
   /columnList
   data xmlns=http://www.newatlanta.com/bluedragon;
 ArrayOfAnyType
   anyType xsi:type=xsd:stringwkolcz/anyType
   anyType xsi:type=xsd:stringadmin/anyType
   anyType xsi:type=xsd:stringWally/anyType
   anyType xsi:type=xsd:stringKolcz/anyType
 /ArrayOfAnyType
   /data
 /loginResult
 --

 *From*: Tracy Spratt tspr...@lariatinc.com
 *Sent*: Monday, February 02, 2009 1:44 PM
 *To*: flexcoders@yahoogroups.com
 *Subject*: RE: [flexcoders] XML walkdown Help

 Yes, darn it,  missed that,  Ryan is correct, there will a namespace
 problem.



 You can define a default namespace, and not have to use the prefix in all
 of the expressions.

 default xml namespace = 
 http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security;;



 But you will still need to get the expression right.  Look close at your
 expression and at your xml.

 Tracy Spratt
 Lariat Services

 Flex development bandwidth available
 --

 *From:*flexcod...@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Ryan Graham
 *Sent:* Monday, February 02, 2009 4:01 PM
 *To:*flexcod...@yahoogroups.com
 *Subject:* RE: [flexcoders] XML walkdown Help



 Looks like you're having namespace issues. The default namespace is
 http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security;,
 so you need to use this when drilling down.



 Something like:



 var ns:Namespace = new Namespace(
 http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security
 );

 trace(xmlResult.ns::loginResult.toXMLString());



 You can do this for all nodes with a namespace defined.



 HTH,

 Ryan



 *From:*flexcod...@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Wally Kolcz
 *Sent:* Monday, February 02, 2009 1:42 PM
 *To:*flexcod...@yahoogroups.com
 *Subject:* re: [flexcoders] XML walkdown Help



 *Here is a more accurate output on the Blue Dragon server:*

 loginResponse xmlns=
 http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security;
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;
   loginResult
 columnList 

[flexcoders] Re: This is kind of Wonderfl

2009-02-02 Thread Steve Mathews
And I jacked the url: http://wonderfl.kayac.com

On Mon, Feb 2, 2009 at 8:57 AM, Steve Mathews happy...@gmail.com wrote:

 Spotted a post over at Techcrunch about wonderfl.kayack.com . Looks like a
 pretty cool project. And if the creator(s) happen to see this, a big thumbs
 up!
 Steve



[flexcoders] This is kind of Wonderfl

2009-02-02 Thread Steve Mathews
Spotted a post over at Techcrunch about wonderfl.kayack.com . Looks like a
pretty cool project. And if the creator(s) happen to see this, a big thumbs
up!
Steve


[flexcoders] Issue with load progress of RSL in custom preloader

2009-01-14 Thread Steve Mathews
I am using framework version 3.1 and I have created a custom preloader for
my application. I want a smooth progress bar during this load so I figured I
would just watch the load of the RSLs as they seem to be the
biggest chunk of data (for now at least). I know this would miss some
loading and the init phase, but I am not worried about that right now. The
problem seems to be that the RSL progress event only fires for one of the
RSLs that loads. So although the event says rslTotal = 2, the rslIndex is
only ever 0. So I get a nice progress for one RSL, then it sits at 100%
while the second one loads. Anyone run into this issue before and have a
workaround?
PS. I switched to the 3.2 framework and things got even stranger. It loaded
the swf RSL, then the swz of the same rsl, then the swf again and didn't
fire the complete event at all. Needless to say, I scrapped that idea and
went back to 3.1.

Steve


Re: [flexcoders] recompiling framework shared library?

2009-01-09 Thread Steve Mathews
The swz are signed files that only Adobe can compile.

On Fri, Jan 9, 2009 at 10:45 AM, luvfotography 
ygro...@all-digital-links.com wrote:

 Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and
 placed it in my 'src' folder under the folders 'mx', then 'controls',
 then 'videoClasses' and it picks up the change no problem.

 If I then change my project to use 'runtime shared library' it's not
 picking up my changes.

 What do I need to do?
 do i need to recompile the framework_3.0.0.477.swz somehow?
 thanks,


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Steve Mathews
The only way for a listener to not get called synchronously is if it is
specifically setup to do that. For example in Flex you can call a method
using callLater which will call it on the next frame. If you are not using
Flex you can do the same thing by creating a timer with a duration of 1 and
calling the method within the timer's handler. If you look through the Flex
code you will see a lot of use of callLater as it works great for allowing
data to update before you act upon it.

On Wed, Dec 10, 2008 at 8:12 AM, Amy [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, Jules Suggate
 [EMAIL PROTECTED] wrote:
 
   For several years before using flash I used a proprietary GUI OO
 tool that
   had a similar (though less sophisticated) event mechanism. In
 that system
   event dispatch did not actually take place until the code block
 had
   completed - only then would handlers be invoked. This was
 particularly
   important since the system also supported database access and
 transaction
   handling so it's particularly important to have discrete units of
 work that
   form part of a transaction without interruption. So I don't think
 that the
   synchronous event despatch mechanism is as obvious as it appears
 to some and
   I think it should really be a delayed propogation.
 
  I agree. For me at least, this was completely non-obvious and now
 that
  I know, feels plain bizarre.
 
  If asked before this thread, I would have answered that
  dispatchEvent() returned instantly and event handlers were invoked
  some other time such as after the current code block, or during
 the
  Player render cycle (but that would mean event handlers always
  executed in the next frame, perhaps causing problems with
 animations).
  That would give an implicit atomicity around the currently executing
  code and allow the VM to do smart things like rolling up multiple
  events of the same type within a given code block (or frame) into a
  single invokation of each listening handler. This way, triggering an
  event 100 times will mean the listeners get invoked 100 times, even
 if
  the last invokation completely overwrites the work of the previous
 99.

 That's what I would have thought, too, considering how obsessive the
 Flex team seems to be about optimizing.  This was especially hard to
 debug in my case because the listener wasn't called immediately.  I
 wonder if that's because it was in a different class...?

 -Amy


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Easy question... i think.

2008-12-03 Thread Steve Mathews
It only imports what is being used. Using the wild card(*) just says you may
want to use any of the classes in that package, but only the ones you
actually use will be compiled.

On Wed, Dec 3, 2008 at 8:53 AM, flexaustin [EMAIL PROTECTED] wrote:

 I was wondering if I use import statements like

 import allofsomething.*

 vs.

 import allofsomething.lessofall.evenlessofall.onlyONEofall;

 ** in this example I would only be using onlyOneofall in my code.

 Does the more specific import reduce my .swf file size?  Or does the
 compiler only import what is actually being referenced, thus in this
 example onlyOneofall.


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Embedding Flash Player

2008-11-24 Thread Steve Mathews
Good question. As I haven't installed our app in quite some time, you could
go to www.flypaper.com and install the demo to see what it looks like (just
make sure you remove your ActiveX player before you run the installer).
Steve

On Mon, Nov 24, 2008 at 2:26 AM, Jules Suggate [EMAIL PROTECTED]wrote:

  Hi guys, sorry about my slow response. I was enjoying my weekend :)

 We have decided to continue on this line of inquiry, partly due to your
 answers.

 Steve, you mentioned kicking of a silent install of the Player if it's not
 found. How silent can you make it? From memory, the player install
 sequence has a few dialog boxes and progress bars... is the distributable
 installer sequence less obvious, or are these dialogs just part of the
 overall installation experience for your users?

 We'd be happy enough with the latter, but the former would be even better
 :-)

 Thanks again!


 On Sat, Nov 22, 2008 at 07:12, Steve Mathews [EMAIL PROTECTED] wrote:

   Well it was less than great because someone here applied online several
 times but could not actually get the installer. Then we had a chat with Lee
 Brimelow (http://theflashblog.com/) http://theflashblog.com/, he passed
 our request on and we got the installer within a day or two. So I would
 recommend talking to him or another evangelist to help the process.

 Steve

 On Fri, Nov 21, 2008 at 9:07 AM, Jim Hayes [EMAIL PROTECTED]wrote:

  How easy was it to get the licence to distribute the flash player?

 Anecdotally, I'd heard this was rather hard to do in practice, but maybe
 this has changed since I last enquired a couple of years back.

 This has always been a stumbling block for various solutions I've tried
 over the years.



 -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* 21 November 2008 15:48
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Embedding Flash Player



 You can get a license to distribute the installer from Adobe. Then just
 silently install the player you need when installing your application.
 Unless there is something I don't know about the 'Plugin' version of the
 installer. We are doing exactly this but we are targeting windows only (C#
 app + Flash 9 ActiveX msi).



 Steve

 On Fri, Nov 21, 2008 at 3:48 AM, Jules Suggate [EMAIL PROTECTED]
 wrote:

 Hi list, long-time-no-post :)

 I've a gnarly one here.

 I contract to a VC funded startup formed to create a cross-platform
 desktop client. Unfortunately AIR's APIs are not low-level enough (e.g. you
 can't burn a CD with AIR). We've looked at Zinc, Shu Player, Janus and the
 rest but Zinc and Janus don't support MacOS very well and the legal issues
 around Shu Player make us wary of using it. This is a consumer-facing app
 and needs to be squeaky clean.

 How about embedding the NPAPI FP10 in a Java process? That would be
 cross-platform, and we could use NPRuntime to interact seamlessly from Java.

 The Flash Player license allows us to automate download of the FP10
 installer, however these are the problems we still face:

 · If a user doesn't have the player installed, there will be a
 two-step install process (one for the player, one for our app), which is
 sooo 90s

 · We can't legally change the install location of the NPAPI
 plugin, so if we automate downloads of the NPAPI FP10 and the user doesn't
 have Mozilla installed it's unclear what we should do

 · Not sure if we can specify the kind of Player (NPAPI vs
 ActiveX) to download from adobe.com if the user is on Windows

 Even for the base case (a user with Mozilla and the NPAPI FP10 plugin
 installed prior to install of our app), should we talk this over with Adobe
 legal?

 Has anyone heard of Adobe entering into custom licensing agreements for
 this kind of thing (and I mean, actual bonafide true stories, not conjecture
 based on Adobe's licensing page making passing reference)?

 Hope this hits someone's cache!

 Cheers,
 Jules
 --
 Jules Suggate
 Owner and Technical Lead
 Uphill Sprint Limited

 +64-21-157-8562




 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration No. 02622298 and registered office: 4th
 Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
 VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, copied
 and used only by the intended recipient. If you have received it in error,
 please contact the sender immediately by return e-mail or by telephoning
 +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
 contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs Email
 Security System.
 __



  --
 Flexcoders Mailing List
 FAQ: 
 http://groups.yahttp

Re: [flexcoders] Embedding Flash Player

2008-11-21 Thread Steve Mathews
You can get a license to distribute the installer from Adobe. Then just
silently install the player you need when installing your application.
Unless there is something I don't know about the 'Plugin' version of the
installer. We are doing exactly this but we are targeting windows only (C#
app + Flash 9 ActiveX msi).
Steve

On Fri, Nov 21, 2008 at 3:48 AM, Jules Suggate [EMAIL PROTECTED]wrote:

  Hi list, long-time-no-post :)

 I've a gnarly one here.

 I contract to a VC funded startup formed to create a cross-platform desktop
 client. Unfortunately AIR's APIs are not low-level enough (e.g. you can't
 burn a CD with AIR). We've looked at Zinc, Shu Player, Janus and the rest
 but Zinc and Janus don't support MacOS very well and the legal issues around
 Shu Player make us wary of using it. This is a consumer-facing app and needs
 to be squeaky clean.

 How about embedding the NPAPI FP10 in a Java process? That would be
 cross-platform, and we could use NPRuntime to interact seamlessly from Java.

 The Flash Player license allows us to automate download of the FP10
 installer, however these are the problems we still face:

- If a user doesn't have the player installed, there will be a two-step
install process (one for the player, one for our app), which is sooo 90s
- We can't legally change the install location of the NPAPI plugin, so
if we automate downloads of the NPAPI FP10 and the user doesn't have 
 Mozilla
installed it's unclear what we should do
- Not sure if we can specify the kind of Player (NPAPI vs ActiveX) to
download from adobe.com if the user is on Windows

 Even for the base case (a user with Mozilla and the NPAPI FP10 plugin
 installed prior to install of our app), should we talk this over with Adobe
 legal?

 Has anyone heard of Adobe entering into custom licensing agreements for
 this kind of thing (and I mean, actual bonafide true stories, not conjecture
 based on Adobe's licensing page making passing reference)?

 Hope this hits someone's cache!

 Cheers,
 Jules
 --
 Jules Suggate
 Owner and Technical Lead
 Uphill Sprint Limited

 +64-21-157-8562
 



Re: [flexcoders] Embedding Flash Player

2008-11-21 Thread Steve Mathews
Well it was less than great because someone here applied online several
times but could not actually get the installer. Then we had a chat with Lee
Brimelow (http://theflashblog.com/) http://theflashblog.com/, he passed
our request on and we got the installer within a day or two. So I would
recommend talking to him or another evangelist to help the process.
Steve

On Fri, Nov 21, 2008 at 9:07 AM, Jim Hayes [EMAIL PROTECTED] wrote:

  How easy was it to get the licence to distribute the flash player?

 Anecdotally, I'd heard this was rather hard to do in practice, but maybe
 this has changed since I last enquired a couple of years back.

 This has always been a stumbling block for various solutions I've tried
 over the years.



 -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* 21 November 2008 15:48
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Embedding Flash Player



 You can get a license to distribute the installer from Adobe. Then just
 silently install the player you need when installing your application.
 Unless there is something I don't know about the 'Plugin' version of the
 installer. We are doing exactly this but we are targeting windows only (C#
 app + Flash 9 ActiveX msi).



 Steve

 On Fri, Nov 21, 2008 at 3:48 AM, Jules Suggate [EMAIL PROTECTED]
 wrote:

 Hi list, long-time-no-post :)

 I've a gnarly one here.

 I contract to a VC funded startup formed to create a cross-platform desktop
 client. Unfortunately AIR's APIs are not low-level enough (e.g. you can't
 burn a CD with AIR). We've looked at Zinc, Shu Player, Janus and the rest
 but Zinc and Janus don't support MacOS very well and the legal issues around
 Shu Player make us wary of using it. This is a consumer-facing app and needs
 to be squeaky clean.

 How about embedding the NPAPI FP10 in a Java process? That would be
 cross-platform, and we could use NPRuntime to interact seamlessly from Java.

 The Flash Player license allows us to automate download of the FP10
 installer, however these are the problems we still face:

 · If a user doesn't have the player installed, there will be a
 two-step install process (one for the player, one for our app), which is
 sooo 90s

 · We can't legally change the install location of the NPAPI
 plugin, so if we automate downloads of the NPAPI FP10 and the user doesn't
 have Mozilla installed it's unclear what we should do

 · Not sure if we can specify the kind of Player (NPAPI vs ActiveX)
 to download from adobe.com if the user is on Windows

 Even for the base case (a user with Mozilla and the NPAPI FP10 plugin
 installed prior to install of our app), should we talk this over with Adobe
 legal?

 Has anyone heard of Adobe entering into custom licensing agreements for
 this kind of thing (and I mean, actual bonafide true stories, not conjecture
 based on Adobe's licensing page making passing reference)?

 Hope this hits someone's cache!

 Cheers,
 Jules
 --
 Jules Suggate
 Owner and Technical Lead
 Uphill Sprint Limited

 +64-21-157-8562




 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration No. 02622298 and registered office: 4th
 Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
 VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, copied
 and used only by the intended recipient. If you have received it in error,
 please contact the sender immediately by return e-mail or by telephoning
 +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
 contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs Email
 Security System.
 __
 

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

 [Message clipped]


Re: [flexcoders] For Each in XMLList

2008-10-24 Thread Steve Mathews
isNaN should work.

http://www.adobe.com/livedocs/flex/2/langref/package.html#isNaN()
On Fri, Oct 24, 2008 at 12:08 PM, Amy [EMAIL PROTECTED] wrote:

 Hi, all;

 I have a function that can take either an object or an XMLList as an
 argument.  I'm using for each (var prop in argument).  This works great
 when the argument is an object, but when it is an XMLList, I'm having a
 hard time, because it's not taking the node name as prop.  Instead,
 it's setting it as 0, 1, etc.  I'm trying to get around this by using

 if (prop is Number), but this is returning false.  How do you check to
 distinguish a string that contains a number vs. a string that does not
 contain a number?

 Thanks;

 Amy


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






[flexcoders] Sound issues in Player 10

2008-10-22 Thread Steve Mathews
I started getting reports that our product quit working in Flash Player 10
so I started investigating it. I found that loaded audio, video with audio
and swfs with audio all quit working. So if you look at
http://www.flypaper.com/product/quicktour.aspx with player 9 installed, then
with 10 you can see that it doesn't work. In this case it is a loaded swf
that has the animation and audio on the timeline. I have put together
several test cases but all of them work fine. At this point I can't think of
any reason this would quit working in player 10.
Has anyone seen any issues like this, or can someone from Adobe give me some
advice on tracking down the issue?
I would log a bug in the tracker, but without a test case I can't really say
what is wrong.
Thanks,
Steve


Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Steve Mathews
I have seen it on XP/Vista in IE7 and FF3. I asked my artists to test on a
Mac tonight.

On Wed, Oct 22, 2008 at 3:08 PM, Matt Chotin [EMAIL PROTECTED] wrote:

 I just went there in Firefox and Safari on the Mac and heard the voiceover
 fine with my debug version of FP10.  What browsers/OS's are you testing
 with?

 Matt


 On 10/22/08 2:57 PM, Steve Mathews [EMAIL PROTECTED] wrote:




 I started getting reports that our product quit working in Flash Player 10
 so I started investigating it. I found that loaded audio, video with audio
 and swfs with audio all quit working. So if you look at
 http://www.flypaper.com/product/quicktour.aspx with player 9 installed,
 then with 10 you can see that it doesn't work. In this case it is a loaded
 swf that has the animation and audio on the timeline. I have put together
 several test cases but all of them work fine. At this point I can't think of
 any reason this would quit working in player 10.

 Has anyone seen any issues like this, or can someone from Adobe give me
 some advice on tracking down the issue?

 I would log a bug in the tracker, but without a test case I can't really
 say what is wrong.

 Thanks,
 Steve



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Steve Mathews
Thanks Matt.
I have tracked down the problem, but I don't exactly know why it wasn't
working. Basically it was around a poorly written bit of code like this:

private function loadBackgroundMusic():void{
   var file:URLRequest=new URLRequest(background.mp3);
   BackgroundMusic=new Sound(file);

BackgroundMusic.addEventListener(IOErrorEvent.IO_ERROR,function(e:IOErrorEvent):void{});
   BackgroundMusic.play(0,int.MAX_VALUE);
}

It seems that when the file is not found and the IO Error fires sound is
screwed up through out the swf.

Steve

On Wed, Oct 22, 2008 at 3:53 PM, Matt Chotin [EMAIL PROTECTED] wrote:

 Hi Steve,

 Our team tested and it did reproduce.  We are filing an internal bug on
 this.  It didn't reproduce on Mac for them, so it must be a Windows bug.
  I'll see if we find out a workaround.

 Matt


 On 10/22/08 3:25 PM, Steve Mathews [EMAIL PROTECTED] wrote:




 I have seen it on XP/Vista in IE7 and FF3. I asked my artists to test on a
 Mac tonight.

 On Wed, Oct 22, 2008 at 3:08 PM, Matt Chotin [EMAIL PROTECTED] wrote:
 I just went there in Firefox and Safari on the Mac and heard the voiceover
 fine with my debug version of FP10.  What browsers/OS's are you testing
 with?

 Matt


 On 10/22/08 2:57 PM, Steve Mathews [EMAIL PROTECTED] wrote:




 I started getting reports that our product quit working in Flash Player 10
 so I started investigating it. I found that loaded audio, video with audio
 and swfs with audio all quit working. So if you look at
 http://www.flypaper.com/product/quicktour.aspx with player 9 installed,
 then with 10 you can see that it doesn't work. In this case it is a loaded
 swf that has the animation and audio on the timeline. I have put together
 several test cases but all of them work fine. At this point I can't think of
 any reason this would quit working in player 10.

 Has anyone seen any issues like this, or can someone from Adobe give me
 some advice on tracking down the issue?

 I would log a bug in the tracker, but without a test case I can't really
 say what is wrong.

 Thanks,
 Steve



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links







 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






[flexcoders] Case sensitive XML?

2008-10-20 Thread Steve Mathews
So I just figured out that e4x is case-sensitive, which really doesn't make
any sense to me, but I'll assume there is a good reason. I did some
searching but haven't found any good way to get around this and it is
driving me batty.
Let's say you have this node

param name=movie value=http://www.youtube.com/v/Y9HMn6bd-v8hl=enfs=1;

and you want to find the value attribute, but this node is included with
other param nodes with the same attributes (as seen when embedding Flash).
The problem is that this works for this case

var node:XML = xmlDoc..param.(@name == movie);

works here, but with this node

PARAM NAME=movie VALUE=http://www.youtube.com/v/Y9HMn6bd-v8hl=enfs=1;

it fails because param != PARAM.

Is there a good way of handling this?


[flexcoders] Controls in line with horizontal scroll bar?

2008-10-15 Thread Steve Mathews
I need to build something that has a zoom control in line with my horizontal
scroll bar. Here is a link to an image to better show what I am thinking:
http://www.vbaccelerator.com/home/vb/code/controls/Scroll_Bars/scrollButtons.png

In this image there are buttons on both sides of the horizontal scroll bar.
I would like two buttons and a combo box to the left only. The question I
have is what would be the best way to accomplish this? I have thought about
extending canvas in a custom MXML Component, but then I can't figure out how
to add children to that through MXML. I could write a complete custom
container to do it, but that is more work than I would like to do. So does
anyone have any other ideas I might look into? Or better yet, does anyone
know of any components that already handle this?

Thanks,
Steve


Re: [flexcoders] Re: Couple questions

2008-10-15 Thread Steve Mathews
Somehow I missed this discussion, but I might be able to offer some relevant
info. First off, I am the Sr. Team Lead of Flash/Flex development at
www.flypaper.com. We created a product that creates presentation slides (we
call them stories) that run in a Flex/AS3 runtime on the web. The
application will also import PowerPoint slides for output. I don't know
which conversion library we are using (one of our C# devs implemented it)
but if our product isn't the solution you are looking for (give it a try,
there is a 30 free trial) I would be happy to offer what guidance I can.

Steve

On Wed, Oct 15, 2008 at 5:50 PM, Paul Andrews [EMAIL PROTECTED] wrote:

 - Original Message -
 From: brucewhealton [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, October 16, 2008 1:40 AM
 Subject: [flexcoders] Re: Couple questions


  Well, it seems to me that a slide presentation need not look like and
  behave just like Powerpoint, right?  That just occurred to me while I
  was reading the messages here.  Perhaps all that is needed is an
  existing component with the ability to move from one display to the
  next, one slide as it were.

 Making a slide show type program is fairly easy.

  It might be a great deal of work though
  to make the component look nice, like one might see with Powerpoint
  applications.
  What do you think?

 LOL depends what you mean by nice.

 The strength of powerpoint is in laying out screen components on a page
 with
 good control over their appearance and the availability of canned
 transformations and effects to add interest. That coupled with an ability
 to
 use layout templates and control how a presentation plays back and can be
 printed out makes Powerpoint what it is.

 Replicating all that in Flex is a lot of work. Making something similar is
 certainly doable. Making a tool that does a targetted subset of that is
 very
 doable, but it won't be powerpoint.

 Most of the thread has concentrated on converting powerpoint slides to run
 in flash, which is a completely different proposition from making a
 powerpoint-like tool in flex.

 What exactly are your goals here?

 Paul


  Bruce
 
 
  --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:
 
  - Original Message -
  From: Paul Andrews [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Saturday, October 11, 2008 9:19 AM
  Subject: Re: [flexcoders] Couple questions
 
 
   Bruce, there are a mass of powerpoint to flash converters out there -
   google
   is your friend.
  
   The one I've worked with produced fairly large files and the
  output is an
   AS1/AS2 swf.
  
   If I were writing a slide player, I'd probably use Flex, though for a
   slide
   player it could probably just as well be all in actionscript so
  Flash or
   Flex is neither here nor there.
 
  One thing I should add - when I was researching powerpoint to flash
  converters a few months back - none of them produced AS3 swfs, so
  controlling the playback from Flex (or Flash AS3) is a little
  problematic -
  you'd need an intemediary AS2 swf to talk between the runtime
  systems. Some
  of the converters include players for playing back the converted files.
  Eventually I wrote a player using AS2.
 
  Good luck.
 
  Paul
 
   Paul
   - Original Message -
   From: brucewhealton [EMAIL PROTECTED]
   To: flexcoders@yahoogroups.com
   Sent: Saturday, October 11, 2008 6:01 AM
   Subject: [flexcoders] Couple questions
  
  
   Hello all,
 I had a few questions, where I could use some suggestions or
   opinions and ideas.  One is regarding Powerpoint-like presentations
   online.  If you were going to do something like this, would you use
   Flash or Flex - maybe these are not even the best choices?  Are there
   extensions for Flash or Flex to convert a powerpoint file to
  something
   that would play in the Flash Player?  Actually, I'm not sure if there
   even are any extensions for Flex like there are for other Adobe
   products, but I bet there are.
Next, I noticed that there is a nice AIR application for reading
   Flexcoder messages.  I'm only aware of one, the only additional thing
   I'd want is the ability to post to the group from the AIR
  application.
   Can anyone suggest some good sources for a variety of AIR
  applications?
   Lastly, are there any script collections of free or commercial
   Flex MXML/Actionscript applications that one could check out, such as
   what there are at http://hotscripts.com and other similar places.
   thanks,
   Bruce
  
  
   
  
   --
   Flexcoders Mailing List
   FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Alternative FAQ location:
  
 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
 Groups
   Links
  
  
  
  
  
  
   

[flexcoders] What is the framework caching mechanism?

2008-10-01 Thread Steve Mathews
Does anyone know what mechanism is used to cache the Flex framework RSLs
(swz files)? Is it just the browser's cache, or does the player cache them
in a different way? Also if the files are served without a caching policy
from the server (for example if they are served from a CDN) will they cache?
Thanks,
Steve


[flexcoders] Security dialog not displaying

2008-10-01 Thread Steve Mathews
So this issue keeps coming back to me and I figured I would throw a line out
to see if anyone has any ideas.
This primarily happens on Vista, but sometimes on XP. I have a swf with
use-network set to true. So if you try to run the swf from your local
computer you should get the dialog saying you can't do that unless you
change your security settings. Problem is that this dialog doesn't always
come up and you just sit there looking at a white screen. Anyone know if
there is a way to fix this, or if there is a bug logged against this issue?

Thanks,
Steve


Re: [flexcoders] Flex Framework - To cache or not to cache? - Specific case

2008-09-26 Thread Steve Mathews
First off I don't understand this line
I suspect that the app would need to be marked as a
 trusted file using Flash Player Settings Manager, otherwise it would
 result in Security Sandbox violation.

Secondly you seem to be listing configuration (i.e. work on your side) as
a negative. In my opinion you should only consider your user's point of view
to make the determination.

Your calculations are pretty accurate as to the size differences and you
seem to have a good understanding of the possible scenarios that users will
face when visiting your app. I would say that in this case you should BOTH
look into modularizing your app and implementing the framework RSLs. This
will give users who have the framework a better experience, and by using
modules give all your users a better experience. Setting up the framework
caching is so simple that it seems odd that you would not do it for an
application of this size.

Steve

On Thu, Sep 25, 2008 at 5:53 PM, tenni5fan [EMAIL PROTECTED] wrote:

 Hi,
 I have read previous posts on Flex framework caching, did some
 experiments with different compiler options and searched Google.  Many
 posts advocate using the framework cache in general, however what is
 your opinion for this specific case.
 I am working on the app having 1.6Mb in size when compiled with Flex
 framework statically linked.  If I use framework RSL, the app size
 goes down to 1.2Mb.  The goal I'm trying to achieve is to have the app
 downloaded as fast as possible the first and subsequent times users
 visit the site.
 Originally I thought it would be a good idea to use framework caching
 - the first time users would incur slight penalty 0.1Mb (1.2+0.5 vs
 1.6) vs subsequent downloads of 1.2Mb.  Unless a framework is cached
 already by visiting some other app (I think the percentage of our
 users having the framework already cached by visiting other website is
 very small).
 That penalty of 0.1M does not seem as much, but should result in
 longer than 10% delay because there will 2 separate http requests.
 The bigger concern is that after the first visit our users will
 already have the application cached in the browser cache and will load
 the app from there when they subsequently visit.  Of course the cache
 could be cleared, or we can release a newer version, but in majority
 of cases users should be getting the app from the cache.  Another
 drawback of using cache is extra deployment configuration (ant build
 scripts and deploying .swf and .swz) and more importantly running the
 app from Flash Player would require different security permissions
 because the app would first download the framework into cache if it's
 not present.  I suspect that the app would need to be marked as a
 trusted file using Flash Player Settings Manager, otherwise it would
 result in Security Sandbox violation.
 With all that said, I think in general it is worth caching the
 framework, but in this particular case I see more disadvantages than
 advantages.  Maybe in a year or so when enough people get the
 framework cached on the FP cache, it'll be worth it, but for now I
 don't see worth doing it because my goal is to minimize the download
 time of the app the first time a user visits our website and caching
 actually makes it longer.  So I'll be turning my attention to modules.
 What is your opinion for this case?


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] passing parameters flex to .net window application

2008-09-12 Thread Steve Mathews
If the Flex is hosted inside of the .net app you can use ExternalInterface.If
the Flex is running separately from the app I would recommend a Socket
connection.


On Fri, Sep 12, 2008 at 12:01 AM, aravinda88 [EMAIL PROTECTED] wrote:

 Hi,
   how can i passing parameters flex to .net 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






Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-10 Thread Steve Mathews
I have a live project that uses the framework RSLs. The one issue that I
'believe' might be related is that I am getting a delay on start up of the
swf. I hope to get the time to investigate this in the next couple weeks and
will report back here if I can confirm the delay is from having the
framework as an RSL.
Steve

On Wed, Sep 10, 2008 at 2:01 AM, Tom Chiverton [EMAIL PROTECTED]
 wrote:

 On Monday 08 Sep 2008, greg h wrote:
  Before going live, I am posting here to see if anyone has experience that
  causes them to caution against using the Framework RSL (e.g.
  framework_3.0.0.477.swz)?

 Nope - we looked the issues mentioned here, and decided to do it.
 IMHO it should be the default way of deploying public Flex applications -
 the
 more people with the framework in the cache the better for all of us.

 --
 Tom Chiverton

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A
 list of members is available for inspection at the registered office. Any
 reference to a partner in relation to Halliwells LLP means a member of
 Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.halliwells.com.

 

 --
 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






Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Steve Mathews
 I think he was talking about a Forum Implementation made in flex, like
PHPBB implemented in PHP. :)
Yes, that is what I understand. I too am speechless.

On Mon, Sep 8, 2008 at 8:27 AM, Michael Schmalle [EMAIL PROTECTED]wrote:

  I think he was talking about a Forum Implementation made in flex, like
 PHPBB implemented in PHP. :)

 Mike

 On Mon, Sep 8, 2008 at 11:21 AM, Merrill, Jason 
 [EMAIL PROTECTED] wrote:

 I was wondering if there was a Flex forum that people have used?



 I'm speechless.



 Jason Merrill
 *Bank of America *
 Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 *Join the Bank of America Flash Platform Developer Community*

 *Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal * Innovative Learning Blog* *** subscribe.




 --
 Teoti Graphix, LLC
 http://www.teotigraphix.com

 Teoti Graphix Blog
 http://www.blog.teotigraphix.com

 You can find more by solving the problem then by 'asking the question'.
  



Re: [flexcoders] Where are the AIR resources?

2008-08-07 Thread Steve Mathews
It turned out to be an issue on my part. I figured it out and got it
working.

As to security, now that my Flex swf is in the app directory, can't someone
just drop a new one in there and my AIR app think it is secure? Do I need to
verify swfs and html loaded from the app directory?

On Wed, Aug 6, 2008 at 6:12 PM, Alex Harui [EMAIL PROTECTED] wrote:

  Where's the HTML page loaded from?  Domain security rules apply to that
 too.

  --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Wednesday, August 06, 2008 4:20 PM

 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Ok, so after all this discussion (thank you by the way) I came to the
 realization that what I needed to do is be running my Flex swf as trusted.
 So I moved it and all my in-house created support swf to the app directory
 so they are installed with the app. So far so good, as I already had support
 for loading my resources from a different path by setting a var in the embed
 code.

 Now I have a new issue in that when you hit Esc in my Flex swf I call both
 a ExternalInterface call and an fscommand to let the container know about
 it. I had it working where my hosting html page was getting these calls, but
 now it doesn't seem to be. I would have expected it the other way around
 where as non-trusted the calls would get lost and as trusted they would
 work. Any ideas?

 On Tue, Aug 5, 2008 at 3:13 PM, Alex Harui [EMAIL PROTECTED] wrote:

  I'm sure there is a way to do that right now.  It might be a planned
 feature for a future AIR release.  You can try it though.

 This post:
 http://weblogs.macromedia.com/emalasky/archives/2008/04/remote_plugins.html#more
  implies
 that you can't and should use loadBytes instead.

 -Alex

  --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, August 05, 2008 2:58 PM
 *To:* flexcoders@yahoogroups.com

 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Alex,

 Yes, it isn't an error, just the security dialog because my swf has
 -use-network=true but it is running locally. In theory I can compile a
 'local' version, but there are some webservices that I would like to consume
 even on the desktop. Also, I don't think telling the user to trust the
 app-storage folder is a good solution. You mention getting it into the same
 directory as the main swf. Can you expand on that comment?

 Thanks

 On Tue, Aug 5, 2008 at 11:09 AM, Alex Harui [EMAIL PROTECTED] wrote:

  You didn't say what error you are getting, but I'll bet it is that a
 localWithNetworking swf can't access local assets.

 Good thing we have that security check otherwise if you downloaded a
 spyware SWF, someone would be stealing your identity.
 So, no matter what, if you suck down SWF bits and launch them locally,
 please find a way to validate them against a man-in-the-middle attack.  We
 have a SHA library you can use.

 Once you truly trust the SWF bits, the next question is why your SWF
 needs network access.  If it doesn't, turn it off and you won't get
 warnings.  If it does need network access, I think your choices are to find
 a way load it into a trusted directory (users can opt to trust certain
 directories, or you somehow get it into the same directory as the main SWF),
 or proxy the network I/O or file system I/O through the main app.

 I don't think HTMLLoader or an intermediary HTML file is going to help.

 -Alex

  --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 *On Behalf Of *Steve Mathews
 *Sent:* Tuesday, August 05, 2008 10:48 AM

 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Let me give some specific examples so hopefully we can get this to
 work.

 What I am creating is a player for a custom file type. The file is
 basically a zip (with different extension) that when opened is extracted to
 the app-storage location. This is just resources. Next I have a Flex based
 swf that can actually run with these resources. What I was thinking is that
 I could just copy this swf (and some others that it loads) into the
 app-storage directory and load it.

 So what I have started with is a Flex based AIR application that
 registers as the default for the file extension, loads the file and extracts
 it to the app-storage. After I copy (mannulay for now) the external Flex swf
 and an html page to the app-storage, I load the html into AIR using the
 HTMLLoader. Eventually I would like to be able to update the external swf
 and some of the other supporting swfs, so please keep that in mind when
 making recommendations.

 Thanks for the help,
 Steve



 On Mon, Aug 4, 2008 at 5:11 PM, Alex Harui [EMAIL PROTECTED] wrote:

  Just so I'm clear.  You have a AIR SWF based on Flex that is using
 HTMLLoader to load another Flex

Re: [flexcoders] Where are the AIR resources?

2008-08-06 Thread Steve Mathews
Ok, so after all this discussion (thank you by the way) I came to the
realization that what I needed to do is be running my Flex swf as trusted.
So I moved it and all my in-house created support swf to the app directory
so they are installed with the app. So far so good, as I already had support
for loading my resources from a different path by setting a var in the embed
code.

Now I have a new issue in that when you hit Esc in my Flex swf I call both a
ExternalInterface call and an fscommand to let the container know about it.
I had it working where my hosting html page was getting these calls, but now
it doesn't seem to be. I would have expected it the other way around where
as non-trusted the calls would get lost and as trusted they would work. Any
ideas?

On Tue, Aug 5, 2008 at 3:13 PM, Alex Harui [EMAIL PROTECTED] wrote:

  I'm sure there is a way to do that right now.  It might be a planned
 feature for a future AIR release.  You can try it though.

 This post:
 http://weblogs.macromedia.com/emalasky/archives/2008/04/remote_plugins.html#more
  implies
 that you can't and should use loadBytes instead.

 -Alex

  --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, August 05, 2008 2:58 PM
 *To:* flexcoders@yahoogroups.com

 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Alex,

 Yes, it isn't an error, just the security dialog because my swf has
 -use-network=true but it is running locally. In theory I can compile a
 'local' version, but there are some webservices that I would like to consume
 even on the desktop. Also, I don't think telling the user to trust the
 app-storage folder is a good solution. You mention getting it into the same
 directory as the main swf. Can you expand on that comment?

 Thanks

 On Tue, Aug 5, 2008 at 11:09 AM, Alex Harui [EMAIL PROTECTED] wrote:

  You didn't say what error you are getting, but I'll bet it is that a
 localWithNetworking swf can't access local assets.

 Good thing we have that security check otherwise if you downloaded a
 spyware SWF, someone would be stealing your identity.
 So, no matter what, if you suck down SWF bits and launch them locally,
 please find a way to validate them against a man-in-the-middle attack.  We
 have a SHA library you can use.

 Once you truly trust the SWF bits, the next question is why your SWF needs
 network access.  If it doesn't, turn it off and you won't get warnings.  If
 it does need network access, I think your choices are to find a way load it
 into a trusted directory (users can opt to trust certain directories, or you
 somehow get it into the same directory as the main SWF), or proxy the
 network I/O or file system I/O through the main app.

 I don't think HTMLLoader or an intermediary HTML file is going to help.

 -Alex

  --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, August 05, 2008 10:48 AM

 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Let me give some specific examples so hopefully we can get this to
 work.

 What I am creating is a player for a custom file type. The file is
 basically a zip (with different extension) that when opened is extracted to
 the app-storage location. This is just resources. Next I have a Flex based
 swf that can actually run with these resources. What I was thinking is that
 I could just copy this swf (and some others that it loads) into the
 app-storage directory and load it.

 So what I have started with is a Flex based AIR application that registers
 as the default for the file extension, loads the file and extracts it to the
 app-storage. After I copy (mannulay for now) the external Flex swf and an
 html page to the app-storage, I load the html into AIR using the HTMLLoader.
 Eventually I would like to be able to update the external swf and some of
 the other supporting swfs, so please keep that in mind when making
 recommendations.

 Thanks for the help,
 Steve



 On Mon, Aug 4, 2008 at 5:11 PM, Alex Harui [EMAIL PROTECTED] wrote:

  Just so I'm clear.  You have a AIR SWF based on Flex that is using
 HTMLLoader to load another Flex SWF off the web?  Are the two SWFs supposed
 to be able to communicate?  What error are you getting?

 FWIW, the Marshall Plan will allow an AIR/Flex SWF to load another Flex
 SWF off the web directly, but the loaded SWF will be untrusted and can't
 access AIR things like NativeWindow and the file system.

  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Jim Hayes
 *Sent:* Monday, August 04, 2008 4:58 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Where are the AIR resources?

  My understanding is that because I can't load Flex into Flex

 I missed that bit (and was unaware of that in any case, never tried it so
 far), so

Re: [flexcoders] Where are the AIR resources?

2008-08-05 Thread Steve Mathews
Let me give some specific examples so hopefully we can get this to work.

What I am creating is a player for a custom file type. The file is
basically a zip (with different extension) that when opened is extracted to
the app-storage location. This is just resources. Next I have a Flex based
swf that can actually run with these resources. What I was thinking is that
I could just copy this swf (and some others that it loads) into the
app-storage directory and load it.

So what I have started with is a Flex based AIR application that registers
as the default for the file extension, loads the file and extracts it to the
app-storage. After I copy (mannulay for now) the external Flex swf and an
html page to the app-storage, I load the html into AIR using the HTMLLoader.
Eventually I would like to be able to update the external swf and some of
the other supporting swfs, so please keep that in mind when making
recommendations.

Thanks for the help,
Steve



On Mon, Aug 4, 2008 at 5:11 PM, Alex Harui [EMAIL PROTECTED] wrote:

  Just so I'm clear.  You have a AIR SWF based on Flex that is using
 HTMLLoader to load another Flex SWF off the web?  Are the two SWFs supposed
 to be able to communicate?  What error are you getting?

 FWIW, the Marshall Plan will allow an AIR/Flex SWF to load another Flex SWF
 off the web directly, but the loaded SWF will be untrusted and can't access
 AIR things like NativeWindow and the file system.

  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Jim Hayes
 *Sent:* Monday, August 04, 2008 4:58 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Where are the AIR resources?

  My understanding is that because I can't load Flex into Flex

 I missed that bit (and was unaware of that in any case, never tried it so
 far), so I don't think I can offer any useful advice I'm afraid.

 Sorry about that, hopefully someone else can comment/advise.

 -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* 05 August 2008 00:49
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 My AIR app is Flex based. I am using the HTMLLoader to load a
 (currently) standard html page with the Flex swf embedded. This HTMLLoader
 is in a new Native Window (in case that makes any difference).

  My understanding is that because I can't load Flex into Flex this method
 runs the loaded html in a separate security/application domain. Would I
 benefit by creating a new Native Window with a html source (can I even do
 that?), then loading the Flex into that window?

  Thanks,

 Steve

 On Mon, Aug 4, 2008 at 3:46 PM, Jim Hayes [EMAIL PROTECTED] wrote:

 Are you loading it into an html based AIR app using the built in flash
 plugin?

 Or loading it via swfLoader into an AS/mxml based application?

  -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews

 *Sent:* 04 August 2008 23:34


 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Specifically I have a Flex based swf that I am loading into my AIR
 app. It is dynamically driven (i.e. external content) and is intended to be
 running on the web. So of course in it's compiler options I have
 -use-network=true. So when run from the desktop you get the security dialog
 asking if you would like to allow it. My question is, would it be possible
 to get around this? I trust the swf as I created and maintain it, but I
 would rather not have two versions of it (one for web, one for local).

  Thanks,

 Steve

 2008/8/4 Dimitrios Gianninas [EMAIL PROTECTED]

 I've been building AIR apps recently, I always look at the online docs at
 http://livedocs.adobe.com/flex/3/html/index.html

 I usually ask my questions on this list...just a habbit. What questions do
 you have?

 *Dimitrios Gianninas*

 *RIA Developer and Team Lead*

 *Optimal Payments Inc.*

  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Monday, August 04, 2008 2:06 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Where are the AIR resources?

I am trying to learn more about building AIR apps, but it seems that
 when I run into a roadblock I have a lot of trouble finding information. I
 am subscribed to apollocoders, but that list is next to dead (although I did
 get a couple answers from there). Is this just a sign that hardly anyone is
 using the technology, or am I just missing where are the talk is? I am
 looking for any sites or lists where there is better info than just what is
 in the help docs.

 ...

 [Message clipped]


 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration

Re: [flexcoders] Where are the AIR resources?

2008-08-05 Thread Steve Mathews
Alex,

Yes, it isn't an error, just the security dialog because my swf has
-use-network=true but it is running locally. In theory I can compile a
'local' version, but there are some webservices that I would like to consume
even on the desktop. Also, I don't think telling the user to trust the
app-storage folder is a good solution. You mention getting it into the same
directory as the main swf. Can you expand on that comment?

Thanks

On Tue, Aug 5, 2008 at 11:09 AM, Alex Harui [EMAIL PROTECTED] wrote:

  You didn't say what error you are getting, but I'll bet it is that a
 localWithNetworking swf can't access local assets.

 Good thing we have that security check otherwise if you downloaded a
 spyware SWF, someone would be stealing your identity.
 So, no matter what, if you suck down SWF bits and launch them locally,
 please find a way to validate them against a man-in-the-middle attack.  We
 have a SHA library you can use.

 Once you truly trust the SWF bits, the next question is why your SWF needs
 network access.  If it doesn't, turn it off and you won't get warnings.  If
 it does need network access, I think your choices are to find a way load it
 into a trusted directory (users can opt to trust certain directories, or you
 somehow get it into the same directory as the main SWF), or proxy the
 network I/O or file system I/O through the main app.

 I don't think HTMLLoader or an intermediary HTML file is going to help.

 -Alex

  --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, August 05, 2008 10:48 AM

 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Let me give some specific examples so hopefully we can get this to
 work.

 What I am creating is a player for a custom file type. The file is
 basically a zip (with different extension) that when opened is extracted to
 the app-storage location. This is just resources. Next I have a Flex based
 swf that can actually run with these resources. What I was thinking is that
 I could just copy this swf (and some others that it loads) into the
 app-storage directory and load it.

 So what I have started with is a Flex based AIR application that registers
 as the default for the file extension, loads the file and extracts it to the
 app-storage. After I copy (mannulay for now) the external Flex swf and an
 html page to the app-storage, I load the html into AIR using the HTMLLoader.
 Eventually I would like to be able to update the external swf and some of
 the other supporting swfs, so please keep that in mind when making
 recommendations.

 Thanks for the help,
 Steve



 On Mon, Aug 4, 2008 at 5:11 PM, Alex Harui [EMAIL PROTECTED] wrote:

  Just so I'm clear.  You have a AIR SWF based on Flex that is using
 HTMLLoader to load another Flex SWF off the web?  Are the two SWFs supposed
 to be able to communicate?  What error are you getting?

 FWIW, the Marshall Plan will allow an AIR/Flex SWF to load another Flex
 SWF off the web directly, but the loaded SWF will be untrusted and can't
 access AIR things like NativeWindow and the file system.

  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Jim Hayes
 *Sent:* Monday, August 04, 2008 4:58 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Where are the AIR resources?

  My understanding is that because I can't load Flex into Flex

 I missed that bit (and was unaware of that in any case, never tried it so
 far), so I don't think I can offer any useful advice I'm afraid.

 Sorry about that, hopefully someone else can comment/advise.

 -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* 05 August 2008 00:49
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 My AIR app is Flex based. I am using the HTMLLoader to load a
 (currently) standard html page with the Flex swf embedded. This HTMLLoader
 is in a new Native Window (in case that makes any difference).

  My understanding is that because I can't load Flex into Flex this method
 runs the loaded html in a separate security/application domain. Would I
 benefit by creating a new Native Window with a html source (can I even do
 that?), then loading the Flex into that window?

  Thanks,

 Steve

 On Mon, Aug 4, 2008 at 3:46 PM, Jim Hayes [EMAIL PROTECTED] wrote:

 Are you loading it into an html based AIR app using the built in flash
 plugin?

 Or loading it via swfLoader into an AS/mxml based application?

  -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews

 *Sent:* 04 August 2008 23:34


 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?

 Specifically I have a Flex based swf that I am loading into my AIR
 app

[flexcoders] Where are the AIR resources?

2008-08-04 Thread Steve Mathews
I am trying to learn more about building AIR apps, but it seems that when I
run into a roadblock I have a lot of trouble finding information. I am
subscribed to apollocoders, but that list is next to dead (although I did
get a couple answers from there). Is this just a sign that hardly anyone is
using the technology, or am I just missing where are the talk is? I am
looking for any sites or lists where there is better info than just what is
in the help docs.

Thanks,
Steve


Re: [flexcoders] Where are the AIR resources?

2008-08-04 Thread Steve Mathews
Specifically I have a Flex based swf that I am loading into my AIR app. It
is dynamically driven (i.e. external content) and is intended to be running
on the web. So of course in it's compiler options I have -use-network=true.
So when run from the desktop you get the security dialog asking if you would
like to allow it. My question is, would it be possible to get around this? I
trust the swf as I created and maintain it, but I would rather not have two
versions of it (one for web, one for local).

Thanks,
Steve

2008/8/4 Dimitrios Gianninas [EMAIL PROTECTED]

  I've been building AIR apps recently, I always look at the online docs at
 http://livedocs.adobe.com/flex/3/html/index.html

 I usually ask my questions on this list...just a habbit. What questions do
 you have?

 *Dimitrios Gianninas*
 *RIA Developer and Team Lead*
 *Optimal Payments Inc.*


  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Monday, August 04, 2008 2:06 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Where are the AIR resources?

I am trying to learn more about building AIR apps, but it seems that
 when I run into a roadblock I have a lot of trouble finding information. I
 am subscribed to apollocoders, but that list is next to dead (although I did
 get a couple answers from there). Is this just a sign that hardly anyone is
 using the technology, or am I just missing where are the talk is? I am
 looking for any sites or lists where there is better info than just what is
 in the help docs.

 Thanks,
 Steve

*AVIS IMPORTANT*

 *WARNING*

 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
 privilège ou à aucun autre droit si le présent message a été transmis
 involontairement ou s'il est retransmis sans son autorisation. Si vous
 n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
 par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
 que toutes ses pièces jointes, de votre système. La lecture, la
 distribution, la copie ou tout autre usage du présent message ou de ses
 pièces jointes par des personnes autres que le destinataire visé ne sont pas
 autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
 électronique par erreur, veuillez en aviser l'expéditeur.

 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. If
 you are not the intended recipient of this message, or if you have received
 it in error, you should immediately stop reading this message and delete it
 and all attachments from your system. The reading, distribution, copying or
 other use of this message or its attachments by unintended recipients is
 unauthorized and may be unlawful. If you have received this e-mail in error,
 please notify the sender.
 



Re: [flexcoders] Where are the AIR resources?

2008-08-04 Thread Steve Mathews
My AIR app is Flex based. I am using the HTMLLoader to load a (currently)
standard html page with the Flex swf embedded. This HTMLLoader is in a new
Native Window (in case that makes any difference).

My understanding is that because I can't load Flex into Flex this method
runs the loaded html in a separate security/application domain. Would I
benefit by creating a new Native Window with a html source (can I even do
that?), then loading the Flex into that window?

Thanks,
Steve

On Mon, Aug 4, 2008 at 3:46 PM, Jim Hayes [EMAIL PROTECTED] wrote:

  Are you loading it into an html based AIR app using the built in flash
 plugin?

 Or loading it via swfLoader into an AS/mxml based application?



 -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* 04 August 2008 23:34
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Where are the AIR resources?



 Specifically I have a Flex based swf that I am loading into my AIR app. It
 is dynamically driven (i.e. external content) and is intended to be running
 on the web. So of course in it's compiler options I have -use-network=true.
 So when run from the desktop you get the security dialog asking if you would
 like to allow it. My question is, would it be possible to get around this? I
 trust the swf as I created and maintain it, but I would rather not have two
 versions of it (one for web, one for local).



 Thanks,

 Steve

 2008/8/4 Dimitrios Gianninas [EMAIL PROTECTED]

 I've been building AIR apps recently, I always look at the online docs at
 http://livedocs.adobe.com/flex/3/html/index.html



 I usually ask my questions on this list...just a habbit. What questions do
 you have?



 *Dimitrios Gianninas*

 *RIA Developer and Team Lead*

 *Optimal Payments Inc.*




  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Monday, August 04, 2008 2:06 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Where are the AIR resources?

 I am trying to learn more about building AIR apps, but it seems that when I
 run into a roadblock I have a lot of trouble finding information. I am
 subscribed to apollocoders, but that list is next to dead (although I did
 get a couple answers from there). Is this just a sign that hardly anyone is
 using the technology, or am I just missing where are the talk is? I am
 looking for any sites or lists where there is better info than just what is
 in the help docs.

 ...

 [Message clipped]


Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Steve Mathews
You can compile a class into an external swf and load that, then get the
class out of it. Works great if you don't know what classes you need until
runtime, but don't want to bloat your main swf.


*Steve Mathews*

*Senior Team Lead*

*Flypaper Studio, Inc.*
*www.flypaper.com*

On Wed, Jul 30, 2008 at 4:44 PM, Josh McDonald [EMAIL PROTECTED] wrote:

  You can tell the compiler to include any class you want, as well as
 whatever it thinks you want, right? Or is that only valid for SWCs?

 -Josh

 --
 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] Flex Framwork Caching and Referer URL

2008-07-15 Thread Steve Mathews
Bug created: https://bugs.adobe.com/jira/browse/SDK-16105


On Mon, Jul 14, 2008 at 5:28 PM, Matt Chotin [EMAIL PROTECTED] wrote:
 Hmm, this seems odd.  Can you submit a small sample via the bugbase and we'll 
 take a look?  Let me know the bug # (mail me offlist).

 Matt


 On 7/14/08 5:14 PM, Steve Mathews [EMAIL PROTECTED] wrote:




 Something odd just happened. I enabled Flex framework caching in my
 project and all of a sudden my url changed to have /[[dynamic]]/1 or
 /[[dynamic]]/2 after the swf. After beating my head against the
 keyboard a few times I came up with a wild theory. Could it be related
 to the framework caching? So after a quick recompile... sure enough it
 was gone. So what the hell is this crap? Do I have to just parse it
 out of my url? Is there a better way to handle this? Is there
 documentation on this anywhere? ARRGGG! (the frustration is because I
 have a release in 2 days!)

 Thanks for ANY info.

 Steve Mathews
 Senior Team Lead

 Flypaper Studio, Inc.
 2999 North 44th Street, Suite 200
 Phoenix, AZ 85018
 www.flypaper.com



 

 --
 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






[flexcoders] Flex Framwork Caching and Referer URL

2008-07-14 Thread Steve Mathews
Something odd just happened. I enabled Flex framework caching in my
project and all of a sudden my url changed to have /[[dynamic]]/1 or
/[[dynamic]]/2 after the swf. After beating my head against the
keyboard a few times I came up with a wild theory. Could it be related
to the framework caching? So after a quick recompile... sure enough it
was gone. So what the hell is this crap? Do I have to just parse it
out of my url? Is there a better way to handle this? Is there
documentation on this anywhere? ARRGGG! (the frustration is because I
have a release in 2 days!)

Thanks for ANY info.

Steve Mathews
Senior Team Lead

Flypaper Studio, Inc.
2999 North 44th Street, Suite 200
Phoenix, AZ 85018
www.flypaper.com


[flexcoders] Flash Player 10 and RTMFP

2008-07-10 Thread Steve Mathews
I was reading this FAQ located here:
http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_rtmfp_faq_070208.pdf

Something doesn't click for me. It lists three examples of what
solutions can be built, one of which is multi-player games. But near
the bottom under limitations it states It only enables communication
from the voice and video devices native on your computer (e.g.
microphone and web-cam).

So does this imply that multi-player games really means voice/video
chat on top of a regular (i.e. socket connected) multi-player game? If
so then I am not nearly excited for the tech as I was. :(


Re: [flexcoders] Re: way way OT: another flex?

2008-06-19 Thread Steve Mathews
Think you can convince them to do a contest? Build a great Flex app
and win a Flex vehicle.

On 6/19/08, Matt Chotin [EMAIL PROTECTED] wrote:
 Is it wrong of me to ask the company to buy one though just because of the 
 synergy?


 On 6/19/08 8:28 AM, simonjpalmer [EMAIL PROTECTED] wrote:




 Looks more like the left-overs from the Range Rover parts bin...

 http://www.autobytel.com/images/carcom/06_LandRover_RangeRover/400/06_RANGE_ROVER_RngRvr_exfrpass34.jpg

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , 
 Paul Hastings [EMAIL PROTECTED]
 wrote:
 
  found this serendipitously while googling for flex...i like the name
 but it
  looks like a mini cooper on steroids ;-)
 
  http://www.fordvehicles.com/flex/
 




 

 --
 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






Re: [flexcoders] ByteArray as VideoDisplay source

2008-06-19 Thread Steve Mathews
Nope, not possible. There is a feature request for it in the Player Bug DB.
Go vote for it to 'hopefully' see it implemented.
https://bugs.adobe.com/jira/browse/FP-5

Steve


On 6/19/08, Joshua Garnett [EMAIL PROTECTED] wrote:

 Does anyone know of a way to connect a VideoDisplay or Video object to a
 locally created ByteArray as opposed to a NetStream source?  or perhaps how
 to sub-class NetStream in order to manually feed bytes from a ByteArray to
 the Video object?

 Essentially what I want to do is have a custom loading routine that I will
 write and then pass that data on manually to a Video object.  Any help would
 be appreciated.  Thanks!




 --Josh
 



Re: [flexcoders] Re: Move and Resize effect on panel

2008-06-17 Thread Steve Mathews
Thanks Tim, this worked great.

On 6/16/08, Tim Hoff [EMAIL PROTECTED] wrote:

  Hi Steve,

 Would usually use state transitions for this, with a shorter duration, but
 the code below works the same way.  Effects are smoothest when you set the
 from and to values.  Not as smooth if you are applying an effect on a
 component that is percentage size based.  For these, change
 something else that has a fixed size, and let the framework do the work for
 you.  So, instead of applying the effects to panelRight, perform them on
 middlePanel.

 -TH

 ?xml version=1.0 encoding=utf-8?

 mx:Application
 xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

 verticalScrollPolicy=
 off horizontalScrollPolicy=off



 mx:Script

 ![CDATA[
 *

 private
 **function* showHideMiddle():*void*

 {

 middleVisible = !middleVisible;

 }

 [
 *Bindable*]*

 private
 **var* middleVisible:Boolean = *true*;

 ]]

 /mx:Script



 mx:Parallel
 id=hideMiddlePanel

 mx:Resize duration=1000 widthFrom=100 widthTo=0/

 mx:Fade duration=1000 alphaFrom=1 alphaTo=0/

 /mx:Parallel




 mx:Parallel
 id=showMiddlePanel

 mx:Resize duration=1000 widthFrom=0 widthTo=100/

 mx:Fade duration=1000 alphaFrom=0 alphaTo=1/

 /mx:Parallel




 mx:HBox
 left=10 top=10 width=90% height=90%

 verticalScrollPolicy=
 off horizontalScrollPolicy=off




 mx:Panel click=showHideMiddle() id=panelLeft width=100

 height=100% layout=absolute

 /mx:Panel




 mx:Panel id=panelMiddle visible={middleVisible}

 width=100 height=100%

 hideEffect=hideMiddlePanel

 showEffect=showMiddlePanel

 layout=absolute

 /mx:Panel




 mx:Panel id=panelRight

 width=100% height=100%

 layout=absolute

 /mx:Panel




 /mx:HBox




 /mx:Application


 --- In flexcoders@yahoogroups.com, Steve Mathews [EMAIL PROTECTED] wrote:
 
  I have a layout of three panels in an HBox. The first and second are
  100px wide and the third is 100%. I need to show/hide the middle
  panel. When this happens I would like the third panel to move/resize
  to fill the space. The problem is I have tried using view
  states/transitions and just moveEffect/resizeEffect, but it all looks
  horrible. Below is an example of the layout. Is there a
  better/different way to do this that would give me a nice effect?
 
  Thanks.
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
  verticalScrollPolicy=off horizontalScrollPolicy=off
  mx:Script
  ![CDATA[
  private function showHideMiddle():void
  {
  middleVisible = !middleVisible;
  }
 
  [Bindable]
  private var middleVisible:Boolean = true;
 
  ]]
  /mx:Script
 
  mx:Move id=middleMove duration=1000 /
  mx:Resize id=middleResize duration=1000 /
 
  mx:HBox left=10 top=10 width=90% height=90%
  verticalScrollPolicy=off horizontalScrollPolicy=off
  mx:Panel click=showHideMiddle() id=panelLeft width=100
  height=100% layout=absolute
  /mx:Panel
  mx:Panel id=panelMiddle visible={middleVisible}
  includeInLayout={middleVisible} width=100 height=100%
  layout=absolute
  /mx:Panel
  mx:Panel id=panelRight moveEffect=middleMove
  resizeEffect=middleResize width=100% height=100%
  layout=absolute
  /mx:Panel
  /mx:HBox
  /mx:Application
 
 



[flexcoders] Move and Resize effect on panel

2008-06-16 Thread Steve Mathews
I have a layout of three panels in an HBox. The first and second are
100px wide and the third is 100%. I need to show/hide the middle
panel. When this happens I would like the third panel to move/resize
to fill the space. The problem is I have tried using view
states/transitions and just moveEffect/resizeEffect, but it all looks
horrible. Below is an example of the layout. Is there a
better/different way to do this that would give me a nice effect?

Thanks.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
verticalScrollPolicy=off horizontalScrollPolicy=off
mx:Script
![CDATA[
private function showHideMiddle():void
{
middleVisible = !middleVisible;
}

[Bindable]
private var middleVisible:Boolean = true;

]]
/mx:Script

mx:Move id=middleMove duration=1000 /
mx:Resize id=middleResize duration=1000 /

mx:HBox left=10 top=10 width=90% height=90%
verticalScrollPolicy=off horizontalScrollPolicy=off
mx:Panel click=showHideMiddle() id=panelLeft width=100
height=100% layout=absolute
/mx:Panel
mx:Panel id=panelMiddle visible={middleVisible}
includeInLayout={middleVisible} width=100 height=100%
layout=absolute
/mx:Panel
mx:Panel id=panelRight moveEffect=middleMove
resizeEffect=middleResize width=100% height=100%
layout=absolute
/mx:Panel
/mx:HBox
/mx:Application


Re: [flexcoders] Solution similair to f-in-box (actionscript - c#)

2008-06-10 Thread Steve Mathews
I have been working on the Flash side of an application like this for
just over a year now. We originally were using the default C# COM
object and later switched to f-in-box. Although ExternalInterface has
held up like a champ (it can auto convert some basic types) it is a
bit too slow for the hundreds of calls we are now making. We recently
switched to using a socket connection and so far it is working out
pretty good.

As to your question about other wrappers, I don't think there are
really any other viable ones out there.

Steve Mathews
Senior Team Lead
Flypaper Studio, Inc.
www.flypaper.com


On 6/10/08, dievanmijislanger [EMAIL PROTECTED] wrote:
 Hello flex'ers,

 I'm looking for solutions to integrate a flex/flash swf in a desktop
 C# .NET application.

 I've found one so far (www.f-in-box.com) and it works pretty okee, but
 I want to know if there are others. One big downfall of f-in-box is
 that you only can send strings between C# and actionscript via
 externalInterface.

 The reason why i'm so interested in this construction is that i want
 to have beautiful charts in my desktop application.

 Thanks in advance,

 Mikhail


 

 --
 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






Re: [flexcoders] Arc, Bulge, Valley Pennant Text Warping Effects

2008-04-25 Thread Steve Mathews
You might want to check out http://www.txeff.com/#/welcome/. Not
certain it will do exactly what you are looking for, but it is pretty
powerful.

On 4/24/08, shawn.makinson [EMAIL PROTECTED] wrote:
 I'm looking for someone with experience with applying these types of text 
 effects to dynamic
 TextFields in Flash, but ultimately to be used in Flex. I'm assuming it would 
 be done with
 Displacement maps, but am open to other methods. Please contact me if you are 
 interested
 at shawn[at]squarefactor.com. Thanks.


 

 --
 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






Re: [flexcoders] Module's button's labels getting cut of in projector fullscreen.

2008-04-18 Thread Steve Mathews
Yep, tried embedded fonts.

Yep, buttons in the main app do not get cut off.

Also, in any other mode (in a browser, in maximized window) the labels
do not get cut.

If I get the time I will put together a small example case and log it
as a bug to the Flex bug db.

On Thu, Apr 17, 2008 at 10:21 PM, Alex Harui [EMAIL PROTECTED] wrote:



 Are fonts embedded?  Buttons in the main app do not get cut off?


 


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Steve Mathews
 Sent: Thursday, April 17, 2008 3:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Module's button's labels getting cut of in projector
 fullscreen.






 So I have a Module that is loaded just using the mx:ModuleLoader tag. The
 module has a few buttons that are in a canvas that is in a VBox that is in a
 HBox... etc.





 If the loading app is run standalone, or projector and calls the fscommand
 to go full-screen (not the video full-screen feature), the labels on the
 buttons get cut off. It is the bottom half that gets cut. I tried making
 sure the font was embedded, but that did not change anything. Has anyone
 seen this behavior and/or know of a workaround?


[flexcoders] Is there an easier way? [Embedding swf asset]

2008-04-17 Thread Steve Mathews
Ok, so going off the steps on this page:
http://www.adobe.com/devnet/flex/quickstart/embedding_assets/

I figured out how to embed a Flash library asset using the following steps:
1. Embed symbol as a Class (same as the link above).
2. Create a new instance of the Class as a Sprite.
3. Create a UIComponent, and add my Sprite to that.
4. Add the UIComponent to my Canvas.

This seems more difficult that it should be. What am I missing?


[flexcoders] Module's button's labels getting cut of in projector fullscreen.

2008-04-17 Thread Steve Mathews
So I have a Module that is loaded just using the mx:ModuleLoader tag. The
module has a few buttons that are in a canvas that is in a VBox that is in a
HBox... etc.

If the loading app is run standalone, or projector and calls the fscommand
to go full-screen (not the video full-screen feature), the labels on the
buttons get cut off. It is the bottom half that gets cut. I tried making
sure the font was embedded, but that did not change anything. Has anyone
seen this behavior and/or know of a workaround?


Re: [flexcoders] Anyone holding on to Flex Builder 2?

2008-04-11 Thread Steve Mathews
We are sticking to FB2 for now, but only because we have a v1 release at the
end of the month. As soon as we release we will move to FB3 and the Flex 3
framework to take advantage of the framework caching.




*Steve Mathews*

*Senior Software Engineer*

* *

*Flypaper Studio, Inc.*

2999 North 44th Street, Suite 200

Phoenix, AZ 85018
www.flypaper.net


On 4/11/08, jack_freud [EMAIL PROTECTED] wrote:

 I wonder if anyone has found a good reason to hold on to their
 installation of FB2, since FB3 even lets you compile against the 2.0.1
 SDK?

 Also, has anyone found bugs in 3's behavior that weren't there in 2?
 We've had a couple things happen in apps that I could swear were
 working previously but I haven't gone back to check, just fixed
 changed them so they work again...




 

 --
 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






[flexcoders] Local file access

2008-04-07 Thread Steve Mathews
One of the noticeable differences between Silverlight and Flash is the way
they handle local file access. In Flash we have to upload a file to the
server before we can gain access to the file's contents. In Silverlight you
get access to the file as soon as it is selected by the user. My question is
if anyone knows if the way Flash does it is because of security concerns
(meaning Silverlight might have to change), or not (meaning Flash 'could'
change)? I have to say that I really like the way Silverlight handles it as
there is no round-trip delay before a user can start using the file in your
RIA.


*Steve Mathews*

*Senior Software Engineer*

e [EMAIL PROTECTED]



*Flypaper Studio, Inc.*

2999 North 44th Street, Suite 200

Phoenix, AZ 85018
www.flypaper.net


Re: [flexcoders] Power point in FLEX

2008-02-20 Thread Steve Mathews
If you are looking just to create online presentations (not ppt) then check
out www.flypaper.net. You can easily build presentations and output Flash.

Disclaimer: I work for Flypaper Studio.


*Steve Mathews*

*Senior Software Engineer*

e [EMAIL PROTECTED]



*Flypaper Studio, Inc.*

www.flypaper.net



On 2/20/08, Karthik pothuri [EMAIL PROTECTED] wrote:

  *Friends,*
 **
 *I am new member to this group.*
 **
 *Please drop your ideas on How to develop power point presentations in
 Flex on web browser.*
 **
 *Microsoft powerpoint on web browser. To develop this which topics helps
 me ...*
 **
 *Help me..*
 **
 **
 *Karthik..))*
 **

 --
 5, 50, 500, 5000 - Store N number of mails in your inbox. Click 
 here.http://in.rd.yahoo.com/tagline_mail_4/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
 




Re: [flexcoders] NetStream - any way to play bytes

2008-02-15 Thread Steve Mathews
This keeps coming up all over, and unfortunately the answer always seems to
be no.


*Steve Mathews*

*Senior Software Engineer*
e [EMAIL PROTECTED]


*Flypaper Studio, Inc.*
www.flypaper.net


On 2/15/08, polestar11 [EMAIL PROTECTED] wrote:
 Hi

 Is there any way that a Netstream class can play bytes in memory,
 rather than referencing a filename?

 Cheers
 Tracy



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Flex/Flash memory allocation

2008-02-13 Thread Steve Mathews
Garbage collection does not happen at your request. It is lazy and
does it when it feels like it. You can use Flex Builder 3 beta which
does have a 'force gc' button when running in debug. This can help you
identify if you still have references, or if the gc just hasn't
happened.

Steve

On Feb 13, 2008 6:45 AM, Guilherme Defreitas Juraszek
[EMAIL PROTECTED] wrote:



 Hey Guys



 I have a problem with Flash Runtime. While the flex application is running,
 the browser increase de memory utilization, but after close the tabs (inside
 flex app) the memory consume not decrease. I try to alter my code to myvar =
 null to force the Garbage Collector to clear, but not works fine. What's
 happening?



 Tks



  


[flexcoders] Global Error Catching

2008-02-04 Thread Steve Mathews
What would be the best way to catch errors globally? I do a lot of
error catching as I track them down, but because my app is running
inside of a .NET windows form, I need to capture any errors so that I
can send the message up to the form for display. Is there any way to
capture errors at the Application level of the mxml?


[flexcoders] Re: Getting the base parameter of the embed

2008-02-04 Thread Steve Mathews
I found what feels like a hack way of doing this. Still interested in
any other ideas.

The way I am doing it for now is by loading a swf and getting the path
from the url property of the contentLoaderInfo. Then I parse out the
part of the path that I need. This seems like it will be easily
broken, so I would like to find a better way.

On 1/31/08, Steve Mathews [EMAIL PROTECTED] wrote:
 Is there any way to get the base parameter of the object/embed code
 from within my flex app?

 So for example, if I set my base to http://www.example.com/test; and
 my swf is actually hosted at http://www.example.com/shared;. Is there
 any built-in or easy way of getting the base prop?



[flexcoders] Getting the base parameter of the embed

2008-01-31 Thread Steve Mathews
Is there any way to get the base parameter of the object/embed code
from within my flex app?

So for example, if I set my base to http://www.example.com/test; and
my swf is actually hosted at http://www.example.com/shared;. Is there
any built-in or easy way of getting the base prop?


Re: [flexcoders] AS3: How to avoid loading the same asset repeatedly

2008-01-29 Thread Steve Mathews
I believe most people just go ahead and load again because the file
should be in the browser cache once it has been loaded.

I would also be interested in the performance effects of each method.

Steve

On 1/29/08, ronnlixx [EMAIL PROTECTED] wrote:
 Say i have 400 objects that contain the same loaded png, whats the
 suggested way to avoid loading the same asset repeatedly?

 Here's what I did, don't know if it's nuts though.
 To avoid loading the same png every time I made a singleton of the
 PhotoFrame class and return a copy of the origional png as a bitmap.
 It works, don't know the performace difference between using a new
 Loader vs creating cloned bitmaps each iteration.
 What is the suggested way to avoid loading the same asset multiple
 times?


 for (var i:int=0; i  400; i++){
 new Photo(photoXML, PhotoFrame.getInstance().frame);
 }

 public class PhotoFrame extends Sprite
 {
 private static var instance:PhotoFrame = null;
 private var _loader:Loader = null;

 public function PhotoFrame(){
 _loader = new Loader();
 _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
 onFrameLoaded);

 _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
 onLoadError);
 _loader.load( new URLRequest(frame.png) );
 }

 public static function getInstance():PhotoFrame{
 if(instance == null) instance = new PhotoFrame();
 return instance as PhotoFrame;
 }

 public function get frame():Bitmap{
 var image:Bitmap = Bitmap(_loader.content);
 return new Bitmap(image.bitmapData.clone());
 }

 private function onLoadError(e:IOErrorEvent):void{
 trace(e.text);
 }

 private function onFrameLoaded(e:Event):void{
 trace('loaded');
 }
 }


 public class Photo extends EventDispatcher
 {
 private var _frame:PhotoFrame;

 public function Photo(photoXML:XML, frame:PhotoFrame){
 _frame = frame;
 addChild(_frame);
 //...
 }

 }





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






[flexcoders] -optimize compiler option

2008-01-29 Thread Steve Mathews
Is there any reason to not add -optimize=true to the compiler options?
Can it cause issues anywhere?


Re: [flexcoders] Realtime 3D to FLV

2008-01-23 Thread Steve Mathews
We have done something like this. Our Flash/Flex is hosted inside of a
Windows Form where we capture images then stream them into a custom
converter that writes an avi. Then we use ffmpeg to convert the avi to flv.
To the best of my knowledge, there isn't an existing library to do this. But
if you find one I would love to hear about it.

Steve


On 1/23/08, Patrick Driggett [EMAIL PROTECTED] wrote:

 All,

 I'm working on creating some Flex 2 applications for one of our products
 at work.  One of the things we want to do is have the ability to capture
 video from one of our simulations, convert it to FLV, and then display it on
 a webpage later.  We are looking for what products allow for capturing video
 as part of a .dll or other framework.  If it can already handle saving it as
 a FLV, even better.f

 We're willing to pay money, so any products out there that may support
 this are open for research.

 Just to reiterate, a program like FRAPS won't do what we need, as it is a
 standalone application, we're looking for a library that we can link our
 code to that would provide the video capture.

 Sincerely,
 Patrick Driggett
 



Re: [flexcoders] addChild vs. addRawChild and performance

2008-01-23 Thread Steve Mathews
So you are saying that instead of using a Canvas as the container inside of
my app, I could just use UIComponent or ScrollControlBase? Any idea of how
much performance gain this could be?

On 1/22/08, Alex Harui [EMAIL PROTECTED] wrote:

  It would be best to not use containers and just use UIComponent or
 ScrollControlBase


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, January 22, 2008 12:52 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] addChild vs. addRawChild and performance



 Someone posted recently describing that addRawChild adds DisplayObject
 in a way that they are not included in the size and layout of the
 container (if I understood correctly). Does anyone know if this would
 be better or worse for the overall performance of a Flex app? So if
 you did not need layout features of the framework, would it be better
 to add everything as raw children?

 



[flexcoders] addChild vs. addRawChild and performance

2008-01-22 Thread Steve Mathews
Someone posted recently describing that addRawChild adds DisplayObject
in a way that they are not included in the size and layout of the
container (if I understood correctly). Does anyone know if this would
be better or worse for the overall performance of a Flex app? So if
you did not need layout features of the framework, would it be better
to add everything as raw children?


Re: [flexcoders] FB2: Cleaning Projects Annoyance

2008-01-15 Thread Steve Mathews
Are you using RSLs? Only time that I have to clean is when I create a new
workspace and import projects that rely on each other. When I had RSLs I had
to clean now and then to resolve some things, but it was by no means often.

On 1/15/08, Merrill, Jason [EMAIL PROTECTED] wrote:

  Is it just me and the way I'm developing or do many of you find you have
 to clean your project often to get rid of old caches of code and files?
 It's very frustrating, it seems I have to clean my project because the
 compiler thinks some method is still written a certain way, or some XML file
 looks some other old way.  I'm finding I have to clean my project several
 times a day sometimes in Flexbuilder 2.  Is it just me and I'm doing
 something wrong?


 Jason Merrill
 Bank of America
 GTO LLD Solutions Design  Development
 eTools  Multimedia

 Bank of America Flash Platform Developer Community

 



Re: [flexcoders] FB2: Cleaning Projects Annoyance

2008-01-15 Thread Steve Mathews
I am doing 99.99% actionscript, and as stated, I don't have to clean ever
really. I don't believe it is an actionscript problem.

On 1/15/08, Merrill, Jason [EMAIL PROTECTED] wrote:

  Yeah, I'm doing a lot of Actionscript on this project, and it's becomming
 a real pain for sure.


 Jason Merrill
 Bank of America
 GTO LLD Solutions Design  Development
 eTools  Multimedia

 Bank of America Flash Platform Developer Community




  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Derrick Anderson
 *Sent:* Tuesday, January 15, 2008 4:54 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] FB2: Cleaning Projects Annoyance



 i'm in no means a 'heavy' flex user, and in the few projects i have done,
 i have had issues with this.

 seems that if i were writing actionscript full time this would be a big
 pita.

 d.

 On Jan 15, 2008 4:40 PM, Merrill, Jason [EMAIL PROTECTED]
 wrote:

 Is it just me and the way I'm developing or do many of you find you
  have to clean your project often to get rid of old caches of code and
  files?  It's very frustrating, it seems I have to clean my project because
  the compiler thinks some method is still written a certain way, or some XML
  file looks some other old way.  I'm finding I have to clean my project
  several times a day sometimes in Flexbuilder 2.  Is it just me and I'm doing
  something wrong?
 
 
  Jason Merrill
  Bank of America
  GTO LLD Solutions Design  Development
  eTools  Multimedia
 
  Bank of America Flash Platform Developer Community
 
 
 

  



Re: [flexcoders] Re: big problem

2008-01-14 Thread Steve Mathews
I have been getting an error like that also recently.
VerifyError: Error #1107: The ABC data is corrupt, attempt to read out
of bounds.

I believe my problem is quite different than this one, but I would
like to know any more information on this error message. It doesn't
really give any good information so it is pretty difficult to track
down the issue.

On 1/14/08, adnane_1979 [EMAIL PROTECTED] wrote:
 --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
 
  What happens when you run the debug version of your app on the
 debugger
  player for 9,0,115,0?
 
 
 
  
 
  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
  Behalf Of adnane_1979
  Sent: Sunday, January 13, 2008 4:13 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] big problem
 
 
 
  I developed a flex 2 application, and i's been on production for a
  while now.
  But last week some of my clients were complaining that the
 application
  doesn't work anymore, after i've checked with them ,i found out
 that
  the application doesn't work with the new version of flash player
  9.0.1115.0
  When i've tried to run the application with this version of flash
  player ,I've got a blank page.
  So i dont know what to do now,should i change some thing on the
 code of
  the application it self or what?
  Please, if some body knows about this issue, help me, because it's
 very
  urgent.
 
  Thanks in advance


 With flash player 9.0.115.0 debug, i've got the following error:
 VerifyError: Error #1107:  ABC sont corrompues, tentative de lecture
 en dehors des limites.
 Sorry,it's in french.





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] dynamically creating a class from a className string

2007-12-12 Thread Steve Mathews
You can use hasDefinition to check for it.

I have also run into a situation where classes aren't available for a few
seconds (but after loading a swf).


On 12/12/07, Alex Harui [EMAIL PROTECTED] wrote:

  getDefinition


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *blc187
 *Sent:* Wednesday, December 12, 2007 9:39 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] dynamically creating a class from a className
 string



 im trying to dynamically create a new instance of a class from a
 string holding the class name in the following way:

 var cls:String = ((isMock
 == true) ? MockImplementation : RealImplementation);

 var clsToCreate:Object = ApplicationDomain.currentDomain.getDefinition
 (cls);
 serviceLocator = new clsToCreate();

 to be sure the class is in the project and can be created, ive
 included the following lines to compile the 2 classes into the
 project (as discussed in this article:
 http://life.neophi.com/danielr/2006/07/flex_2_runtime_error_1065.html)

 private static const only2:MockImplementation = null;
 private static const only3:RealImplementation = null;

 however, i still run into the runtime error that says Error #1065:
 Variable MockImplementation is not defined. any thoughts on why it
 would still be undefined if the class is definitely compiled into the
 project?

 



Re: [flexcoders] Passing Parameters, is something like this possible with Flex?

2007-11-30 Thread Steve Mathews
Try something like this:

for( var i:String in elements ){
if( Application.application.parameters[i] )
this[i] = Application.application.parameters[i];
}



On 11/30/07, flexnubslice [EMAIL PROTECTED] wrote:

 Instead of posting a ton of :

 if( Application.application.parameters.x)
 this.x= Application.application.parameters.x;

 if( Application.application.parameters.y)
 this.y= Application.application.parameters.y;

 ... ad nauseam ...  I was wondering if it was possible to do something
 like this?

 var elements:Array = [ a, b, c ];

 for( var i:String in elements ){
 if( Application.application.parameters.i )
 this.i = Application.application.parameters.i;
 }

 I'm not too certain of the language constructs here being new to Flex,
 help greatly appreciated!  The  highlighted line, it does not like.

 Thanks!
 Alex
 



Re: [flexcoders] Player crash on GC

2007-11-10 Thread Steve Mathews
Just so happens that I emailed Trevor (a.k.a. senocular) about the issue
yesterday. He said that it has been added to the system as a high priority.

Thanks for your help Alex.


On 11/9/07, Alex Harui [EMAIL PROTECTED] wrote:

  I asked around and was given this link:
 http://www.adobe.com/support/programs/flex/?tab:plans=1



 However, technically you have a Flash Player issue and not a Flex issue
 and they have different support options which you can see by chasing links
 from the link above.



 If none of the paid packages work for you, your only remaining courses of
 action are to:



 1)   continue to subdivide the app until it stops breaking and see if
 you can identify the change that causes the problem to reappear.

 2)   Find a way to quickly reproduce the problem 100$ of the time when
 deployed over the web.  Then offer bribes to the Flash Player engineers if
 they can dig into it on their own time.



 -Alex


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Thursday, November 08, 2007 3:31 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Player crash on GC



 So what are support options for this situation? Looking at the Adobe site
 it appears that the only option is the Enterprise support package. I am just
 wondering if there is any other options than that.

 On 11/6/07, *Steve Mathews* [EMAIL PROTECTED] wrote:

 Actually I don't have any mouse interaction going on currently. I do have
 a keyboard listener to handle navigating forward.



 As far as loading goes, I have a ComponentManager and a ComponentLoader
 class. The manager creates a ComponentLoader which uses a Loader to load the
 actual swf. Once it is finished loading the ComponentLoader sends the
 manager a reference to the Class from the swf. The manager then notifies a
 PresentationManager that the class has been loaded and is ready to be
 initialized.



 I had moved back to FlexBuilder2 so I haven't tried to take memory
 snapshots. I will do that soon though.



 On 11/6/07, *Alex Harui* [EMAIL PROTECTED] wrote:

 I would see if you can use the app with as little interaction as
 possible.  If you've made your app accessible then you can use the
 keyboard and skip using the mouse to execute the sequence in question
 (loading some page several times then using forceGC()).



 If that succeeds in reproducing the problem, I would take memory snapshots
 after loading the page and then another snapshot if you can get a forceGC()
 to not crash the player and see what is going away and take a closer look at
 those things.



 Also, how are you loading the SWFs?  Maybe you've lost your hard reference
 to the SWF so they get collected when you don't want.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, November 06, 2007 10:22 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Player crash on GC



 Thanks for the idea Alex. I just finished looking through my code and
 can't find anything to indicate something should be available for GC before
 all listeners are cleaned up.



 The really confusing thing is that all the pieces of this system worked
 just fine before I started my overhaul of it. The changes I made were
 mainly in navigation (page to page) and some minor tweaks here and there. I
 just can't figure out how the changes I made could have gotten me to this
 spot.



 Any other ideas, theories or shots in the dark that I could look at? I am
 running out of ideas myself at this point.



 Thanks.



 On 11/5/07, *Alex Harui*  [EMAIL PROTECTED] wrote:

 Some version of the player used to crash when display objects that had
 rollover handlers under the mouse were removed and GC'd.  I do not know the
 status of the fix.  The workaround was to place a shield between the mouse
 and the display objects before removing them.



 In general, I would not remove objects such that they can get GC'd until
 any listeners they might have were removed.  I would not suspect
 getDefinition.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Monday, November 05, 2007 3:46 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Player crash on GC



 I have run into a roadblock that I can't seem to figure out.

 I have an application that creates and displays a presentation (think
 PowerPoint). During an overhaul of the code the player started
 crashing. It seems to be related to garbage collection in some way as
 I can display the exact same page a few times in a row then it will
 crash say on the fourth time. Or using FB3 I can click the Force GC
 button after a few pages and the player will crash also.

 One area of concern is that these pages contain components which are
 just swf's with a class in them. I use getDefinition

Re: [flexcoders] Player crash on GC

2007-11-08 Thread Steve Mathews
So what are support options for this situation? Looking at the Adobe site it
appears that the only option is the Enterprise support package. I am just
wondering if there is any other options than that.

On 11/6/07, Steve Mathews [EMAIL PROTECTED] wrote:

 Actually I don't have any mouse interaction going on currently. I do have
 a keyboard listener to handle navigating forward.

 As far as loading goes, I have a ComponentManager and a ComponentLoader
 class. The manager creates a ComponentLoader which uses a Loader to load the
 actual swf. Once it is finished loading the ComponentLoader sends the
 manager a reference to the Class from the swf. The manager then notifies a
 PresentationManager that the class has been loaded and is ready to be
 initialized.

 I had moved back to FlexBuilder2 so I haven't tried to take memory
 snapshots. I will do that soon though.


  On 11/6/07, Alex Harui [EMAIL PROTECTED] wrote:
 
   I would see if you can use the app with as little interaction as
  possible.  If you've made your app accessible then you can use the
  keyboard and skip using the mouse to execute the sequence in question
  (loading some page several times then using forceGC()).
 
 
 
  If that succeeds in reproducing the problem, I would take memory
  snapshots after loading the page and then another snapshot if you can get a
  forceGC() to not crash the player and see what is going away and take a
  closer look at those things.
 
 
 
  Also, how are you loading the SWFs?  Maybe you've lost your hard
  reference to the SWF so they get collected when you don't want.
 
 
   --
 
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
  Behalf Of *Steve Mathews
  *Sent:* Tuesday, November 06, 2007 10:22 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Player crash on GC
 
 
 
  Thanks for the idea Alex. I just finished looking through my code and
  can't find anything to indicate something should be available for GC before
  all listeners are cleaned up.
 
 
 
  The really confusing thing is that all the pieces of this system worked
  just fine before I started my overhaul of it. The changes I made were
  mainly in navigation (page to page) and some minor tweaks here and there. I
  just can't figure out how the changes I made could have gotten me to this
  spot.
 
 
 
  Any other ideas, theories or shots in the dark that I could look at? I
  am running out of ideas myself at this point.
 
 
 
  Thanks.
 
 
 
  On 11/5/07, *Alex Harui*  [EMAIL PROTECTED] wrote:
 
  Some version of the player used to crash when display objects that had
  rollover handlers under the mouse were removed and GC'd.  I do not know the
  status of the fix.  The workaround was to place a shield between the mouse
  and the display objects before removing them.
 
 
 
  In general, I would not remove objects such that they can get GC'd until
  any listeners they might have were removed.  I would not suspect
  getDefinition.
 
 
   --
 
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
  Behalf Of *Steve Mathews
  *Sent:* Monday, November 05, 2007 3:46 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Player crash on GC
 
 
 
  I have run into a roadblock that I can't seem to figure out.
 
  I have an application that creates and displays a presentation (think
  PowerPoint). During an overhaul of the code the player started
  crashing. It seems to be related to garbage collection in some way as
  I can display the exact same page a few times in a row then it will
  crash say on the fourth time. Or using FB3 I can click the Force GC
  button after a few pages and the player will crash also.
 
  One area of concern is that these pages contain components which are
  just swf's with a class in them. I use getDefinition to instantiate
  the class. Although this has worked quite well up till this point, I
  worry that this is now part of the problem.
 
  Has anyone seen any issues with getDefinition or GC crashing the player?
 
  Thanks.
 
 
 
  
 




Re: [flexcoders] Player crash on GC

2007-11-06 Thread Steve Mathews
Thanks for the idea Alex. I just finished looking through my code and can't
find anything to indicate something should be available for GC before all
listeners are cleaned up.

The really confusing thing is that all the pieces of this system worked just
fine before I started my overhaul of it. The changes I made were mainly in
navigation (page to page) and some minor tweaks here and there. I just can't
figure out how the changes I made could have gotten me to this spot.

Any other ideas, theories or shots in the dark that I could look at? I am
running out of ideas myself at this point.

Thanks.


On 11/5/07, Alex Harui [EMAIL PROTECTED] wrote:

  Some version of the player used to crash when display objects that had
 rollover handlers under the mouse were removed and GC'd.  I do not know the
 status of the fix.  The workaround was to place a shield between the mouse
 and the display objects before removing them.



 In general, I would not remove objects such that they can get GC'd until
 any listeners they might have were removed.  I would not suspect
 getDefinition.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Monday, November 05, 2007 3:46 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Player crash on GC



 I have run into a roadblock that I can't seem to figure out.

 I have an application that creates and displays a presentation (think
 PowerPoint). During an overhaul of the code the player started
 crashing. It seems to be related to garbage collection in some way as
 I can display the exact same page a few times in a row then it will
 crash say on the fourth time. Or using FB3 I can click the Force GC
 button after a few pages and the player will crash also.

 One area of concern is that these pages contain components which are
 just swf's with a class in them. I use getDefinition to instantiate
 the class. Although this has worked quite well up till this point, I
 worry that this is now part of the problem.

 Has anyone seen any issues with getDefinition or GC crashing the player?

 Thanks.

 



Re: [flexcoders] Player crash on GC

2007-11-06 Thread Steve Mathews
Actually I don't have any mouse interaction going on currently. I do have a
keyboard listener to handle navigating forward.

As far as loading goes, I have a ComponentManager and a ComponentLoader
class. The manager creates a ComponentLoader which uses a Loader to load the
actual swf. Once it is finished loading the ComponentLoader sends the
manager a reference to the Class from the swf. The manager then notifies a
PresentationManager that the class has been loaded and is ready to be
initialized.

I had moved back to FlexBuilder2 so I haven't tried to take memory
snapshots. I will do that soon though.


On 11/6/07, Alex Harui [EMAIL PROTECTED] wrote:

  I would see if you can use the app with as little interaction as
 possible.  If you've made your app accessible then you can use the
 keyboard and skip using the mouse to execute the sequence in question
 (loading some page several times then using forceGC()).



 If that succeeds in reproducing the problem, I would take memory snapshots
 after loading the page and then another snapshot if you can get a forceGC()
 to not crash the player and see what is going away and take a closer look at
 those things.



 Also, how are you loading the SWFs?  Maybe you've lost your hard reference
 to the SWF so they get collected when you don't want.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Tuesday, November 06, 2007 10:22 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Player crash on GC



 Thanks for the idea Alex. I just finished looking through my code and
 can't find anything to indicate something should be available for GC before
 all listeners are cleaned up.



 The really confusing thing is that all the pieces of this system worked
 just fine before I started my overhaul of it. The changes I made were
 mainly in navigation (page to page) and some minor tweaks here and there. I
 just can't figure out how the changes I made could have gotten me to this
 spot.



 Any other ideas, theories or shots in the dark that I could look at? I am
 running out of ideas myself at this point.



 Thanks.



 On 11/5/07, *Alex Harui* [EMAIL PROTECTED] wrote:

 Some version of the player used to crash when display objects that had
 rollover handlers under the mouse were removed and GC'd.  I do not know the
 status of the fix.  The workaround was to place a shield between the mouse
 and the display objects before removing them.



 In general, I would not remove objects such that they can get GC'd until
 any listeners they might have were removed.  I would not suspect
 getDefinition.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Steve Mathews
 *Sent:* Monday, November 05, 2007 3:46 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Player crash on GC



 I have run into a roadblock that I can't seem to figure out.

 I have an application that creates and displays a presentation (think
 PowerPoint). During an overhaul of the code the player started
 crashing. It seems to be related to garbage collection in some way as
 I can display the exact same page a few times in a row then it will
 crash say on the fourth time. Or using FB3 I can click the Force GC
 button after a few pages and the player will crash also.

 One area of concern is that these pages contain components which are
 just swf's with a class in them. I use getDefinition to instantiate
 the class. Although this has worked quite well up till this point, I
 worry that this is now part of the problem.

 Has anyone seen any issues with getDefinition or GC crashing the player?

 Thanks.



 



[flexcoders] Player crash on GC

2007-11-05 Thread Steve Mathews
I have run into a roadblock that I can't seem to figure out.

I have an application that creates and displays a presentation (think
PowerPoint). During an overhaul of the code the player started
crashing. It seems to be related to garbage collection in some way as
I can display the exact same page a few times in a row then it will
crash say on the fourth time. Or using FB3 I can click the Force GC
button after a few pages and the player will crash also.

One area of concern is that these pages contain components which are
just swf's with a class in them. I use getDefinition to instantiate
the class. Although this has worked quite well up till this point, I
worry that this is now part of the problem.

Has anyone seen any issues with getDefinition or GC crashing the player?

Thanks.


Re: [flexcoders] Scale image

2007-10-22 Thread Steve Mathews
Try this one: http://www.senocular.com/index.php?id=1.372
It works great, and is skinable.


On 10/22/07, Anzer [EMAIL PROTECTED] wrote:

  I want to make the bottom right corner of a picture dragable to scale the
 image. I am trying with http://www.rogue-development.com/objectHandles.xmland
 http://www.sephiroth.it/file_detail.php?id=154 but I would like to know if
 there are any other implementations.



 Thanks

 Anz
 



Re: [flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-25 Thread Steve Mathews
I am pretty sure the fl classes are part of the CS3 IDE, not the flex
framework.

On 9/25/07, Paolo Bernardini [EMAIL PROTECTED] wrote:

 if I try to use fl.motion.MatrixTransformer
 in a flex project the compiler complains that MatrixTransformer dose not
 exist.
 Is fl.motion.MatrixTransformer included in the flex framework?
 



Re: [flexcoders] Are you going to MAX?

2007-09-21 Thread Steve Mathews
Hey Jason,

Out of curiosity, what city is your office located in, and any openings for
someone with tons of Flash and elearning experience? :-)


Oh, and I am going to MAX also.


On 9/21/07, Merrill, Jason [EMAIL PROTECTED] wrote:

  Hi Tony!

 There is Flex development going on here in a few places, but with over
 200,000 employees worldwide, I wouldn't know specificially about Flex and
 online banking, and even if I did, I couldn't comment on future plans or
 strategies without getting fired. :)  I work in an RD technical development
 group within the broader HR umbrella, focusing on learning solutions for
 various technology related business lines, so I don't touch the online
 banking world except when I check my own account.  Sorry ;)


 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team



  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Tony Alves
 *Sent:* Friday, September 21, 2007 11:05 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Are you going to MAX?



 Hey Jason,
 Does BofA have any plans of moving their online banking to Flex?  I was
 wondering why they have not moved some of it there yet?
 Just wondering.
 Regards,
 Tony

 Merrill, Jason wrote:

  I'm there!


 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team



  --
 *From:* flexcoders@yahoogroups.com [mailto:flexcoders@ flexcoders@
 yahoogroups.com] *On Behalf Of *ben.clinkinbeard
 *Sent:* Friday, September 21, 2007 9:44 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Are you going to MAX?



 Just curious how many people from the list will be in Chicago.

 Ben

  



Re: [flexcoders] Actionscript sprite within the Flex framework

2007-09-19 Thread Steve Mathews
The first error says you need the TestSprite class to be defined like:
public class TestSprite extends Sprite

The second error I initially thought was because the application
addChild takes a UICompoent, but according to the help docs what you
have 'should' work. I would try casting it as a DisplayObject although
this probably isn't the correct way to fix it.

mxmlApp.addChild(testSprite as DisplayObject);


Steve

On 9/19/07, Merrill, Jason [EMAIL PROTECTED] wrote:
 I'm trying to do a primarily Actionscript 3 written Flex app writing
 within the Flex framework.

 Following Moock's Actionscript 3.0: The Essential Guide examples, I have
 set up a simple 3 file project, all files in the same folder.  The app
 attempts to draw a circle on the stage. See code and errors below:

 //Application MXML file
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute applicationComplete=EntryClass.main()
 /mx:Application

 //EntryClass.as file
 package
 {
import mx.controls.Button;
import mx.core.Application;

public class EntryClass
{
public static function main():void
{
var testSprite:TestSprite = new TestSprite(12,
 100, 100);
var mxmlApp:Application =
 Application(Application.application);
mxmlApp.addChild(testSprite);
}
}
 }

 //TestSprite.as file
 package
 {
import flash.display.Sprite;

class TestSprite extends Sprite
{
private var _x:int;
private var _y:int;
private var _radii:int

public function TestSprite(size:int, posx:int, posy:int)
{
x = posx;
y = posy;
_radii = size;
graphics.lineStyle(1, 0xFFCC33);
graphics.beginFill(0xCC3300, 1);
graphics.drawCircle(0, 0, _radii);
graphics.endFill();
}

}
 }

 Before compiling, I get this error:

 1084: class 'TestSprite' will be scoped to the default namespace:
 internal.  It will not be visible outside of this package.

 After compiling, the debugger gives this error:

 TypeError: Error #1034: Type Coercion failed: cannot convert
 ::[EMAIL PROTECTED] to mx.core.IUIComponent.
at
 mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChi
 ld()

 What's happening here?  Is there a better way to set this up?  Thanks.

 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-19 Thread Steve Mathews
Well if you load their swf into your application domain they will have
full access to your code. So it sounds like you don't need anything
special, just tell them how to access the relevant parts of code they
will need.

On 9/19/07, b_alen [EMAIL PROTECTED] wrote:
 No, actually my goal as an API provider is that I don't have to know
 anything about their code, not even the class name. I provide API that
 allows them to extend certain functionality of the application. I
 provide them public functions through objects in model locator. they
 can use how many classes they want in their swf, they just need to
 hook to that public methods I provide.

 I'm talking about post compile functionality extension with swf files
 containing the code.


 Alen




 --- In flexcoders@yahoogroups.com, Steve Mathews [EMAIL PROTECTED] wrote:
 
  Well using the non-module approach (again, I haven't used modules so I
  can't speak for that method), you at least need to know what class to
  instantiate.
 
  It sounds like you are doing something very similar in concept to what
  I am. So I provide an API (interface) that an external developer
  builds their class to. All I need to know from them is what the fully
  qualified class path is.
 
  Steve
 
  On 9/18/07, b_alen [EMAIL PROTECTED] wrote:
   Cheers guys, just one quick check, is it possible with these two
 methods:
  
   1. I make an application and deploy it on the web.
   2. You, knowing nothing about the application except the API I provide
   you, write the extension and submit it in form of swf on my server.
   3. My application recognizes that the new extension has been
   submitted, it downloads it and uses the code from there.
  
   Let's say I have an employee management system, where different
   operations can be made on the employee. You write an extension where
   user can for example use their web cam in order to save a pic in the
   database. Now application is already up and running, and you submit
   this to the server, I don't have to recompile and know nothing about
   your part and all you need to know is my API.
  
   It's purely a hypothetical example but for the case above I would
   provide something like that probably:
  
   ModelLocator.empDataManager.addEmployeeDetail(id:String, name:String);
   ModelLocator.empDataManager.editEmployeeDetail(id:String,
 value:Object);
  
   you would call this from your swf like this:
  
   ModelLocator.empDataManager.addEmployeeDetail(webcam_pic,
 Webcam pic);
   ModelLocator.empDataManager.editEmployeeDetail(webcam_pic, picData);
  
  
  
  
   What do you think?
  
  
  
  
  
   --- In flexcoders@yahoogroups.com, Steve Mathews happydog@ wrote:
   
You can use LoadModule, which might be the best way to go. But I am
doing a AS3 only project (no flex framework) and am doing this using
applicationDomain.getDefinition which works great.
   
On 9/17/07, Tom Chiverton tom.chiverton@ wrote:
 On Monday 17 Sep 2007, alen.balja@ wrote:
  I tried Google but I couldn't find anything, maybe it's
 pretty easy
  and maybe it's impossible. Anyone has any ideas?

 LoadModule

 --
 Tom Chiverton
 Helping to continuously bully cross-media mindshares
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in
   England and Wales under registered number OC307980 whose registered
   office address is at St James's Court Brown Street Manchester M2 2JF.
A list of members is available for inspection at the registered
   office. Any reference to a partner in relation to Halliwells LLP means
   a member of Halliwells LLP. Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named
   above and may be confidential or legally privileged.  If you are not
   the addressee you must not read it and must not use any information
   contained in nor copy it nor inform any person other than Halliwells
   LLP or the addressee of its existence or contents.  If you have
   received this email in error please delete it and notify Halliwells
   LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit
 www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links




   
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
 




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

Re: [flexcoders] Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread Steve Mathews
You can use LoadModule, which might be the best way to go. But I am
doing a AS3 only project (no flex framework) and am doing this using
applicationDomain.getDefinition which works great.

On 9/17/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Monday 17 Sep 2007, [EMAIL PROTECTED] wrote:
  I tried Google but I couldn't find anything, maybe it's pretty easy
  and maybe it's impossible. Anyone has any ideas?

 LoadModule

 --
 Tom Chiverton
 Helping to continuously bully cross-media mindshares
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread Steve Mathews
Well using the non-module approach (again, I haven't used modules so I
can't speak for that method), you at least need to know what class to
instantiate.

It sounds like you are doing something very similar in concept to what
I am. So I provide an API (interface) that an external developer
builds their class to. All I need to know from them is what the fully
qualified class path is.

Steve

On 9/18/07, b_alen [EMAIL PROTECTED] wrote:
 Cheers guys, just one quick check, is it possible with these two methods:

 1. I make an application and deploy it on the web.
 2. You, knowing nothing about the application except the API I provide
 you, write the extension and submit it in form of swf on my server.
 3. My application recognizes that the new extension has been
 submitted, it downloads it and uses the code from there.

 Let's say I have an employee management system, where different
 operations can be made on the employee. You write an extension where
 user can for example use their web cam in order to save a pic in the
 database. Now application is already up and running, and you submit
 this to the server, I don't have to recompile and know nothing about
 your part and all you need to know is my API.

 It's purely a hypothetical example but for the case above I would
 provide something like that probably:

 ModelLocator.empDataManager.addEmployeeDetail(id:String, name:String);
 ModelLocator.empDataManager.editEmployeeDetail(id:String, value:Object);

 you would call this from your swf like this:

 ModelLocator.empDataManager.addEmployeeDetail(webcam_pic, Webcam pic);
 ModelLocator.empDataManager.editEmployeeDetail(webcam_pic, picData);




 What do you think?





 --- In flexcoders@yahoogroups.com, Steve Mathews [EMAIL PROTECTED] wrote:
 
  You can use LoadModule, which might be the best way to go. But I am
  doing a AS3 only project (no flex framework) and am doing this using
  applicationDomain.getDefinition which works great.
 
  On 9/17/07, Tom Chiverton [EMAIL PROTECTED] wrote:
   On Monday 17 Sep 2007, [EMAIL PROTECTED] wrote:
I tried Google but I couldn't find anything, maybe it's pretty easy
and maybe it's impossible. Anyone has any ideas?
  
   LoadModule
  
   --
   Tom Chiverton
   Helping to continuously bully cross-media mindshares
   on: http://thefalken.livejournal.com
  
   
  
   This email is sent for and on behalf of Halliwells LLP.
  
   Halliwells LLP is a limited liability partnership registered in
 England and Wales under registered number OC307980 whose registered
 office address is at St James's Court Brown Street Manchester M2 2JF.
  A list of members is available for inspection at the registered
 office. Any reference to a partner in relation to Halliwells LLP means
 a member of Halliwells LLP. Regulated by the Law Society.
  
   CONFIDENTIALITY
  
   This email is intended only for the use of the addressee named
 above and may be confidential or legally privileged.  If you are not
 the addressee you must not read it and must not use any information
 contained in nor copy it nor inform any person other than Halliwells
 LLP or the addressee of its existence or contents.  If you have
 received this email in error please delete it and notify Halliwells
 LLP IT Department on 0870 365 8008.
  
   For more information about Halliwells LLP visit www.halliwells.com.
  
  
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
 




 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Full Screen Mode

2007-09-15 Thread Steve Mathews
I for one would second the forced non-transparent background when
full-screen. I really can't think of a good reason that you would even want
full-screen with a transparent background.

Steve
Senior Software Engineer
http://www.FreshBrew.com


On 9/14/07, Troy Gilbert [EMAIL PROTECTED] wrote:

 I think what I outlined in my e-mail (basically the security that's there
 already) does that. Require the user to be directly interacting with the
 Flash applet before allowing fullscreen (fullscreen API only works in
 keyboard/mouse events). The first time a Flash applet goes fullscreen from a
 domain name have the player itself prompt the user (similar deal as for
 webcams and mics).

 Hell, I'd be fine with disallowing transparent backgrounds in fullscreen
 apps, that's not something I want and I don't think that most legitimate
 users of fullscreen want a transparent window.

 Of course, couldn't your banner ad already do what you describe? Probably
 not since Flash-based banner ads usually sit in IFRAMES so they're blocked
 by security domain, but I don't have to go fullscreen to do what you
 describe: that's all inside the web browser's window and that already works
 fine.

 The only problems I could see with fullscreen would largely be griefing
 from the apps, just like what popups do, and you combat it in the same way:
 default to blocking it, prompt the user to unblock it, allow them to unblock
 it permanently site-by-site (which is inline with all of the other security
 restrictions in the Flash player).

 It just kinda baffles me that its easier to capture *video* and *audio*
 from the user's machine than it is to interact with them fullscreen. Seems
 kinda backwards if security/privacy is a focus! ;-)

 Troy.


 On 9/14/07, Alex Harui [EMAIL PROTECTED] wrote:
 
   If you can propose a way that users can know that their input is going
  to go to some other place on the screen or some hidden process in a browser,
  then we can allow keyboard access.  Otherwise, my banner add will place a
  transparent window over your yahoo login and phish your password.  Mean
  people suck, and prevent us from giving out functionality as we'd like to.
  We always opt for very conservative security in first releases of new
  functionality like fullscreen, until we can figure out how to relax some of
  those restrictions without inviting mean people to harm others.
 
 
   --
 
  *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
  *On Behalf Of *Troy Gilbert
  *Sent:* Friday, September 14, 2007 9:26 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Full Screen Mode
 
 
 
  I know Adobe has heard an earful on this, but I'd like to stress it
  again since the issue has again been raised:
 
  Fullscreen mode without keyboard support is virtually worthless for
  almost any app other than playing fullscreen video. Now, I understand that
  fullscreen video is the primary reason for inclusion of this functionality.
  Fine.
 
  But Adobe needs to pay some serious attention to the world of online
  games which heavily use the Flash platform. Fullscreen games would be huge,
  but without keyboard support it simply won't happen. Fullscreen web apps
  like Picnik would be huge, but without keyboard support its limiting.
 
  I think the security requirement that an app can only go to fullscreen
  inside of a mouse or keyboard event is perfect. I think the security
  requirement that the ESCAPE key will *always* take the user out of the
  fullscreen is fine. I'd even be fine with the Flash Player popping open a
  confirmation dialog when the user wanted to go fullscreen just to be sure
  (with a corresponding always for this website option, just like popup
  blockers).
 
  But preventing all keyboard usage? It just renders fullscreen a
  completely worthless feature for our products. We would embrace it and brag
  about it and usher in some spectacular web-based experiences only possible
  because of the Flash platform, but simply won't be able to because we need a
  minimum amount of keyboard functionality (filling in a few forms, cursor
  keys, etc.).
 
  AIR isn't the answer for us as the whole reason we've gone with the
  Flash platform is the instant accessibility (no downloads).
 
  Please, please, please Adobe... please give us keyboard access in
  fullscreen! Please!
 
  Troy.
 
   On 9/14/07, *Nick Collins* [EMAIL PROTECTED] wrote:
 
  Within the browser, no, but within AIR, yes. Since the Adobe AIR runtime
  sandbox extends to the local desktop, you can access the file system, and
  you can run full screen while still being able to use the keyboard and text
  inputs.
 
 
 
  On 9/14/07, *Yigit Boyar*  [EMAIL PROTECTED] wrote:
 
  yeah; it is sth that annoyed me; like years ago the removal of file
  access at flash. (i guess it was flash 4 to 5)
 
  anyway; security comes first of course, but there must be a way to
  enable these options, like a certificate or sth else..

[flexcoders] Right-click menu alignment

2007-08-27 Thread Steve Mathews
I am trying to create a menu that has Cut/Copy/Paste items with the
keyboard shortcuts listed on the right. The site
http://www.scrapblog.com/ does this and it looks great. Problem is
that I can't figure out how to get the perfect alignment like they
did. Anyone have any ideas?

Thanks,
Steve