Re: [flexcoders] Re: Flashbuilder 4.0.1 debugger issue?

2010-07-13 Thread Alan Shaw
We've spent hours on this same issue today.  We have not updated Flash
Builder itself, but after installing the latest debug player, one of our
apps also hangs on startup when running with FB debugging and does not hang
when running in non-debug mode.  I have now reverted to an earlier Flash
debug player, 10,0,something, and can debug the app again.  It would be
great to hear what it is that makes an app hang when run with the latest
debugger...

-A


On Mon, Jul 12, 2010 at 5:51 PM, Richard Rodseth rrods...@gmail.com wrote:



 He's also on Flash Player 10.1 and after deleting shared objects used by
 our splash screen, the app is locking up earlier (i.e. before dismissing the
 splash screen. Are there some changes I should know about relating to 10.1,
 security sandboxes, Shared Objects and the 4.0.1 debugger?


 On Mon, Jul 12, 2010 at 2:41 PM, Richard Rodseth rrods...@gmail.comwrote:

 A colleague is experiencing a problem where our app hangs the browser when
 run in the debugger, but not when launched in non-debug mode (from
 Flashbuilder). He's the only one on the team who started Flex work since the
 release of 4.0.1 so I'm wondering if there are any known problems that could
 explain this.



  



Re: [flexcoders] create class on the fly

2009-07-13 Thread Alan Shaw
There are a number of important techniques for manipulating classes (as detailed
in my post http://nodename.com/blog/2008/06/15/upon-reflection/ ), but
unfortunately
creating a class at runtime is not possible in AS3.

On Mon, Jul 13, 2009 at 8:23 PM, postwickp...@ubeek.com wrote:


 I want to store descriptions of classes in an external file (such as XML) or
 database, and use them in my Flex application such that I can add, remove,
 or change the classes in the external file with recompling the Flex
 application.

 Is there any way to do this? In a nutshell, is there a way to create a class
 through an Actionscript function, with a for loop where the information that
 is looped over contains the definitions of the classes loaded from an
 external source?

 


[flexcoders] HTTPService POST method weirdness

2009-03-11 Thread Alan Shaw
I make a request to a service using URLLoader and everything works fine.
I try the same thing with HTTPService and I get back an error telling
me that only POST method is allowed.
(My server-side friend tells me that Apache saw it as a GET.)
In both cases I am setting the method to POST and sending the exact
same data in the request.
The service url is an https url.  Can that have anything to do with this?

-A


Re: [flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?

2009-01-02 Thread Alan Shaw
Thanks, I should be more clear.

The dataProvider would be like a Tree's, so for example an array where some
of the elements are leaves (- buttons in the bar) and some are arrays (-
dropdown lists in the bar) (no deeper arrays, and no folder names).  I want
the user to be able to choose a single leaf item from the set, either by
clicking one of the buttons or by choosing an item in one of the dropdown
lists.

-A


On Tue, Dec 30, 2008 at 2:31 AM, Manish Jethani manish.jeth...@gmail.comwrote:

   On Tue, Dec 30, 2008 at 5:46 AM, Alan Shaw 
 noden...@gmail.comnodename%40gmail.com
 wrote:
  Requesting advice on how to get started making this custom component.

 A combo box is not exactly a button, so my first question is, how is
 this ToggleButtonBar with ComboBox going to behave exactly?

 Manish
  



Re: [flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?

2009-01-02 Thread Alan Shaw
Thanks!

-A


On Fri, Jan 2, 2009 at 1:56 PM, Manish Jethani manish.jeth...@gmail.comwrote:

   On Fri, Jan 2, 2009 at 11:06 PM, Alan Shaw 
 noden...@gmail.comnodename%40gmail.com
 wrote:

  The dataProvider would be like a Tree's, so for example an array where
 some
  of the elements are leaves (- buttons in the bar) and some are arrays
 (-
  dropdown lists in the bar) (no deeper arrays, and no folder names). I
 want
  the user to be able to choose a single leaf item from the set, either by
  clicking one of the buttons or by choosing an item in one of the dropdown
  lists.

 All I can say is that you'll have to extend the NavBar class and
 implement something like a ToggleButtonBar that uses ComboBox as a
 nav item in a sophisticated way. It's doable. Essentially what
 you're looking for is a cross between a MenuBar and a ToggleButtonBar,
 so I would draw inspiration from those two components.

 Manish

 --
 http://manishjethani.com/
  



[flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?

2008-12-29 Thread Alan Shaw
Requesting advice on how to get started making this custom component.

Thanks...

-A


Re: [flexcoders] Run-time loading of library symbols as custom class instances: How?

2008-02-27 Thread Alan Shaw
But these classes are unknown to the library swf, where the symbols are
plain MovieClips.
I was hoping there would be a way to associate each of them on run-time load
with a class in my AS3 project,
just as the Embed directive does at compile time.
If I understand you, that's not possible, and I need to go through the
following steps:
1. remove the classes from the class path of the AS3 project (the top-level
domain)
2. take out the Embed directives
3. add the classes to the Flash9 class path
4. change the linkage properties of each symbol (by making the Base class
property refer to those classes?)
5. Add framework.swc to my AS3 project's library path to make
mx.controls.SWFLoader available to it (or will Loader do?)
And then I can use SWFLoader and the ApplicationDomain as you suggest.

Is that right?

Thanks again.

-A


On Tue, Feb 26, 2008 at 11:30 PM, Alex Harui [EMAIL PROTECTED] wrote:

If you're using Flash CS3 and publish for player 9, then you can simply
 use SWFLoader to load the SWF and then make instances of the classes.  You
 should use a LoaderContext(false, ApplicationDomain.currentDomain) to get
 the classes into the top-level application domain


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Alan Shaw
 *Sent:* Tuesday, February 26, 2008 5:17 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Run-time loading of library symbols as custom
 class instances: How?



 I'm working on a pure AS3 project in FlexBuilder 3.  All graphical assets
 are provided as symbols (with no AS code) in a library swf, exported as this
 example: symbol Name: cloud01, Class: cloud01, Base class:
 flash.display.MovieClip.  The corresponding class looks like this:

 package com.my.package
 {
 [Embed(source=/path/to/library.swf, symbol=cloud01)]
 public class Cloud01 extends Cloud
 {
 public function Cloud01()
 {
 super();
 }

 }
 }

 Most of these ultimately derive from a custom Animation class whose API
 allows various manipulations of the playhead.

 Since the assets are all embedded, trying out new versions of the
 animations requires recompilation.  It is desirable to get around that
 requirement so the animators themselves, not programmers, can make a new
 library swf using the Flash IDE and see the effects.  I haven't found
 anything that works yet, although there have been hints in the big fat Moock
 book (p.795) and in Grant Skinner's blog that it is possible to load these
 assets at run time and have them come in as instances of the desired types.

 Any help?

 Thanks,
 -A

  



[flexcoders] Run-time loading of library symbols as custom class instances: How?

2008-02-26 Thread Alan Shaw
I'm working on a pure AS3 project in FlexBuilder 3.  All graphical assets
are provided as symbols (with no AS code) in a library swf, exported as this
example: symbol Name: cloud01, Class: cloud01, Base class:
flash.display.MovieClip.  The corresponding class looks like this:

package com.my.package
{
[Embed(source=/path/to/library.swf, symbol=cloud01)]
public class Cloud01 extends Cloud
{
public function Cloud01()
{
super();
}

}
}

Most of these ultimately derive from a custom Animation class whose API
allows various manipulations of the playhead.

Since the assets are all embedded, trying out new versions of the animations
requires recompilation.  It is desirable to get around that requirement so
the animators themselves, not programmers, can make a new library swf using
the Flash IDE and see the effects.  I haven't found anything that works yet,
although there have been hints in the big fat Moock book (p.795) and in
Grant Skinner's blog that it is possible to load these assets at run time
and have them come in as instances of the desired types.

Any help?

Thanks,
-A


Re: [flexcoders] Re: Is there a fliping control in Flex

2007-09-28 Thread Alan Shaw
It does not bring in the entire sandy library.  It just uses three classes
from sandy.util.  I think if you download it and look at it you will get the
answers you need pretty quickly ;)

On 9/28/07, hank williams [EMAIL PROTECTED] wrote:

 Hey Alan  Leds,

 Question. How big is this library to use. How much size will it add to my
 swf. I ask because it says its based on sandy and I was just thinking sandy,
 as a full 3d library might be kinda big.

 Thanks
 Hank


 On 9/27/07, Alan Shaw [EMAIL PROTECTED] wrote:
 
  Hi Hank,
 
  http://weblogs.macromedia.com/auhlmann/archives/2007/03/distortion_effe.cfm
 
 
  -A
 
 
  On 9/27/07, hank williams [EMAIL PROTECTED] wrote:
  
   Thanks, but if you look at the link I provided you will see that they
   are somewhat different things. The link you provided is a book metaphor, 
   and
   the link I provided is a rotation between front and back.
  
   Hank
  
  
   On 9/27/07, vic8427  [EMAIL PROTECTED] wrote:
   
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
hank williams [EMAIL PROTECTED] wrote:

 Has anyone done a flipping control for flex that works like this:


http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907


 Hank

This guy did.
   
http://www.quietlyscheming.com/blog/components/flexbook/
   
   
  
 
 



Re: [flexcoders] Re: Is there a fliping control in Flex

2007-09-28 Thread Alan Shaw
Hi Hank,

http://weblogs.macromedia.com/auhlmann/archives/2007/03/distortion_effe.cfm

-A


On 9/27/07, hank williams [EMAIL PROTECTED] wrote:

 Thanks, but if you look at the link I provided you will see that they are
 somewhat different things. The link you provided is a book metaphor, and the
 link I provided is a rotation between front and back.

 Hank


 On 9/27/07, vic8427 [EMAIL PROTECTED] wrote:
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
  williams [EMAIL PROTECTED] wrote:
  
   Has anyone done a flipping control for flex that works like this:
  
   http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907
  
  
   Hank
  
  This guy did.
 
  http://www.quietlyscheming.com/blog/components/flexbook/
 
 
 



Re: [flexcoders] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Alan Shaw



Danny Patterson and Joey Lott have an AS3 design patterns book coming out this summer from Adobe. They presented parts of it at FlashBelt last week, and it's going to be a must buy.

-A

On 6/20/06, Phil Marston [EMAIL PROTECTED] wrote:
don't know about flex as 3 specifically, but worth checking outO'Reilly's Head First Design Patterns
http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8HTH
Philjudah wrote: Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane
--__Phil MarstonLearning TechnologistLearning Technology UnitEdward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/__The University of Aberdeen Open Day 29th August 2006Booking is essential
www.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495 Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~---
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___