[flexcoders] Flash Skins Vs Css Vs Programatic Skin?? (All about performance)

2009-05-22 Thread Gus
Hi all!!

each of the techniques has its differences, but which one of these is more 
efficient in performance when styling an application??

GUS



[flexcoders] Re: Alternatives to ILOG Elixir (Diary and Resource Planner) components

2009-04-21 Thread Gus
Hi Richard..

I've just uploaded an example I built of a component like the iLog's resource 
planner... here is the link 
(http://withbreakpoints.wordpress.com/2009/04/21/flexlib-scheduling-sample/)

Still lacks some functionality and may be buggy but can be fixed :D
HTH

P.D: and for the callendar you could check the ely's calendar at 
http://www.quietlyscheming.com/blog/components/interactive-calendar/

think there are some modifications in the web but can't recall the pages...


--- In flexcoders@yahoogroups.com, "randc5849"  wrote:
>
> Hi there - does anyone know of any good alternatives to two of the ILOG 
> Elixir components, specifically the Calendar component and the resource chart 
> (URLs below).  My company only needs these two pieces of functionality for 
> the application but the cost I've been quoted for ILOG is over £10k.
> 
> http://visudemos.ilog.com/webdemos/humanresources/humanresources.html
> http://visudemos.ilog.com/webdemos/calendar/calendar.html
> 
> thanks in advance for any advice.
> 
> Richard.
>




[flexcoders] Re: Module initialisation

2008-11-06 Thread Gus
Hi Guy,

if you are using the ModuleManager to get the Module you have to
create the instance and add it to the application in the Module.Ready...

something like this:

private function onModuleReady(event:ModuleEvent):void
{
 var child:DisplayObject = event.module.factory.create() as
DisplayObject;
 //The child var will contain you module
 if (child)
 {
 addChild(child);
 }
}

if you are using the ModuleLoader, this is done in the ModuleReady,
but if you check the code, it creates the instances, fires the event
and then adds the module... so maybe this is whats happening...

Hopes this help
Gus




[flexcoders] Re: Flex and Screen Readers

2008-10-31 Thread Gus
> This page has some interesting information about this combination:
> http://www.adobe.com/accessibility/products/flex/

according with that information, screen reader are only available in
Windows, are there any plan to implement it in Linux or Mac?

Gus



[flexcoders] Flex and Screen Readers

2008-10-28 Thread Gus
Hi,

anyone have implemented a flex application with a screen reader beside
JAWS. I'm going to start some tests with Thunder Screen Reader (open
source) which is MSAA compliant and I was wondering if someone already
done it. if so, it works on Linux/Mac??

Thanks in advance
Gus





[flexcoders] Re: SuperTabNavigator any idea howto blink tab

2008-09-01 Thread Gus
you could also use the glow or dissolve effect to also change the
color setting the color property

--- In flexcoders@yahoogroups.com, "Sherif Abdou" <[EMAIL PROTECTED]> wrote:
>
> You can try using the Fade Effect which should give u the effect you
want or you can use this http://www.onflex.org/BlinkTag/
> 
> 
> http://VadexFX.com
> http://Sherifabdou.com
>   - Original Message - 
>   From: Sajid Hussain 
>   To: flexcoders@yahoogroups.com 
>   Sent: Monday, September 01, 2008 10:07 AM
>   Subject: Re: [flexcoders] Re: SuperTabNavigator any idea howto
blink tab
> 
> 
> 
> 
> 
>   Thanks man ,
>   but any suggestion which effect i shud apply to make it blink :D
> 
>   - Original Message 
>   From: Gus <[EMAIL PROTECTED]>
>   To: flexcoders@yahoogroups.com
>   Sent: Monday, September 1, 2008 6:56:40 PM
>   Subject: [flexcoders] Re: SuperTabNavigator any idea howto blink tab
> 
> 
>   Hi,
> 
>   There is a method called getTabAt(index: int) that returns the tab
as a
>   Button. you just have to add the effect to that button and you are
>   ready to go...
> 
>   HTH
>   gus
> 
>   > I m developing web-messenger with flex , everything going very
>   smooth for users chat widnow I have used super tab bar navigator , I
>   would like to have method when any tab window get message it shud
>   blink , as we have on windows task bar on receiving messages
>   > 
>   > Sajid Hussain
>   >
>




[flexcoders] Re: SuperTabNavigator any idea howto blink tab

2008-09-01 Thread Gus
Hi,

There is a method called getTabAt(index:int) that returns the tab as a
Button. you just have to add the effect to that button and you are
ready to go...

HTH
gus

> I m developing web-messenger with flex , everything going very
smooth for users chat widnow I have used super tab bar navigator , I
would like to have method when any tab window get message it shud
blink , as we have on windows task bar on receiving messages
> 
> Sajid Hussain
>




[flexcoders] Re: Help, Random module load issues.

2008-08-27 Thread Gus
You could also try disabling the historyManagement to see if its the
only problem, but you could encounter the shared code problem later...

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The stack trace indicates the shared code problem described on my blog
> in the presentation on modules (blogs.adobe.com/aharui)
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Gus
> Sent: Tuesday, August 26, 2008 12:13 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Help, Random module load issues.
> 
>  
> 
> Hi,
> 
> maybe the problem can be caused by this,
> http://bugs.adobe.com/jira/browse/SDK-14669
> <http://bugs.adobe.com/jira/browse/SDK-14669> 
> 
> The workaround is basically load the modules in sequence due to RSL
> and modules bug. P.S: I'm assuming you're using RSL, is it true?
> 
> HTH
> Gus 
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "mthielman11"  wrote:
> >
> > Hey everyone. We are experiencing a ton of issues with our app with
> > regards to module loading. Our main app at this point has 4 main sub
> > modules. Until now only a couple users tended to switch between them
> > but now it is becoming more common. We have noticed a completely
> > random but troublesome bug. Many times when switching from one module
> > to the next we get either history manager errors or the module loads
> > 100% then is just blank, so it never really fully loads. You then need
> > to exit the app and try again. Sometimes it will work, often times it
> > does not. We are not even using history manager and i have even
> > disabled it in the compiler settings and still get the issue. Here are
> > some sample errors: 
> > 
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > mx.managers::[EMAIL PROTECTED] to
> mx.managers.IHistoryManager.
> > at mx.managers::HistoryManager$/get impl()
> > at mx.managers::HistoryManager$/unregister()
> > at mx.containers::ViewStack/removedFromStageHandler()
> > at flash.display::DisplayObjectContainer/addChild()
> > at
> >
> mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::createCon
> tentPane <http://www.adobe.com/2006/flex/mx/internal::createContentPane>
> ()
> > at mx.core::Container/createOrDestroyScrollbars()
> > at mx.core::Container/createScrollbarsIfNeeded()
> > at mx.core::Container/createContentPaneAndScrollbarsIfNeeded()
> > at mx.core::Container/validateDisplayList()
> > at mx.managers::LayoutManager/validateDisplayList()
> > at mx.managers::LayoutManager/doPhasedInstantiation()
> > at Function/http://adobe.com/AS3/2006/builtin::apply
> <http://adobe.com/AS3/2006/builtin::apply> ()
> > at mx.core::UIComponent/callLaterDispatcher2()
> > at mx.core::UIComponent/callLaterDispatcher()
> > 
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > mx.managers::[EMAIL PROTECTED] to
> mx.managers.IHistoryManager.
> > at mx.managers::HistoryManager$/get impl()
> > at mx.managers::HistoryManager$/unregister()
> > at mx.containers::ViewStack/removedFromStageHandler()
> > at flash.display::DisplayObjectContainer/removeChild()
> > at
> >
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$remove
> Child <http://www.adobe.com/2006/flex/mx/internal::$removeChild> ()
> > at mx.core::Container/removeChild()
> > at mx.modules::ModuleLoader/set url()
> > at Login/switchModule()
> > at com.zebramenubar::app_code/menuHandler()
> > at flash.events::EventDispatcher/dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.core::UIComponent/dispatchEvent()
> > at mx.controls::MenuBar/eventHandler()
> > at flash.events::EventDispatcher/dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.core::UIComponent/dispatchEvent()
> > at mx.controls::Menu/dispatchEvent()
> > at mx.controls::Menu/mouseUpHandler()
> > 
> > We have not idea where to begin, one of our devs can never ever even
> > get this to happen! Any suggestions are greatly appreciated. Thanks.
> >
>




[flexcoders] Re: Help, Random module load issues.

2008-08-26 Thread Gus
Hi,

maybe the problem can be caused by this,
http://bugs.adobe.com/jira/browse/SDK-14669

The workaround is basically load the modules in sequence due to RSL
and modules bug. P.S: I'm assuming you're using RSL, is it true?

HTH
Gus 

--- In flexcoders@yahoogroups.com, "mthielman11" <[EMAIL PROTECTED]> wrote:
>
> Hey everyone. We are experiencing a ton of issues with our app with
> regards to module loading. Our main app at this point has 4 main sub
> modules. Until now only a couple users tended to switch between them
> but now it is becoming more common. We have noticed a completely
> random but troublesome bug. Many times when switching from one module
> to the next we get either history manager errors or the module loads
> 100% then is just blank, so it never really fully loads. You then need
> to exit the app and try again. Sometimes it will work, often times it
> does not. We are not even using history manager and i have even
> disabled it in the compiler settings and still get the issue. Here are
> some sample errors: 
> 
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.managers::[EMAIL PROTECTED] to mx.managers.IHistoryManager.
>   at mx.managers::HistoryManager$/get impl()
>   at mx.managers::HistoryManager$/unregister()
>   at mx.containers::ViewStack/removedFromStageHandler()
>   at flash.display::DisplayObjectContainer/addChild()
>   at
>
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::createContentPane()
>   at mx.core::Container/createOrDestroyScrollbars()
>   at mx.core::Container/createScrollbarsIfNeeded()
>   at mx.core::Container/createContentPaneAndScrollbarsIfNeeded()
>   at mx.core::Container/validateDisplayList()
>   at mx.managers::LayoutManager/validateDisplayList()
>   at mx.managers::LayoutManager/doPhasedInstantiation()
>   at Function/http://adobe.com/AS3/2006/builtin::apply()
>   at mx.core::UIComponent/callLaterDispatcher2()
>   at mx.core::UIComponent/callLaterDispatcher()
> 
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.managers::[EMAIL PROTECTED] to mx.managers.IHistoryManager.
>   at mx.managers::HistoryManager$/get impl()
>   at mx.managers::HistoryManager$/unregister()
>   at mx.containers::ViewStack/removedFromStageHandler()
>   at flash.display::DisplayObjectContainer/removeChild()
>   at
>
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()
>   at mx.core::Container/removeChild()
>   at mx.modules::ModuleLoader/set url()
>   at Login/switchModule()
>   at com.zebramenubar::app_code/menuHandler()
>   at flash.events::EventDispatcher/dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at mx.core::UIComponent/dispatchEvent()
>   at mx.controls::MenuBar/eventHandler()
>   at flash.events::EventDispatcher/dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at mx.core::UIComponent/dispatchEvent()
>   at mx.controls::Menu/dispatchEvent()
>   at mx.controls::Menu/mouseUpHandler()
> 
> We have not idea where to begin, one of our devs can never ever even
> get this to  happen! Any suggestions are greatly appreciated. Thanks.
>




[flexcoders] Re: Multiple Builder instances / windows?

2008-08-07 Thread Gus
> I don't think 200meg is a lot these days is it ?

Well I think it depends on how many projects, libraries, etc you have.
and also if you are compiling... etc. 



[flexcoders] Re: Multiple Builder instances / windows?

2008-08-07 Thread Gus
AFAIK, just open a new eclipse and point it to a different workspace
than the one is open, at least in windows it works. but its a matter
of how memory do you have because eclipse eats a lot!!


--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> I figured out a "close enough" one - start builder with "open -n" (mac
> only)... It complains when you open it about the workspace being
locked, but
> then lets you choose another. I guess If I set "always ask for
workspace" in
> eclipse that problem would go away!
> 
> -Josh
> 
> On Thu, Aug 7, 2008 at 12:16 PM, Sid Maskit <[EMAIL PROTECTED]> wrote:
> 
> >  I don't know much about eclipse so I have no idea if there is a
good way
> > to do this. I'm pretty sure this is not the answer you would like,
but one
> > way to do this would be with virtualization. If you are running a
Windows
> > box, you can use Microsoft's free virtualPC program.
> >
> > I'm not sure whether you would run into problems with trying to
use the
> > same license for multiple copies this way. In theory, it should be
okay
> > since they are all on the same machine, but since each virtual PC
instance
> > appears to be its own machine, the license enforcement mechanism might
> > object.
> >
> > Sid Maskit
> > Partner
> > CraftySpace
> > Better Websites for a Better World
> > http://www.CraftySpace.com
> > blog: http://smaskit.blogspot.com/
> >
> >
> > - Original Message 
> > From: Josh McDonald <[EMAIL PROTECTED]>
> > To: "flexcoders@yahoogroups.com" 
> > Sent: Wednesday, August 6, 2008 4:03:23 PM
> > Subject: [flexcoders] Multiple Builder instances / windows?
> >
> >  Hey guys,
> >
> > Is there an easy way I can have multiple copies of Builder running
at the
> > same time (with different workspaces)? This would really make my life
> > easier!
> >
> > -Josh
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED] com <[EMAIL PROTECTED]>
> >
> > 
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>




[flexcoders] Re: Module hell... Flex 3

2008-07-15 Thread Gus
Have you tried setting the listeners in the execute method?
and also, you should pass the module url inside the event...

//in the event dispatch
var loadEvent : new LoadTestEvent();
loadEvent.url = "TestModule.swf";
loadEvent.dispatch();

//in the command
public function execute(event:CairngormEvent):void
{
  var loadEvent : LoadTestEvent= event as LoadTestEvent;
  moduleInfo = ModuleManager.getModule(loadEvent.url);
  moduleInfo.addEventListener(ModuleEvent.READY, moduleReadyHandler);
  moduleInfo.addEventListener(ModuleEvent.ERROR, moduleErrorHandler);
  moduleInfo.load(ApplicationDomain.currentDomain);
}

I'm not sure if this can help you but you could try...
HTH
Gus


--- In flexcoders@yahoogroups.com, "Sebastian Mohr"
<[EMAIL PROTECTED]> wrote:
>
> Hi cairngorm coders,
> 
> is there a way to help me out?
> 
> cu masu
> 
> 
> 
> On Sat, Jul 12, 2008 at 11:51 PM, Sebastian Mohr <[EMAIL PROTECTED]>
> wrote:
> 
> > Hi Alex,
> >
> > when I call the CairngormEvent
> > the first time just like this:
> >
> >new LoadTestEvent().dispatch();
> >
> > the moduleReadyHandler - method
> > will not be called. But when I call the
> > LoadTestEvent a second time, once
> > again, just like this:
> >
> >new LoadTestEvent().dispatch()
> >
> > the moduleReadyHandler - method
> > will be successfully called.
> >
> > I believe that the two EventListeners:
> >
> >ModuleEvent.READY and
> >ModuleEvent.ERROR
> >
> > are not registered correctly in the first place.
> > But I don't understand why!? Maybe there is
> > an issue related to the FrontController?
> >
> > Thank you,
> > masu
> >
> >
> >
> > On 7/12/08, Alex Harui <[EMAIL PROTECTED]> wrote:
> >>
> >>  I'm not sure I see the event logic you're talking about.
> >>
> >>
> >> --
> >>
> >> *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> >> Behalf Of *Sebastian Mohr
> >> *Sent:* Saturday, July 12, 2008 9:22 AM
> >> *To:* flexcoders@yahoogroups.com
> >> *Subject:* Re: [flexcoders] Module hell... Flex 3
> >>
> >>
> >>
> >> Hi there,
> >>
> >> I have the same problem as *dbronk *mentioned
> >> (see below) in conjunction with Cairngorm 2.2.1.
> >>
> >> I always have to dispatch the LoadTestEvent
> >> twice to make the LoadTestCommand calling
> >> the moduleReadyHandler-method. here is the
> >> code:
> >>
> >> package com.test
> >> {
> >>import com.adobe.cairngorm.commands.ICommand;
> >>import com.adobe.cairngorm.control.CairngormEvent;
> >>
> >>import flash.system.ApplicationDomain;
> >>
> >>import mx.events.ModuleEvent;
> >>import mx.modules.IModuleInfo;
> >>import mx.modules.ModuleManager;
> >>
> >>public class LoadTestCommand implements ICommand
> >>{
> >>   private var moduleInfo:IModuleInfo;
> >>
> >>   public function LoadTestCommand()
> >>   {
> >>  moduleInfo = ModuleManager.getModule('TestModule.swf');
> >>  moduleInfo.addEventListener(ModuleEvent.READY,
> >> moduleReadyHandler);
> >>  moduleInfo.addEventListener(ModuleEvent.ERROR,
> >> moduleErrorHandler);
> >>   }
> >>
> >>   public function execute(event:CairngormEvent):void
> >>   {
> >>  moduleInfo.load(ApplicationDomain.currentDomain);
> >>   }
> >>
> >>   public function moduleReadyHandler(e:ModuleEvent) : void
> >>   {
> >>  trace('SUCCESS');
> >>   }
> >>
> >>   public function moduleErrorHandler(e:ModuleEvent) : void
> >>   {
> >>  trace('ERROR');
> >>   }
> >>}
> >> }
> >>
> >> Is there a solution to dispatch the event only once
> >> to make the Command loading the module?
> >>
> >> Thank you,
> >> masu
> >>
> >>
> >> On 1/28/08, *dbronk* <[EMAIL PROTECTED]> wrote:
> >>
> >> I'm trying to get something very basic to work with modules. I have
> >> my app and two swf modules (Form1.swf and Form2.swf). Each test
> >> module simply has a couple TextInput fields. I have also extended
> >> Module so I can fol

[flexcoders] Re: Google or Yahoo Maps - Custom tile/image/background

2008-04-24 Thread Gus
> Means i can be able to change the background/tile/image to Car,
Flower,Person or anything from the default map image.

If I got this right maybe this could help you...
http://modestmaps.com/tutorial-actransit/

HTH
Gus



[flexcoders] Re: google maps...

2008-03-06 Thread Gus
Hi,

I think this could help you, http://modestmaps.com/

HTH
Gus

--- In flexcoders@yahoogroups.com, "[p e r c e p t i c o n]"
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
> Can any one point me to some examples of integrating google api's with
> flex...
> thanks
> and
> cheers
> p
>




[flexcoders] Re: How to duplicate a Component?

2008-02-22 Thread Gus
Hi,

I had a similar problem and resolved it by using the descriptor
property and the createComponentFromDescriptor method from the
Containers...

here are some samples

http://kb.adobe.com/selfservice/viewContent.do?externalId=45fc6cf2&sliceId=1

in the flex help there is a lot of documentation too..

P.S: there also an open source project called FlexReport, maybe you
could use it... is at http://www.kemelyon.com/bts/

HTH
Gus

--- In flexcoders@yahoogroups.com, "lucas_bwd" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm building an app in which I gotta print some charts. There's
> standard Printing Template, which contains header, footer, and the
> charts receive some treatment as well. So for each module, there's a
> call to my Printing class, passing the chart I want to print. The
> problem is that when I add a chart to the template (using addChild),
> it disappears. So I need to duplicate it first. But there's no such
> thing as duplicateMovieClip(). Any thoughts on that?
> Thanks,
> Lucas
>




[flexcoders] Re: flex version of html float?

2008-02-22 Thread Gus
you could try the FlowBox in the flexlib

http://code.google.com/p/flexlib/wiki/ComponentList
Sample:
http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf

HTH
Gus

--- In flexcoders@yahoogroups.com, "Jerry DuVal" <[EMAIL PROTECTED]> wrote:
>
> I have a HBox that contains form items.  When the window is resized to a
> smaller window flex automatically places the horizontal scroll bar.  Is
> there any way to float the items to the next line instead of having the
> scroll bar.  
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  text="bar"/>
> 
> 
> 
> 
> 
>  text="foo"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  text="{parentDocument.field.description}" editable="true" width="355"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.checkAll}"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.noWrap}"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.autosize}"/>
> 
> 
> 
> 
> 
>  text="{parentDocument.field.size}" editable="true" width="40"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.hidden}"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.editable}"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.required}"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Jerry DuVal
> 
> Pace Systems Group, Inc.
> 
> 800.624.5999
> 
> www.Pace2020.com
>




[flexcoders] Re: How to make a live duplicate of an output window

2008-02-12 Thread Gus
you could also use the ImageSnapshot class to take a picture of the
window before minimize it, and then assign it to your minimized item
and then show it when mouse over

HTH
GUS

--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> you can use the bitmap class draw() method and what not, then scale
that image and just use States. So on State will show it and off state
wont 
> 
> 
> - Original Message 
> From: mthomas1969 <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, February 12, 2008 1:39:20 PM
> Subject: [flexcoders] How to make a live duplicate of an output window
> 
> 
> I'm using Flex 3 and AIR, and I am trying to find a way to have all of 
> the visuals that appear in a particular window in my app duplicated (in 
> real time) in a small canvas in another window (in the same app). Sort 
> of like the taskbar in Windows Vista does when you hover the mouse over 
> an item that is minimized: you see a tiny view of what's going on in 
> the application' s window.
> 
> Anyone know how to do this in in Flex/AIR? 
> 
> 
> 
> 
> 
>  

> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search. 
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>




[flexcoders] Re: BlazeDS, pdf generation, et al

2008-02-07 Thread Gus
maybe you could take a look at SHARE... it has an actionscript api for
uploading and downloading documents, plus other functionality and give
you links so you can access the docs later... its in beta but seems
interesting

http://labs.adobe.com/technologies/share/ 

HTH
Gus

--- In flexcoders@yahoogroups.com, "netdeep" <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply.  I am completely new to programming on the
server side working 
> only with stand alone apps in the past.
> 
> We have no solution in place for PDF generation at the moment on the
server.  And 
> whatever we do has to be open source.  We don't want to send the
actual reports via email, 
> just a link for the user to go download it from the server.
> 
> As far as distributing the data from a requesting client (who wants
to create a new auto-
> generated report) to the server and then from the server out to
subscribers who could 
> produce the report for publication, I am a lost.  I tried out the
BlazeDS trial for datapush 
> and it seems promising, but I have no idea how the messagebroker
works really and 
> especially how it might receive data from producers (requesting
clients).  I've also read a 
> bit on JMS and it looks promising, but seems to be complicated to
implement.
> 
> 
> 
> --- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
> >
> > > Does anyone have any experience with BlazeDS?  Is it even
necessary?  
> > 
> > Not if polling suffices, or you just email them to the users.
> > 
> > > And as far as the PDF generation, I had looked into Alive PDF,
but is there
> > > a better/easier solution?
> > 
> > Depends what you have server-side already.
> > 
> > -- 
> > Tom Chiverton
> > Helping to carefully bully granular design-patterns
> > 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
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] Flex FAR (Flash Archive) AS3 Lib

2008-01-21 Thread Gus
Hi,

have anyone tried the as3 library to read/write far archives?? is it
stable enough??






[flexcoders] Re: how to duplicate component

2008-01-07 Thread Gus
Hi,

I had a similar problem and resolved it by using the descriptor
property and the createComponentFromDescriptor method from the
Containers...

here are some samples

http://kb.adobe.com/selfservice/viewContent.do?externalId=45fc6cf2&sliceId=1

in the flex help there is a lot of documentation too..

HTH
Gus


--- In flexcoders@yahoogroups.com, Frederico Garcia <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> For my flexReport (www.kemelyon.com/flexreport) I need to make a 
> duplicate of a component. For example, if I want to print a chart, I 
> need to take that chart, resize it and add it to a page. My problem is 
> that a component can only be draw inside a container at a time, so if I 
> add it to the page it desapears from the original container. I don't 
> want to use getBitmapData either because that way when I resize it will 
> lose quality.
> 
> What I want is having a method like:
> 
> var chart2:ColumnChart = cloneComponent(chart1);
> 
> or
> 
> getVectorData(chart1);
> 
> Hope someone can help me,
> 
> Regards,
> 
> Frederico Garcia
>




[flexcoders] Re: Design support for template components (my wish)

2007-12-05 Thread Gus
Any updates on this??

it's my wish too... hehehe

--- In flexcoders@yahoogroups.com, "borekbe" <[EMAIL PROTECTED]> wrote:
>
> Hi, I've just downloaded Flex Builder 3 beta and was curious if
> template components are supported in the design view this time -
> unfortunately, they still aren't. How hard would be to implement this
> feature? To be honest, without the design view support, template
> components are much less attractive.
> 
> Just a little wish...
> 
> Thanks,
> Borek
>




[flexcoders] Re: Module Loader

2007-11-30 Thread Gus
Yep you were right... 

at the beginning I did it but just after I got the event.COMPLETE when
I extracted it from the zip, the factory.create() returned null... and
 I forgot about that approach... 

now I used the ModuleInfo and ModuleInfoProxy to wrap the factory and
works perfectly...

Thanks again!!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Probably not, but it wasnt' clear to me that you needed to get your
code loaded under the ModuleManager.  I think you could just
instantiate the module directly.
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Gus
> Sent: Friday, November 30, 2007 9:04 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Module Loader
> 
> 
> 
> Done!!
> 
> Thanks Alex, I did it... but had to do it by monkey patching some
> classes.. don't like to do this... but...
> 
> although I only modified the load method in the ModuleInfo class to
> add the loadBytes call, had to change the FactoryInfo,
> ModuleInfoProxy, ModuleLoader, ModuleManager and ModuleManagerImpl
> because they either have a ModuleInfo variable or weren't visible to
> my class...
> 
> I don't know if can be done better...
> 
> one little defect is that the module is not visible in the design
> mode... a red X appears...
> 
> Any thought on this???
> 
> Thanks!!!
> 
> --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui"  wrote:
> >
> > There doesn't look like there's a way to plug that into the
> ModuleManager and it doesn't support loadBytes.
> > 
> > If you look at the FlexModuleFactory and ModuleManager code, it
> appears that you can listen for the ready event and then call create()
> on the factory.
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ]
> On Behalf Of Gus
> > Sent: Wednesday, November 28, 2007 2:27 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Re: Module Loader
> > 
> > 
> > 
> > To extract the swf module from the zip I'm using the following code:
> > 
> > var zipFile:ZipFile = new ZipFile(loadedData);
> > var data:ByteArray;
> > for(var i:int = 0; i < zipFile.entries.length; i++) 
> > {
> > var entry:ZipEntry = zipFile.entries[i];
> > data = zipFile.getInput(entry);
> > }
> > 
> > loader = new Loader( );
> > loader.contentLoaderInfo.addEventListener( Event.COMPLETE,
> onLoadComplete );
> > var context : LoaderContext = new LoaderContext( );
> > context.applicationDomain = ApplicationDomain.currentDomain;
> > loader.loadBytes( data, context );
> > 
> > On the onLoadComplete the loader.content has:
> > 
> > _TestModule_mx_core_FlexModuleFactory (@17975f1)
> > 
> > which seems to be similar to the variable info.factory in
> ModuleInfoProxy
> > 
> > you can see a screenshot of the debugger window in:
> > 
> > http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/
<http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/> 
> > 
> > Thanks for the help
> > Gus...
> > 
> > 
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui"  wrote:
> > >
> > > can we see how you are getting the instance of the module factory?
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> ] On Behalf Of Gus
> > > Sent: Wednesday, November 28, 2007 8:59 AM
> > > To: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] Module Loader
> > > 
> > > 
> > > 
> > > Hey all...
> > > 
> > > is there a way to load a module not from an url but an object
> instance?
> > > 
> > > I have a zip file with a module, I unzipped it with the nochump zip
> > > libraries and obtain the instance of the factory for the module ( or
> > > at least is what it seems )... but then I can´t find a way to
pass it
> > > to the ModuleLoader... so, I'm stuck... don't know where to look... 
> > > 
> > > Any Ideas???
> > > Thanks in advance
> > >
> >
>




[flexcoders] Re: Module Loader

2007-11-30 Thread Gus
Done!!

Thanks Alex, I did it... but had to do it by monkey patching some
classes.. don't like to do this... but...

although I only modified the load method in the ModuleInfo class to
add the loadBytes call, had to change the FactoryInfo,
ModuleInfoProxy, ModuleLoader, ModuleManager and ModuleManagerImpl
because they either have a ModuleInfo variable or weren't visible to
my class...

I don't know if can be done better...

one little defect is that the module is not visible in the design
mode... a red X appears...

Any thought on this???

Thanks!!!


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> There doesn't look like there's a way to plug that into the
ModuleManager and it doesn't support loadBytes.
>  
> If you look at the FlexModuleFactory and ModuleManager code, it
appears that you can listen for the ready event and then call create()
on the factory.
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Gus
> Sent: Wednesday, November 28, 2007 2:27 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Module Loader
> 
> 
> 
> To extract the swf module from the zip I'm using the following code:
> 
> var zipFile:ZipFile = new ZipFile(loadedData);
> var data:ByteArray;
> for(var i:int = 0; i < zipFile.entries.length; i++) 
> {
> var entry:ZipEntry = zipFile.entries[i];
> data = zipFile.getInput(entry);
> }
> 
> loader = new Loader( );
> loader.contentLoaderInfo.addEventListener( Event.COMPLETE,
onLoadComplete );
> var context : LoaderContext = new LoaderContext( );
> context.applicationDomain = ApplicationDomain.currentDomain;
> loader.loadBytes( data, context );
> 
> On the onLoadComplete the loader.content has:
> 
> _TestModule_mx_core_FlexModuleFactory (@17975f1)
> 
> which seems to be similar to the variable info.factory in
ModuleInfoProxy
> 
> you can see a screenshot of the debugger window in:
> 
> http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/
> 
> Thanks for the help
> Gus...
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Alex Harui"  wrote:
> >
> > can we see how you are getting the instance of the module factory?
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Gus
> > Sent: Wednesday, November 28, 2007 8:59 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Module Loader
> > 
> > 
> > 
> > Hey all...
> > 
> > is there a way to load a module not from an url but an object
instance?
> > 
> > I have a zip file with a module, I unzipped it with the nochump zip
> > libraries and obtain the instance of the factory for the module ( or
> > at least is what it seems )... but then I can´t find a way to pass it
> > to the ModuleLoader... so, I'm stuck... don't know where to look... 
> > 
> > Any Ideas???
> > Thanks in advance
> >
>




[flexcoders] Re: Module Loader

2007-11-28 Thread Gus
To extract the swf module from the zip I'm using the following code:

var zipFile:ZipFile = new ZipFile(loadedData);
var data:ByteArray;
for(var i:int = 0; i < zipFile.entries.length; i++)
{
 var entry:ZipEntry = zipFile.entries[i];
 data = zipFile.getInput(entry);
}

loader = new Loader( );
loader.contentLoaderInfo.addEventListener( Event.COMPLETE,
onLoadComplete );
var context : LoaderContext = new LoaderContext( );
context.applicationDomain = ApplicationDomain.currentDomain;
loader.loadBytes( data, context );

On the onLoadComplete the loader.content has:

_TestModule_mx_core_FlexModuleFactory (@17975f1)

which seems to be similar to the variable info.factory in
ModuleInfoProxy

you can see a screenshot of the debugger window in:

http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/

Thanks for the help
Gus...






--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> can we see how you are getting the instance of the module factory?
>
> 
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Gus
> Sent: Wednesday, November 28, 2007 8:59 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Module Loader
>
>
>
> Hey all...
>
> is there a way to load a module not from an url but an object
instance?
>
> I have a zip file with a module, I unzipped it with the nochump zip
> libraries and obtain the instance of the factory for the module ( or
> at least is what it seems )... but then I can´t find a way to pass
it
> to the ModuleLoader... so, I'm stuck... don't know where to look...
>
> Any Ideas???
> Thanks in advance
>



[flexcoders] Module Loader

2007-11-28 Thread Gus
Hey all...

is there a way to load a module not from an url but an object instance?

I have a zip file with a module, I unzipped it with the nochump zip
libraries and obtain the instance of the factory for the module ( or
at least is what it seems )... but then I can´t find a way to pass it
to the ModuleLoader... so, I'm stuck... don't know where to look... 

Any Ideas???
Thanks in advance