RE: [flexcoders] Samsung Galaxy Tab 10.1 ?

2011-11-11 Thread flex
I just did a prototype app for a galaxy 10.1 and it worked nicely.

 

-D

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Csomák Gábor
Sent: Friday, November 11, 2011 2:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Samsung Galaxy Tab 10.1 ?

 

  

i don't have one, but its definitely possible.

 

On Fri, Nov 11, 2011 at 6:02 AM, markflex2007 
wrote:

  

Does any one develop Air app on Samsung Galaxy Tab 10.1 before?

our client plan to develop tablet app on Samsung Galaxy Tab 10.1 ,I just
want to make sure it is possble.

Thanks for help

Mark

 



 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 6620 (2011) __

 

The message was checked by ESET NOD32 Antivirus.

 

http://www.eset.com

<><>

RE: [flexcoders] Proper way to ensure components in a different state are created

2010-09-01 Thread flex
If you use includeIn or excludeFrom, then itemCreationPolicy becomes
available and you can set it to "immediate" - 

 



 

Then in code you could in imcomp.currentState = "myDesiredState", even
before State 1 has been used.

 

Hope this helps,

Derek

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of dorkie dork from dorktown
Sent: Wednesday, September 01, 2010 5:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Proper way to ensure components in a different state
are created

 

  

When I try to access components that are in a different state on the
line after I set the current state I get this error,
TypeError: Error #1009: Cannot access a property or method of a null
object reference.

// code
currentState = NOTES;
noteComponent.text = value; // noteComponent exists in NOTES state and
is not created yet

I know this is because of the Flex invalidation cycle and I'm aware I
could use databinding and I know I could use callLater. But if I
needed to create the components immediately for only the state I'm
going to how would I do that?

Custom Component:














JP



 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 5414 (20100901) __

 

The message was checked by ESET NOD32 Antivirus.

 

http://www.eset.com

<><>

[flexcoders] Style/skin the Menu class?

2010-03-24 Thread flex...@rocketmail.com
We have created a hoverMenu:Menu and I've been asked to style it.

It seems that one would need to extend Menu to make that possible.

I'm a bit confused on where to start.

Any help?

It's a simple box with a bg color, a solid border, a header and inside the box 
is the menu feed by XML data.  It seems to me that we could have used VBox and 
put the menu inside it, but before we change that, I wanted to see how someone 
might make a simple style change to the Menu class itself.

Thanks in advance!

Dov



[flexcoders] Re: LCDS Configuration Settings - Best Practices?

2010-03-10 Thread Flex Boy
you can set the RTMP port to blank and it will bind to 80. or whatever you have 
set your webserver set to.

--- In flexcoders@yahoogroups.com, "rojoe615"  wrote:
>
> Not sure if this is the proper forum or not for LCDS related questions, but 
> here goes:
> 
> We have a small demo app that is built with Flex and LCDS 2.6 using Hibernate 
> and mySQL.  I am running into some issues with network performance and it 
> appears to be either slow response from the server or network congestion.  
> I'm getting a message that say:
> 
> "Message throttled: Too many messages sent to destination 
> productoptions.hibernate in too small of a time interval.  actual 
> frequency=15000 max frequency=500" 
> 
> and the user gets alert messages in the app.  I'm new to this LCDS thing so 
> my questions are:
> 
> 1)  How do you configure the message throttle settings appropriately?  Is 
> there a guide or reference for an approach to this?
> 
> 2)  I know there is an "IGNORE" setting for the throttle settings. Should 
> that setting be used in this case?  Does it impact data integrity if used?
> 
> 3)  Due to firewall issues, I cannot use RTMP.  I am using AMF, but is there 
> a preferred protocol that might help for message processing or issues with 
> slow or intermittent network performance?
> 
> There seems to be a bit of black magic in this that I haven't figured out, 
> coupled with the fact this is a totally new area for me, so any thoughts 
> would be appreciated.
> 
> Thanks,
> JB
>




[flexcoders] Need to filter UTF-8 characters from string

2010-03-09 Thread flex flex
Hello All,

I have a string of which contains lots of special characters from different
standerds. I want to filter the string and want only those characters which
are supported by UTF-8.
Does anyone have any idea for this?

I have a sample string as-

!"#$%&'()*+,-./0123456789:;<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ
[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"'&<>¡¢£¤¥¦§¨©ª"®¯°±²³´µ·¸¹º"¼½¾¿×÷ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿŒœŠšŸƒˆ˜--''‚"""†‡o…‰‹›€™


[flexcoders] Re: right click

2010-03-09 Thread Flex Boy



http://cookbooks.adobe.com/post_Right_click_Item_Selecting_and_Context_M\
enu_Manipu-16927.html
<http://cookbooks.adobe.com/post_Right_click_Item_Selecting_and_Context_\
Menu_Manipu-16927.html>


--- In flexcoders@yahoogroups.com, cholid cholid 
wrote:
>
> Hi all
> i need right click in my flex
> can any body give me info?
> thanks
> regards
>




[flexcoders] Re: Pb with mx:image and Path on server

2010-02-23 Thread Flex
It looks like you are using ../ which means go up one directory and based on 
what you describe for you app structure that is not true, since Images folder 
is a subdirectory of your swf root.

Try this..


also ensure that your directory name starts with an uppercase on the webserver. 
Best not to mix case especially on Unix/Linux systems.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "Christophe"  
wrote:
>
> Hello, 
> 
> Its impossible to view an image on my server with mx:image
> 
> My server folders are:
> -- Images -- .JPG images
> -- www  .swf application
> 
> When I use 
> 
> It does not work. 
> 
> Notice the image repertory is at the same level as www. Image has 755 as 
> properties.
> 
> What is the solution ?
> 
> Thank you,
> Christophe,
>




[flexcoders] Re: Strategies for switching between testing and deployment addresses

2010-02-23 Thread Flex
Using relative url's if you are not going cross-domain may be simpler if your 
application permits.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "Mike"  wrote:
>
> I cover this issue in detail in my book 
> (http://slinnbooks.com/books/serverSide), with code examples and 
> explanations.  The book shows how to discover the originating domain and how 
> to dynamically configure data services accordingly.
> 
> Mike
> 
> 
> > I've been writing some small programs that use HTTPService calls to
> > fetch data from a back-end. During testing, I'm using 127.0.0.1 or an
> > IP address on my subnet. When I deploy, I update the IP address in
> > service definitions to the right external address and build the app.
> > Or at least I mean to. It's all too easy to accidentally change the
> > addresses for internal testing and then forget to switch them back
> > before building.
> > 
> > Is there a best practice or simple strategy for putting the IP address
> > somewhere outside of the source code that it can easily be edited
> > without a rebuild?
>




[flexcoders] Re: File Upload & Modules

2010-02-23 Thread Flex
Did you try using an absolute URL for server file upload url as opposed to 
relative paths? I am not sure what url you are loading the module from relative 
to web root and te same realtive paths as in your original app may not work.

Web Manager
Flexdownloads.com

--- In flexcoders@yahoogroups.com, "criptopus"  wrote:
>
> Why would file upload work before its component became a module but after it 
> becomes a module does it fail with the error...
> 
> Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
> 
> I am completely lost?
> 
> - Stephen
>




Re: [flexcoders] Component Data Calls

2010-02-23 Thread Flex
We hit a number of issues using modules as well. Pretty much most of them had 
to do with modules loading resources before the main app so that raised issues 
with main app or other modules trying to use them...not all resources had the 
issue and it became a guessing game of putting dummy vars etc in the main app 
so we gavce up. A pity since other than that we even got the back browser 
button to work with modules.

We are hoping that Flex 4 will make it work better. Don't get me worng...I am 
not criticizing Flex in any way but it is just not easy to use Modules AND it 
does seem to have issues based on our experience.

Web Manager
Flexdownloads.com

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> I don't agree. I use modules extensively and have not experienced any bugs 
> with them. It is more likely to be the code you use to load them and what you 
> do inside them.
> 
> --- In flexcoders@yahoogroups.com, Dan Pride  wrote:
> >
> > Thanks Dave, the word I seem to be getting lately is that the modules tend 
> > to be a bit buggy at the moment. Decided to go with the old reliable 
> > viewstacks and change urls if I have too. There seem to be so many 
> > different ways to approach this issue, someone should write a book on it. I 
> > know I would buy it.
> > :)
> > Dan Pride
> > 
> > 
> > --- On Mon, 2/22/10, David Adams  wrote:
> > 
> > From: David Adams 
> > Subject: Re: [SPAM] [flexcoders] Component Data Calls
> > To: flexcoders@yahoogroups.com
> > Date: Monday, February 22, 2010, 7:23 PM
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >   
> > 
> > 
> > 
> >   
> >   
> >   
> > 
> > On Mon, Feb 15, 2010 at 3:28 AM, Dan Pride  wrote:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  Thank you for your answer.
> > Question if you would, I have been asking it everywhere and get NO 
> > satisfactory answers.
> > 
> > 
> > How to approach a multi-windowed application, particurarly in FB4?
> > 1) Different Urls?
> > 2) ViewStacks?
> > 3) States?
> > 4) ViewStacks of States (Master-Detail in one ViewStack as two states)?
> > 5) Do States initialize in Flash Builder 4? I had heard they do not?
> > 
> > 
> > 
> > Dan,
> > You might like the following video from near the end of Adobe's "Learn Flex 
> > in a Week" training:
> > 
> > 
> > http://www.adobe. com/devnet/ flex/videotraini ng/xml/vid41. html
> > It's a pretty nice, simple example of building and then lazy-loading a 
> > module only once (and if) it's needed.
> >
>




[flexcoders] Re: Why most Flex Developer job ads ask now for Knowledge in Java??

2010-02-17 Thread Flex
I think that is because flex is now making inroads into the enterprise and Java 
is one of the big languages for big enterprises.

SAP Business objects product XCelsius is based on Flex and has come with an SDK 
that lets you integrate Flex components as BOBJ components for dashboarding. 
SAP Visual Composer is based on flex too. Oracle has some products that use it 
as well.

Now for enterprise's using Java, UI has laways been the weakest link. JSP is 
decent but nowhere close to Flex. JSF never got that popular ans struts is 
age-old but still used. The real problems is multitude of technologies there 
that are complex and still do not do that good a job.

Enter Flex with its good integration capabilities, remoting capabilities, 
browser independent development etc and the really cool nice interface at a 
quarter of the time...

So the strongest contender on UI is trying to replace the weakest performer 
here. Don't get me wrong...I am a java guy and I love it (a bit of love is lost 
after the oracle acquisition) but having used Servlets, JSP, Struts and MyFaces 
I really like Flex.

You do not have to know that much Java...just a bit on how servlets work, 
security and web services. There are online tutorials on Sun that are pretty 
good...Java Trails on the core SDK (not Java EE)

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "fred44455"  wrote:
>
> Since this year you don't seems to be able to find a Job Offer in Flex 
> without the requirement: Knowledge in Java, JEE2 etc.. required( Most job ads 
> in Dice.com) Is that mean that now not only I need to learn Flex but also 
> Java to be able to find a Flex Developer job??
>




[flexcoders] Re: SDK 3.5 "An unknown item is declared as the root of your MXML document"

2010-02-16 Thread Flex
I have seen this happen sometimes (for some reason not always..) when you don't 
use an explicit namespace for the app...i.e. use a default namespace so if you 
use

http://www.adobe.com/2006/mxml"; />
you should be ok

But, if you use
http://www.adobe.com/2006/mxml"; /> (defaults the namespace)

you will see that error in design view.

Web Manager
Flexdownloads.com

--- In flexcoders@yahoogroups.com, "mitek17"  wrote:
>
> Hi everybody!
> 
> I am trying to switch to Flex SDK 3.5(a) and Design View goes haywire:
> 
> https://bugs.adobe.com/jira/browse/FB-25994
> 
> If I switch back the SDK to 3.4 it starts to work.
> 
> The code compiles & executes with no problem, just a Design View problem.
> 
> Anyone had similar problem?
> 
> 
> Thanks!
>




[flexcoders] Re: how to "stretch" an image? REFdn3045277632

2010-02-15 Thread Flex
Just use backgroundSize="100%" in the application mxml...see below

http://www.adobe.com/2006/mxml"; layout="absolute" 
backgroundImage="leather.jpg" backgroundSize="100%">

Web manager
FlexDownloads.com
--- In flexcoders@yahoogroups.com, "dennis"  wrote:
>
> Hello guys.
> 
>  
> 
> I want to use an image as background of my application and I want to be
> "stretched" on case or resize. I don't care if it becomes distorted.  I just
> want the image to cover always application's background. 
> 
>  
> 
> Testing the "scale" property of the Image, I managed only to scale the image
> on resize event, but if the dimensions of the stage are not analog with the
> dimensions of the Image, the background of the application appeared at the
> bottom or at the right.
> 
>  
> 
> Does anybody know any property settings or a technique to stretch the image?
> 
>  
> 
> Best regards
> 
> Dennis
>




[flexcoders] Re: dynamically loading cssStyle text into Application?

2010-02-14 Thread Flex
I like the slightly different approach of using XML for the CSS. You don't have 
to write the stylesheet parsing code since xml parsers do the job for you.

Not sure if you all are really that interested in the xml based approach, but 
here is a link to that...

http://flexcomponents.net/buildingslideshow/

Even though the title says slideshow, it is really about xmlizing the CSS so 
that it can be applies to the slides at runtime without the need to recompile 
the app.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "vipinck"  wrote:
>
> Hi Valdhor,
> 
> I was doing the same thing for dynamic styling using an xml style file.  I am 
> successful except applying skin files to components. I was trying to keep an 
> image inside an FLA and give linkage properties (which extends BitmapData 
> class) and load it at runtime. And based on the linkage name specified in the 
> XML file, tried getDefinition(name). Got an error which said 'Argument count 
> mismatch on TickMark(). Expected 2, got 0.'
> 
> Can we load a dynamic image or swf like this, so that I can skin components 
> too with XML and resource file instead of pre-compiled skin swfs. I have 
> specific need for this, and cant do the CSS/compiled CSS skinning.
> 
> Thanks for any help you can offer.
> 
> Best regards,
> Vipin 
> 
> --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> >
> > parseCSS only works for text fields (See
> > http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html)
> > 
> > You will need to parse the string yourself and apply styles as required.
> > 
> > One of the bigger problems are that some styles require strings, others
> > require numbers and some even require arrays.
> > 
> > I came up with the following code to demonstrate (You can extend it to
> > do whatever you want):
> > 
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute"
> >  creationComplete="onCreationComplete()">
> >  
> >  
> >  
> >  
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "MicC"  wrote:
> > >
> > > I am loading cssStyle text from server with a stored procedure and
> > > loading into a string:
> > >
> > > Button {
> > > cornerRadius: 9;
> > > highlightAlphas: 0, 0;
> > > fillAlphas: 1, 1, 1, 1;
> > > fillColors: #6699ff, #6699ff, #6699ff, #6699ff;
> > > color: #0033cc;
> > > textRollOverColor: #00;
> > > textSelectedColor: #00;
> > > borderColor: #6699ff;
> > > themeColor: #ff;
> > > fontSize: 12;
> > > fontWeight: normal;
> > > }
> > >
> > > into cssString. I want to use this as the Application's StyleSheet
> > i.e.
> > >
> > >   
> > >
> > > I tried
> > >
> > > this.styleName = cssString;
> > >
> > > and played with
> > >
> > > appStyle = new StyleSheet;
> > > appStyle.parseCSS(cssString);
> > >
> > > but a little knowledge is a dangerous thing :-) How do I get the style
> > > text to become the Application StyleSheet? TIA,
> > >
> > > Mic.
> > >
> >
>




[flexcoders] Re: Multiple conditions in a case (switch/case)

2010-02-14 Thread Flex
Did you try

case "kids","siblings":

comma separated instead of ||?

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, Wally Kolcz  wrote:
>
> I feel stupid for not knowing this, but I guess its never come up. How 
> do you do multiple conditions on a case statement in a switch. I am 
> trying to figure out age so the case says something like 'case "kids" || 
> "siblings"'. Doesn't seem to be working.
>




[flexcoders] Re: Obtaining rendered text from a DataGrid

2010-02-12 Thread Flex
Sorry to hear your posts get unanswered. I can only suggest a 'try'...did you 
try using the datagrid's indextoitemrenderer method instead of creating a new 
item renderer...

I have seen something similar in the DataGrid to Excel component on 
Flexdownloads.com but there the exercise was limited to extracting data from 
datagrid using the label function of the datagrid or if no label function 
specified, just use the data displayed, without the formatting css.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "Mike"  wrote:
>
> I need extract the rendered text from all cells of a DataGrid, whether or not 
> they are all displayed.  The following code dies because renderer is null:
> 
> 
> public var dp:ArrayCollection = new ArrayCollection();
> 
> /** Obtain formatted text data from the DataGrid's dataProvider.  
> * Other data generated by item renderers such as images are ignored. */
> protected function extractData(originalComponent:*):void {
> var dg:DataGrid = DataGrid(originalComponent);
> for (var col:int=0; col var rowArray:Array = [];
> for (var row:int=0; row var index:int = dg.indicesToIndex(row, col);
> var renderer:IListItemRenderer = dg.createItemRenderer(index);
> var value:* = renderer.data;
> rowArray.push(value);
> }
> dp.addItem(rowArray);
> }
> }
> 
> Most of my posts to this group go unanswered.  Hopefully this one won't 
> suffer the same fate! :)
> 
> Mike
>




[flexcoders] Re: Null pointer exceptions in call from Flex

2010-02-12 Thread Flex
Hi Tom,

Since it apparently happens randomly, it seems it depends on the data that is 
being passed from Flex to CF and that can vary depending on user input or 
selection. So, it seems some combination of this data is not loved by the 
CFASSerializer in the AMF gateway. I think you will have to troubleshoot it 
with different data combinations and see what causes it to error.

Based on my experience with AMF, CF and flex, just can't think of anything else.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, Tom McNeer  wrote:
>
> Hi,
> 
> I have a ColdFusion application that uses a Flex app as a front end. Until
> recently, everything worked smoothly. But now, I am getting a stack of
> NullPointerException errors that seem to come from the gateway's serializer.
> 
> I am seeing this occur in both dev and production environments, and I have
> determined that it happens with both ColdFusion 8 and ColdFusion 9.
> 
> Since it's a recent occurrence, there must be some issue with my application
> code, possibly in the objects coming from Flex. But the errors do not happen
> consistently - meaning, the same method call with the same parameters may
> succeed or fail with the same error.
> 
> Unfortunately, the stack trace (this is from CF8) does not direct me to
> anything in my code, or even to a specific method.
> 
> Here's a sample of many, identical exceptions:
> 
> ===
> "Error","jrpp-37","02/12/10","14:47:57",,"java.lang.NullPointerException"
> java.lang.RuntimeException: java.lang.NullPointerException
> at
> coldfusion.flash.messaging.io.amf.Translator.CFASSerializer.translate(CFASSerializer.java:341)
> at
> coldfusion.flash.messaging.io.amf.Translator.CFASSerializer.translate(CFASSerializer.java:81)
> at
> coldfusion.flash.messaging.io.amf.Translator.CFASSerializer.translate(CFASSerializer.java:140)
> at
> coldfusion.flash.messaging.io.amf.Translator.CFASSerializer.translate(CFASSerializer.java:85)
> at
> coldfusion.flash.messaging.io.amf.Translator.CFASSerializer.translate(CFASSerializer.java:512)
> at
> coldfusion.flash.messaging.io.amf.Translator.CFASSerializer.translate(CFASSerializer.java:494)
> at
> coldfusion.flash.filter.CFCInvokeFilter.invoke(CFCInvokeFilter.java:160)
> at
> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:282)
> at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
> at
> coldfusion.flash.filter.CFCInvokePathFilter.invoke(CFCInvokePathFilter.java:70)
> at
> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at
> coldfusion.flash.messaging.ColdFusionAdapter.invoke(ColdFusionAdapter.java:223)
> at
> flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:173)
> at
> flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1165)
> at
> flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:757)
> at
> flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:117)
> at
> flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
> at
> flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:48)
> at
> flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
> at
> flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:145)
> at flex.messaging.endpoints.AMFEndpoint.service(AMFEndpoint.java:122)
> at
> flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:438)
> at
> coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMessageBrokerServlet.java:50)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> at
> coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestControlFilter.java:71)
> at
> coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> at jrun.servlet.FilterChain.service(FilterChain.java:101)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at
> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
> at
> jrun.servlet

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Flex
Christophe,

MD5 is a one way hash so it's not like you can use the number meaningfully 
later on or get the card number back. 

There are other alternatives to credit card processing...payments gateways. 
Sorry to toot my own horn here, but we use Google checkout and Paypal simply 
because we don't want to get into that complication and we want the shoppers to 
feel secure about there purchase. Have you considered using those? 
Flexdownloads.com has those integration components for flex.

You can also evaluate using Credit card acceptance thru paypal. We don't have 
any integration components for that, but it should be easy to do that, and it 
will be a more secure buying experience for your shoppers.

Good luck...and I believe others have already sent you the link on php md5 
command...its simply one line.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "Christophe"  
wrote:
>
> Hello,
> 
> I use Flex and Amfphp with php / mySql. 
> 
> In the database, I want to encrypt Credit card number with MD5. 
> 
> How to add this functionnality ?
> 
> Thank you,
> Christophe,
>




[flexcoders] Re: Look for "Windows xp skin for Flex 3"?

2010-02-04 Thread Flex
http://www.scalenine.com/gallery/

has VistaRemix and Wibdows classic skin.

WebManager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "markflex2007"  wrote:
>
> Hi,
> 
> I am looking for "Windows xp skin for Flex 3",
> 
> Adobe have one but the download URL doesn't work.
> 
> Do you have a copy or you know the download link.
> 
> I remember a file like windowsXP.swc need.
> 
> Thanks
> 
> Mark
>




[flexcoders] Re: file saving problem

2010-02-03 Thread Flex
I believe it is possible...there is a component at 
http://www.flexdownloads.com/#view=detail;vstr1=36 which coverts flex a 
datagrid to CSV/Excel or any datagrid input to a delimitted format. You have to 
use a server side "echo" utility...usually less than 10 lines of server side 
code. 

It is the client side actionscript that is a lot more complicated usually.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, Tejas Patel  wrote:
>
> is it possible to create file (.csv / .xls) using actionscript and asked to 
> save it to local hard drive?
> with which flex sdk, it is possible & how?
> currently I am using SDK 3.
> 
> 
> 
>   The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
> http://in.yahoo.com/
>




[flexcoders] Re: Problems changing labels in MenuBar menu items in real time

2010-02-03 Thread Flex
Try calling the invalidate methods of MyMenuBar instead of the enable toggle to 
false and then true. Also see if using an XMLListCollection instead of XMLList 
as the dataprovider helps.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "hernanojuel"  wrote:
>
> Hi everybody!
> 
> I'm having trouble in changing my MenuBar menu items labels in real
> time, even when I use e4x in order to access the labels and modifiy
> them.
> The strangest thing of all is that I'm able to change submenu items'
> labels, but not the top menu items.
> 
> Let me explain myself by showinf you some code:
> 
> Here is the declaration of my menu, MXML-style:
>  itemClick="menuProcessor(event)">
>  
>  
>  
>  
>  
>  
>  
>  
> 
> and here is my menu event handler function, which is located in the same
> MXML file:
> 
> public function menuProcessor(event:MenuEvent):void
>   {
>  switch (event.label){
>  case "Change Label"
>mymenubar.dataprovider[...@label = "'file' label
> changed!";  // this won't work
>event.it...@label="'change label' label also changed,
> yeah!"; // this will work
>   break;
>   }
>   }
> 
> Then, as I told you, the menu displays as the following:
> 
> File
> > 'change label' also changed!
> 
> when it should have displayed as the following:
> 
> 'file' label changed!
> > 'change label' also changed!
> 
> Why does the submenuitem change and the top menu one dosen't??
> 
> 
> 
> Now, here comes a funny thing... If I change the previous code by adding
> a couple of lines:
> 
> public function menuProcessor(event:MenuEvent):void
>   {
>  switch (event.label){
>  case "Change Label"
>mymenubar.dataprovider[...@label = "'file' label
> changed!";
>event.it...@label="'change label' label also changed,
> yeah!";
>MyMenuBar.enabled = false;
>MyMenuBar.enabled = true;
>   break;
>   }
>   }
> 
> ...then everything works fine!
> 
> 
> 
> Can anybody throw some light on this? I'm really lost, I can't begin to
> understand what's going on here!
> I guess that whenever I change the "enabled" property of a MenuBar it
> somehow updates the labels in the top menu items, but how can I force
> the update withouth having to change the update property??
> 
> Thank you all!
>




[flexcoders] Re: Loading XML

2010-02-03 Thread Flex
I can think of 2 possible causes (which may or may not be true in your case)

1. Your project is not deployed on a web server and you are using HTTP to load 
the xml file...that will cause a security error even though you can load images 
by specifying source

2. The xml is on some other domain and there is no crossdomain.xml file with 
the right permissions in that domain.

Web Manager
FlexDownloads.com



[flexcoders] Re: Override FileReference Class

2010-02-01 Thread Flex


It can be done, but it does not have much to do with flex. The server side that 
sends the file can decide what name to give the file. So in php it would be 
something like

header('Content-Disposition: attachment; filename="export.csv"')

When you do a navigateToUrl from Flex to the url for file download brokered by 
the type of code above, you will be prompted to download a file with name with 
export.csv...with your xml content. Very similar syntax in java and cold fusion.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "Prabh"  wrote:
>
> I have XML data that I wish to store on the clients machine as a CSV.
> 
> 
> So,
> 
> 1. Is it possible to restrict the file extension to be only CSV when the 
> client gets the Save As dialog box ?
> 
> you can do it on file.browse(), but I am not uploading a file. I am 
> downloading the data to the client machine.
> 
>  
> 
> 2. If 1 cannot be done, is it possible to override the class to achieve the 
> same ?
> 
>  
> 
> Any help would be greatly appreciated. Thanks in advance
> 
>  
> 
> Prabh
>




[flexcoders] Re: Change the color of the gray disabled background for PopUpManager

2010-02-01 Thread Flex
Yes there is. You can put this in the CSS in the global style

global
{
modal-transparency: 0.65;
modal-transparency-color: #00;
modal-transparency-blur: 0;
}

The modal transparency defines the transparency of the background when popup is 
active, the color defines the non-grey color you want to use (of couse 00 
referes to black here and clearly that's not the color you want) and the blur 
refers to the amount of blur you want to apply to the background app when the 
popup is active.

This will affect all modal popup windows...

Web Admin
FlexDownloads.com

--- In flexcoders@yahoogroups.com, Wally Kolcz  wrote:
>
> Is there a way to change the color of the disabled (gray background) 
> area for a component (or whatever) added by a PopUpManager. I would like 
> to change it from the light gray to a dark gray/black. Thanks for any info.
>




[flexcoders] Re: Pointers

2010-01-30 Thread Flex
I have some code which lets you call a function on focus out or enter for every 
changed item and then do post processing...but its far too big to post and not 
sure how to put it on the yahoo group...

Web Admin
FlexDownloads.com


--- In flexcoders@yahoogroups.com, "jamesfin"  wrote:
>
> 
> 
> Here's what I've done in the past...
> 
> // add this in your init code...
> myDataGrid.addEventListener(ListEvent.ITEM_EDIT_END, editEnd);
> 
> 
> 
> private function editEnd(evt:DataGridEvent):void{
>   
> // get a reference to the datagrid
> var grid:DataGrid = evt.target as DataGrid;
> 
> // get a reference to the name of the property in the
> // underlying object corresponding to the cell that's being edited
> var field:String = evt.dataField;
> 
> // get a reference to the row number (the index in the 
> // dataprovider of the row that's being edited)
> var row:Number = Number(evt.rowIndex);
> 
> // get a reference to the column number of
> // the cell that's being edited
> var col:int = evt.columnIndex;
> 
>   
> if (grid != null){
>   
> var oldValue:String = String(grid.dataProvider.getItemAt(row)[field]);
> 
> var newValue:String = 
> String(grid.itemEditorInstance[grid.columns[col].editorDataField]);
>   
> var rowData:XML = XML(grid.dataProvider.getItemAt(row)[0]);
> 
> // check if the value has changed
> if (newValue == oldValue){
> // nothing has changed...
> return;
> }
> 
> 
> // something has changed...
> // do something...
> // you could prevent the change if you want
> // or do some validation
> // or just return and the data move on to the dp.
> }
>   
> }
> 
> 
> --- In flexcoders@yahoogroups.com, Dan Pride  wrote:
> >
> > Looking for suggestions on how to approach an issue.
> > 
> > I want to write a function to compare the current value of a text field 
> > with the value of the field in the selected row of the dataGrid. I want to 
> > use the function as a focus-out handler on every text input.
> > 
> > Obviously I don't want to rewrite this for each and every field but I did 
> > not see a functional similarity to a pointer in actionscript or did I just 
> > miss it?
> > 
> > This is for the awesome Flashbuilder 4,... I have a text input for every 
> > field in the value object and want to compare each to the selectedItem for 
> > the dataGrid and kick some stuff if it does not match.
> > Thanks
> > Dan Pride
> >
>




Re: [flexcoders] Re: Blazeds on Godaddy

2010-01-11 Thread Flex Killer
I searched and spoke to godaddy and finally

I got the perfect answer from here

http://usefullittlethings.com/gojava-lessons-on-writing-java-applications-for-godaddy-shared-hosting.html

I started developing my project with AMFPHP now .

regards

On Wed, Jan 6, 2010 at 10:11 PM, jrock  wrote:

>
>
> Any luck in having blazeds work on godaddy hosting account? I was thinking
> of setting it up.
>
> --- In flexcoders@yahoogroups.com , "
> mslinn.com"  wrote:
> >
> > I am considering moving to a hosted service instead of running my own
> servers because sysadmin takes too much time. I'm not sure which Godaddy
> service you use, but I learned yesterday that their shared hosted offering
> uses JDK 1.5 and Tomcat 5.
> >
> > The turnkey BlazeDS is provided with Tomcat 6, and JDK 1.6 is
> recommended. I don't think that there is necessarily a compatibility issue,
> but you might want to test your setup on a local machine with JDK 1.5 and
> Tomcat 5 just to be sure.
> >
> > Mike
> >
>
>  
>


Re: [flexcoders] Creating XML Document from Data

2010-01-04 Thread Flex Killer
You can check this link.

http://nsdevaraj.wordpress.com/2009/03/05/convert-data-types-arraycollection-xml-object-string/

Regards

On Sun, Jan 3, 2010 at 7:26 PM, Wally Kolcz  wrote:

>
>
> Can someone give me a hint (Class to look into) or paste a URL to an
> example of how to create an XML structure, using a returned ArrayCollection
> of dynamic values, to use as the XML Datasource for a .
>
> I create a backend system for my client to use to create views ('pages'),
> but need to take the pageTitles and pageID, base on categories ('galleries'
> and 'personal'), and create a drop down menu system using 
>
> Something like:
>
> 
> 
> //Loop all the galleries by the returned data
> 
> 
> 
> //Loop all the personal pages by the returned data
> 
> 
> 
>
>   
>


[flexcoders] Pie Chart - Need help in creating

2010-01-04 Thread Flex Killer
>
> Hi All,
>
> I am using Pie charts for my application and wondering if some body guide
> me in creating pie charts like below ? Or please suggest me for some pretty
> pie chart?
>
> http://www.aboutnico.be/?p=42
>
> http://modernl.com/article/howto-make-pretty-pie-charts  ( last but three
> chart)
>
> Regards
>


Re: [flexcoders] Re: Blazeds on Godaddy

2009-12-12 Thread Flex Killer
Thanks a lot Mike for your suggestion . I was using Tomcat 6 in my local 
machine and changed to Tomact 5.0.27(What ever version godaddy is using) and 
was able to successfully setup in my local machine . But still the same issue 
exists on Godaddy . Surprisingly not sure when I got these errors , when I 
looked at the log file. I found the following errors

[Sat Dec 12 15:17:24 2009] [error] [client 76.98.80.45] File does not exist: 
/var/cvmt/home/content/y/a/c/kiranraj/html/kd.swf/messagebroker/amf

[Sat Dec 12 15:32:38 2009] [error] [client 76.98.80.45] File does not exist: 
/var/cvmt/home/content/y/a/c/kiranraj/html/kd.html/messagebroker/amf

I tried to reproduce these errors again , but failed .

I am using Godaddys "Linux hosting shared environment with Java enabled" 

Directory I installed Blazeds is "/WEB-INF"

Godaddy customer care people say "/stats/error_logs" directory is the one to 
check for errors, But I don't see all the errors written to this log . Still 
trouble shooting ( spent 7 days on this)...
Regards
Kiran






From: mslinn.com 
To: flexcoders@yahoogroups.com
Sent: Fri, December 11, 2009 10:17:58 AM
Subject: [flexcoders] Re: Blazeds on Godaddy

   
I am considering moving to a hosted service instead of running my own servers 
because sysadmin takes too much time.  I'm not sure which Godaddy service you 
use, but I learned yesterday that their shared hosted offering uses JDK 1.5 and 
Tomcat 5.

The turnkey BlazeDS is provided with Tomcat 6, and JDK 1.6 is recommended.  I 
don't think that there is necessarily a compatibility issue, but you might want 
to test your setup on a local machine with JDK 1.5 and Tomcat 5 just to be sure.

Mike

 


  

Re: [flexcoders] Best way to load XML file

2009-12-11 Thread Flex Killer
Thanks Jim for sharing the link with me . This solved my problem . The actual 
file size was 1.68MB and after compressing it is just 236 KB . The time it is 
taking now is just 7 seconds( before compression it was taking around 45 
seconds) . Once again thanks for your suggestion

Nathan , thanks for your suggestion . I am thinking using Jim suggestion and 
yours together to reduce time to seconds . 

Regards
Kiran







From: Jim Hayes 
To: flexcoders@yahoogroups.com
Sent: Thu, December 10, 2009 5:34:39 AM
Subject: RE: [flexcoders] Best way to load XML file

   
You can try compressing the xml file first and decompressing it when loaded - 
I've used this to good effect and see something like a 10x reduction in the 
filesize -
This blog covers the technique 
http://www.ghostwir e.com/blog/ archives/ as3-saving- xml-as-binary/

-Original Message-
From: flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro ups.com] On 
Behalf Of Flex Killer
Sent: 09 December 2009 11:45
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Best way to load XML file

  
Dear All,

I have a 2 MB XML file locally and if I try to import that file using



It is loading all the data at compile time  ( In fact flex builder is throwing 
memory exception)

I loaded the same file using HTTPService and It is taking significant amount of 
time to load the data in production environment . 

Could some body suggest a better way to load this? ( I don't have an option of 
loading this to database and reading it from there)

Regards
Kiran
.

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

 


  

Re: [flexcoders] Blazeds on Godaddy

2009-12-09 Thread Flex Killer
Thanks Kannan for your response . I am able run simple web application  . I 
have few servlets and JSP running and they are working fine.Only problem with 
Blazeds configuration . 

Unofrtunately server log is not giving much infromation other than 
http://mywebsite/ messagebroker/ amf page not found error.
I did copy the flex folder directly under WEB-INF directory .
Regards
Kiran





From: kannan Mugundan 
To: flexcoders@yahoogroups.com
Sent: Wed, December 9, 2009 10:54:12 AM
Subject: Re: [flexcoders] Blazeds on Godaddy

   
Hi,

  I can't answer your question directly, but I have a question. Are you able to 
run a simple web application.
And also do you have access to server log. May be you can find some error 
there. 


With Regards
Kannan



On Wed, Dec 9, 2009 at 5:12 PM, Flex Killer  wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>  >
>
>>
> 
>>  
> 
>>
>Dear All,
>
>
>( Not sure I am supposed to ask this question here or not , but in the end 
>left with no option)
>
>
>I am struggling to set up blazeds on my godaddy account . It totally stopped
>all my work. Could somebody kindly look into this issue? 
>
>
>
>I am using blazeds in my local environment and It is working fine ( Tomcast
>as a server) . Context root is set to null. 
>
>
>
>The same configuration I copied to godaddy server and could not able to get
>it running. 
>
>
>
>My directory structure in Godaddy account
>/WEB-INF/flex
>And if I try to hit the URL
>http://mywebsite/ messagebroker/ amf' 
>, I am getting page not found error .
> ( I am using godaddys shared linux java
>supported hosting environment, After I set up the server was restarted around 5
>times)
> Could somebody please look into this and help
>me?
>
>
>Regards
>Kiran
>
>

 


  

[flexcoders] Best way to load XML file

2009-12-09 Thread Flex Killer
Dear All,

I have a 2 MB XML file locally and if I try to import that file using



It is loading all the data at compile time  ( In fact flex builder is throwing 
memory exception)

I loaded the same file using HTTPService and It is taking
significant amount of time to load the data in production environment . 

Could some body suggest a better way to load this? ( I don't
have an option of loading this to database and reading it from there)

Regards
Kiran


  

[flexcoders] Blazeds on Godaddy

2009-12-09 Thread Flex Killer
Dear All,

( Not sure I am supposed to ask this question here or not , but in the end left 
with no option)

I am struggling to set up blazeds on my godaddy account . It totally stopped
all my work. Could somebody kindly look into this issue? 


I am using blazeds in my local environment and It is working fine ( Tomcast
as a server) . Context root is set to null. 


The same configuration I copied to godaddy server and could not able to get
it running. 


My directory structure in Godaddy account
/WEB-INF/flex
And if I try to hit the URL
http://mywebsite/messagebroker/amf' 
, I am getting page not found error .
 ( I am using godaddys shared linux java
supported hosting environment, After I set up the server was restarted around 5
times)
 Could somebody please look into this and help
me?

Regards
Kiran



  

[flexcoders] Re: TabNavigator changes page (html) title

2009-11-19 Thread Flex Boy
Yea I know, it's a bug in the historymangager(sdk 3.2), you have to set the 
pagetitle manual after pressing the tab..

work around:

private var browserManager:IBrowserManager;

private function initApp():void
{
browserManager = BrowserManager.getInstance();
browserManager.setTitle('your page title');
browserManager.addEventListener(BrowserChangeEvent.APPLICATION_URL_CHANGE, 
uRLChange);
}

private function uRLChange(event:BrowserChangeEvent):void
{
   browserManager.setTitle(browserManager.title);
}


--- In flexcoders@yahoogroups.com, "ynotob"  wrote:
>
> I've added a TabNavigator to a flex application.
> 
> The application is launched from html that is generated by a java server page 
> (main.jsp).  The generated html includes a html page title.  
> 
> Up until I added the TabNavigator to the application, the generated html page 
> title would display as expected when the flex application is run in the 
> browser.
> 
> Now that I've added a TabNavigator, the html page title shows as expected 
> until the flex application shows the TabNavigator.  Then the page title 
> changes to that of the jsp (main.jsp) along with the full url to main.jsp.
> 
> Any idea of how to stop the TabNavigator from changing my page title?
> 
> Tony
>




[flexcoders] Re: How to remove the horizon line which between the datagrid header and content

2009-11-17 Thread Flex Boy


--- In flexcoders@yahoogroups.com, "chinaloveshisiling"
 wrote:
>
> --
> |number(Header)|
> -- //I want to remove this line
> | 1 |
> ---
> | 2 |
> ---
>
> How to delete the top border of the the first row content.
>

The SkinClass



package

{

import flash.display.GradientType;



import mx.core.EdgeMetrics;

import mx.core.UIComponent;

import mx.skins.Border;

import mx.skins.halo.HaloColors;

import mx.styles.StyleManager;

import mx.utils.ColorUtil;



/**



* The skin for the background of a datagrid::headerBackgroundSkin.



*/



public class HeadSkin extends Border

{

// include "../../core/Version.as";

//–

//

// Class variables

//

//–



/**

* @private

*/



private static var cache:Object = {};

//–

//

// Class methods

//

//–



/**

* @private

* Several colors used for drawing are calculated from the base colors

* of the component (themeColor, borderColor and fillColors).

* Since these calculations can be a bit expensive,

* we calculate once per color set and cache the results.

*/



private static function
calcDerivedStyles(themeColor:uint,fillColor0:uint,fillColor1:uint):Objec\
t

{

var key:String = HaloColors.getCacheKey(themeColor,fillColor0,
fillColor1);

if (!cache[key])

{

var o:Object = cache[key] = {};

// Cross-component styles.

HaloColors.addHaloColors(o, themeColor, fillColor0, fillColor1);

}

return cache[key];

}



//–

//

// Constructor

//

//–



/**

* Constructor.

*/



public function HeadSkin()

{

super();

}



//–

//

// Overridden properties

//

//–

//———-

// borderMetrics

//———-



/**

* @private

* Storage for the borderMetrics property.

*/



private var _borderMetrics:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0);



/**

* @private

*/



override public function get borderMetrics():EdgeMetrics

{

return _borderMetrics;

}



//———-

// measuredWidth

//———-



/**

* @private

*/



override public function get measuredWidth():Number

{

return UIComponent.DEFAULT_MEASURED_MIN_WIDTH;

}



//———-

// measuredHeight

//———-



/**

* @private

*/



override public function get measuredHeight():Number

{

return UIComponent.DEFAULT_MEASURED_MIN_HEIGHT;

}



//–

//

// Overridden methods

//

//–



/**

* @private

*/



override protected function updateDisplayList(w:Number, h:Number):void

{

super.updateDisplayList(w, h);

// User-defined styles.

var bevel:Boolean = getStyle("bevel");

var borderColor:uint = getStyle("borderColor");

var cornerRadius:Number = getStyle("cornerRadius");

var fillAlphas:Array = getStyle("fillAlphas");

var fillColors:Array = getStyle("fillColors");

StyleManager.getColorNames(fillColors);

var themeColor:uint = getStyle("themeColor");



// Derivative styles.

var derStyles:Object = calcDerivedStyles(themeColor,
fillColors[0],fillColors[1]);

var borderColorDrk1:Number = ColorUtil.adjustBrightness2(borderColor,
-25);

var cr:Number = Math.max(0, cornerRadius);

var cr1:Number = Math.max(0, cornerRadius -1);

var upFillColors:Array = [ fillColors[0], fillColors[1] ];

var upFillAlphas:Array = [ fillAlphas[0], fillAlphas[1] ];

graphics.clear();



// button border/edge



//drawRoundRect(0,0,w,h,cr,[borderColor,borderColorDrk1],1,verticalGradi\
entMatrix(0,0,w,h),GradientType.LINEAR,
null,{x:1,y:1,w:w-2,h:h-2,r:cr1});





// button fill

drawRoundRect(1,1,w-2,h-2,cr1,upFillColors,
upFillAlphas,verticalGradientMatrix(1,1,w-2,h-2));





}



}

}



How to use it



[flexcoders] Pie Chart Single Slice - Label Function

2009-11-06 Thread Flex Killer
I just started learning flex and working on Pie Chart

This question may look silly , but I come across in my project . Following 
is flex code copied from 

http://blog.flexexamples.com/2008/09/26/setting-a-custom-label-functi... 

Problem :- XML collection ( id is "dp") has only one value and if you run 
this code the label is not getting displayed , But if you add two or more 
products the label function is working perfect . 

There is a bug raised for it and the URL is 

http://bugs.adobe.com/jira/browse/FLEXDMV-1569 

Fix is :- we need to modify PieSeries.as . I modified the file as per 
instructions and closed my Flex Builder 3 and modified the code and ran , 
But I still see the same problem . Any one come across this issue ? Please 
shed some light on this... 

Regards 


 

[flexcoders] LCDS + MD5 + PostGreSQL and JRun4

2009-10-13 Thread Flex Boy
Hi FlexCoders, This is probably not your thing to help me with, but just maybe 
someone have it in top of their head and can point me in the right direction on 
this.

Issue:

JRun 4 update 7 standalone server.
PostgreSQL 8.4 default install, with md5 crypt on password.
LCDS 2.6.1 with custom SQL assembler.

The problem, I'm using the JrunLoginCommand connected to the native PostgreSQL 
user role and role group.
This password is crypt with md5  , when I attempt to connect with LCSD 
Channels::Login over RTMP it don't work using plain text.
Then I figured out that I have to send the password in md5 format, did copy and 
paste the md5 string from PostgreSQL and pasted it into the password field in 
Flex app and it connected. I have looked at some MD5 encoders for AS3 but maybe 
I have to tweak it to be compatible with PostgreSQL  anyone have a Idea?

Here is the hash form password in PostgreSQL : secretpassword = 
md5b6b7afff2e118778d175c88f52098a3f

http://gsolofp.blogspot.com/2006/01/actionscript-3-md5-and-sha1.html
http://code.google.com/p/as3corelib/





[flexcoders] Re: Space in TextInput

2009-10-10 Thread Flex Boy
It works, definitely a better way to do it:)

--- In flexcoders@yahoogroups.com, Roman Protsiuk  wrote:
>
> Hi,
> 
> Take a look at the docs:
> http://livedocs.adobe.com/flex/3/langref/mx/controls/TextInput.html#restrict
> For your case the solution might look like:
> 
> 
> Roman Protsiuk
> Software Engineer/Engineering Team Lead
> 
> http://under.in.ua
> 
> Kyiv, Ukraine (GMT+2)
> mobile: +38 097 321 56 54 email:
> roman.prots...@...<%3C/span%3eroman.prots...@...>
>  skype: roman.protsiuk
> linkedin: http://www.linkedin.com/in/romanpv blogspot:
> http://roma-ch.blogspot.com
> 
> 
> On Sat, Oct 10, 2009 at 2:13 PM, Flex Boy  wrote:
> 
> >
> >
> >
> >
> > Hi mister..
> >
> > put all the characters taht are allowed in the restrict parameter
> >
> > if you use it as in Flex Doc. The following code allows the user to enter
> > only uppercase letters (and not numbers or special characters) in the text
> > field:
> > A-Z , so if you are only restriting the Space you have to put in the whole
> > alfabet and the numbers and special characters
> >
> > 
> >
> >
> > --- In flexcoders@yahoogroups.com , yogesh
> > patel  wrote:
> > >
> > > Hi,
> > > I have textInput ,i do not want to allow space in this textinput-
> > i dont want space,how to do this?
> > >
> > >
> > >
> > > Thanks & Regards,
> > > Yogesh Patel
> > >
> > >
> > >
> > > Connect more, do more and share more with Yahoo! India Mail. Learn more.
> > http://in.overview.mail.yahoo.com/
> > >
> >
> >  
> >
>




[flexcoders] Re: Space in TextInput

2009-10-10 Thread Flex Boy


Hi mister..

put all the characters taht are allowed in the restrict parameter

if you use it as in Flex Doc. The following code allows the user to enter only 
uppercase letters (and not numbers or special characters) in the text field:
 A-Z , so if you are only restriting the Space you have to put in the whole 
alfabet and the numbers and special characters


  

--- In flexcoders@yahoogroups.com, yogesh patel  wrote:
>
> Hi,
>     I have textInput ,i do not want to allow space in this textinput- i 
> dont want space,how to do this?
> 
> 
> 
> Thanks & Regards,
> Yogesh Patel
> 
> 
> 
>   Connect more, do more and share more with Yahoo! India Mail. Learn 
> more. http://in.overview.mail.yahoo.com/
>




[flexcoders] NFC (Near Field Communication) API in FlashPlayer 10.1

2009-10-08 Thread Flex Boy
Vote for this !!

http://bugs.adobe.com/jira/browse/FP-2909 




[flexcoders] Re: ToolTipManager problem

2009-09-25 Thread Flex Boy
Hi!  Use an itemRenderer, extend a lable and add a tooltip data field in your 
arraycollection and point the label.toolTip = data.tooltip;

--- In flexcoders@yahoogroups.com, "luketvanderfluit"  
wrote:
>
> Hi.
> 
> Here I have a component.
> 
> Problem is that itemRollOver, itemRollout and change doesnt always close the 
> tooltip. Then Im stuck with an open tooltip that can only be removed by 
> reloading the application...
> 
> I want to use ToolTipManager.hideDelay to automatically hide the tooltip 
> after 2 seconds but
> Putting ToolTipManager.hideDelay = 2000 in an init method doesnt do it...
>  
> Is there any other way I can get the tooltip to die after 2 seconds 
> regardless of what mouse movements take place...?
> 
> Thanks for any help...
> 
> Kr.
> Luke Vanderfluit
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml";
> openDuration="250"
> closeDuration="250"
> selectionDuration="250"
> fontSize="8"
> prompt="Risk Consequence"
> dataProvider="{rcAC}" itemRollOver="toolTipIn(event)"
> itemRollOut="toolTipOut(event)" 
> change="toolTipOut(event)">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>




Re: [flexcoders] Simple but impossible Hbox alignment issue

2009-02-01 Thread Flex Noob
ok so just to follow up its a bug IMO with Label.

I tired setting truncateToFit and no dice.

So i swapped out label for text and its hot.








I also tried a TextArea without setting truncateToFit and it worked too.

crap like this makes me glad I'm mostly an AS dev.




From: Flex Noob 
To: flexcoders@yahoogroups.com
Sent: Sunday, February 1, 2009 9:56:28 PM
Subject: [flexcoders] Simple but impossible Hbox alignment issue


This one is rather perplexing. If I use a label inside an hbox and if the text 
inside the label runs too long it pushed the button off the screen:







Doesn't Flex tell the label what is maxWidth should be so that doesn't 
happen




  

[flexcoders] Simple but impossible Hbox alignment issue

2009-02-01 Thread Flex Noob
This one is rather perplexing. If I use a label inside an hbox and if the text 
inside the label runs too long it pushed the button off the screen:







Doesn't Flex tell the label what is maxWidth should be so that doesn't 
happen



  

Re: [flexcoders] What is the different between NativeMenu and ContextMenu in AIR?

2008-12-18 Thread Cutter (Flex Related)
Wouldn't a NativeMenu be like a toolbar kind of menu, whereas a 
ContextMenu be more a right-click type of menu?

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of "Learning Ext JS"
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com

markflex2007 wrote:
> 
> 
> Hi,
> 
> I plan to build a menu system but I need understand the concept.
> Thanks
> 
> Mark
> 
> 



Re: [flexcoders] When the heck are states ready?

2008-12-16 Thread Flex Noob
ok answering my own questions again but anyone who liked to follow along. .  .

so yeah. on creationComplete DOES return after skins loaded. But because I was 
converting the skin to a MovieClip it would return null instead of yelling at 
me for wrong type etc (nice).

SO, then i convert to DisplayObject container and got a rad "hack" rocking:

var d:DisplayObjectContainer = this.getChildAt(0) as DisplayObjectContainer;
var mc:MovieClip = d["myMovieClip"] as MovieClip;

I can see this work by setting some prop:

mc.alpha = .5

BUT, I can't add any events to it. . . ??

I've tried setting enabled, mouseEnabled, etc to true but still doesn't 
propogate mouse events.

Anyone?





From: Flex Noob 
To: flexcoders@yahoogroups.com
Sent: Monday, December 15, 2008 11:46:19 PM
Subject: [flexcoders] When the heck are states ready?


I'm setting button states using embed swfs.

on click I know my button has 4 children:

upState
overState
downState
label

when checking for these children on creation complete: nadda.

I've tried listening for different events but nothing seems to fire.

As a hack I know i can set enterFrame event to check BUUUTTT. . . . 
REALLY I mean come on flex.






  

[flexcoders] When the heck are states ready?

2008-12-15 Thread Flex Noob
I'm setting button states using embed swfs.

on click I know my button has 4 children:

upState
overState
downState
label

when checking for these children on creation complete: nadda.

I've tried listening for different events but nothing seems to fire.

As a hack I know i can set enterFrame event to check BUUUTTT. . . . 
REALLY I mean come on flex.


  

Re: [flexcoders] how do you blur smoothly between two states?

2008-12-12 Thread Flex Noob
I know I'm answering my own questions but hope someone has gone down the same 
path as me, can tell if I'm overlooking something obvious or wants to learn 
from my mistakes. . . 

My previous idea didn't work thanks to 
transition>blur>BlurInstance>TweenInstance>Tween.endTween.

endTween sets the tween to whatever state it should be at in the final 
position. In this case whatever blurXTo and blurYTo is.

to work around I'm listening for an update event and reset the blur to the last 
known value after it gets set to the end value on effectEnd. HOWEVER, this 
causes a noticable flicker as the endTween state is briefly displayed because 
BlurInstance.onTweenEnd.calls the private setBlurMethod.

so it now seems that i need to override the endTween method in my own class to 
prevent the tween from setting its to values. Unless of course I'm missing 
something painfully simple.

?








____
From: Flex Noob 
To: flexcoders@yahoogroups.com
Sent: Friday, December 12, 2008 12:51:22 AM
Subject: Re: [flexcoders] how do you blur smoothly between two states?


just dug into the AS3 classes and it by default  fromX/fromY has a default 
value of 4 and in the BlurInstanceClass it doesn't save the current blurX/BlurY 
values. I could create an event that listens for the update, the only time the 
value are sent, but then that adds extra overhead for each update.

Instead what I'll do is call a function to iterate the filters list, grab 
blurX/blurY.

Just wished they would have exposed a blurX and blurY prop on the Blur the 
wiring is there, just failed to provide a stub.





From: Flex Noob 
To: flexcod...@yahoogro ups.com
Sent: Thursday, December 11, 2008 11:34:01 PM
Subject: [flexcoders] how do you blur smoothly between two states?


hrmm, I don't get it

Say I have this on rollover:



and this on roll out:


works, cool, rock on. however if I mouse off at say 500ms the blur JUMPs to the 
to value and then works it way back. kind of sucks.

I've tried ommiting blurfrom or setting the value to *, "" and even 
blurXFrom="{ blur.blurXFrom} " blurYFrom="{ blur.blurYFrom} "but no dice.

what gives?





  

Re: [flexcoders] how do you blur smoothly between two states?

2008-12-12 Thread Flex Noob
just dug into the AS3 classes and it by default  fromX/fromY has a default 
value of 4 and in the BlurInstanceClass it doesn't save the current blurX/BlurY 
values. I could create an event that listens for the update, the only time the 
value are sent, but then that adds extra overhead for each update.

Instead what I'll do is call a function to iterate the filters list, grab 
blurX/blurY.

Just wished they would have exposed a blurX and blurY prop on the Blur the 
wiring is there, just failed to provide a stub.




____
From: Flex Noob 
To: flexcoders@yahoogroups.com
Sent: Thursday, December 11, 2008 11:34:01 PM
Subject: [flexcoders] how do you blur smoothly between two states?


hrmm, I don't get it

Say I have this on rollover:



and this on roll out:


works, cool, rock on. however if I mouse off at say 500ms the blur JUMPs to the 
to value and then works it way back. kind of sucks.

I've tried ommiting blurfrom or setting the value to *, "" and even 
blurXFrom="{ blur.blurXFrom} " blurYFrom="{ blur.blurYFrom} "but no dice.

what gives?




  

[flexcoders] how do you blur smoothly between two states?

2008-12-11 Thread Flex Noob
hrmm, I don't get it

Say I have this on rollover:



and this on roll out:


works, cool, rock on. however if I mouse off at say 500ms the blur JUMPs to the 
to value and then works it way back. kind of sucks.

I've tried ommiting blurfrom or setting the value to *, "" and even 
blurXFrom="{blur.blurXFrom}" blurYFrom="{blur.blurYFrom}"but no dice.

what gives?



  

[flexcoders] MasterTextInput - Open Source

2008-10-16 Thread Juliano Mendes - Flex PE
Guys,

   I developed a component for Flex called MasterTextInput. Fully Open
Source project and created on Google Code.
The MasterTextInput extends from standard TextInput class with new
features and facilities implemented to help us in our day-to-day.

   Below the list of features already developed in this version v0.1:

== AUTO CASE TYPE TEXT == 
Desc: Convert the text automatically typed in lowercase or uppercase.
Property: capsType ()
Values:
 - normal: No case [DEFAULT]
 - lowercase: convert in Lower Case
 - upercase: convert in Uper Case
 - init: Convert the first letter of each word in Upercase.

== AUTO TAB ON KEY PRESS  ==
Desc: Automatically puts the focus on the next component when to pressed
the  key. Performs the same function  key.
Property: nextFocusOnEnter ()
Values:
 - True: Enable function [DEFAULT]
 - False: Disable function
Events:
 - EnterPressed: Shot by pressing the  key. It can be used
for customized implementations.

== AUTO RESTRICT ==
Desc: Restrictions on input of text already implemented.
Property: onlyRestrict ()
Values:
 - None: Do not place restrictions [DEFAULT]
 - Number: Accepts only numeric characters
 - Alphabetic: Accepts only text
 - AlphabeticNoSpecial: Accepts only text, but does not accept
special characters like: @ - / * & ...
Note: For customized restrictions continue using the property Restrict
().

== EMBEDED VALIDATORS ==
Desc: Embedded Validation. Will no longer be necessary to create
 for each field. Already there is the automatic validations
only setting a property of MasterTextInput. Validation of the messages
are automatically translated into Portuguese / English / Spanish without
the need for any kind of implementation.

Property: validator ()
Values:
 - none: No automatic validation [DEFAULT]
 - email: Validation of E-mail
 - phone: Validation of Phone Number
 - number: Validation of number
 - string: Validation of string
 - date: Validation of date
Remarks:
 - All specific properties to each validator also exists in
MasterTextInput. Eg. FormatInput validator to date, MaxValue for Number,
MaxLenght for String and so for all other properties patterns of
validators.
 - There is a public object called "currentValidator" he will always
point to the current validator of his MasterTextInput, so you can track
any changes of the validator dynamically, linking it to an Array for
grouped validation and any other function.
 - The properties Trigger () and triggerEvent () exist in
MasterTextInput in order to define when will be triggered the validation
of the field. The default is to quit when the focus of the component.

Property: ValidationLanguage ()
Desc: This property will be the language that will be displayed
Validators messages.
Values:
 - Portuguese: All messages are in Portuguese for validation.
[DEFAULT]
 - English: Messages of validation in English.
 - Spanish: Messages of validation in Spanish.
Remarks:
 - You can change the language dynamically just setting this
property by Action Script.

== CLEAR BUTTON ==
Desc: Will display a button with an "X" icon. When click the button, the
field will be cleared.
Property: showClearButton ()
Values:
 - True: Display button [DEFAULT]
 - False: Do not show button

== Deployments in progress for version v0.2:
* Auto formatters
- Format DATE
- Zip Format
- Format Phone
- Custom formatting: ###.###.##-##
* Undo and Redo 
* Prompt Label

I would ask those who are interested, make the download from the site of
the project.
Please tests and contribute with new ideas to be implemented.

Project website: http://code.google.com/p/mastertextinput/
My site: http://www.flexpernambuco.com.br/
suggestions to: [EMAIL PROTECTED]

I hope you enjoy!

Regards,

Juliano Mendes


[flexcoders] SOT: Apache and Windows resources

2008-10-13 Thread Cutter (Flex Related)
Trying to setup some Alias paths, within Apache, exposing resources 
available on a Storage Area Network. These are primarily media type 
resources (site.com/images, site.com/media, etc.)

When working with IIS, you set these up as Virtual Directories, and 
apply any user permissions within that directory's Properties. Access 
permissions are defined by a Domain Controller.

So, the question is, how do you cover the same directory authorization 
within an Apache configuration? I've done Aliases to UNC resources in 
the past, but never had to worry about the DC authorization before. 
Anyone have an idea as to how this authorization is configured?

-- 
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com



Re: [flexcoders] Custom Tooltip

2008-10-13 Thread Flex Gangsta
For what reason do you want to pass an object to it? That might clear  
up any confusion that I have

Sent from my iPhone

On Oct 13, 2008, at 8:42 AM, Manu Dhanda <[EMAIL PROTECTED]>  
wrote:

>
> I can always define a custom tooltip with a Panel, List or anything  
> in it.
>
> But the real issue is,
>
> How can I pass data to it(as an Object/Collection), other then just  
> text ???
>
> Any idea/thoughts??
>
> -Manu.
>
>
>
> Flex Gangsta wrote:
>>
>> Well, it all depends how you want it rendered... If you pass an array
>> collection... For what reason and how do you want it to render?
>>
>> Sent from my iPhone
>>
>> On Oct 13, 2008, at 5:09 AM, Manu Dhanda <[EMAIL PROTECTED]>
>> wrote:
>>
>>>
>>> Hii
>>>
>>> I was looking for a custom tooltip.
>>>
>>> Is there a way that I can pass an object to a tooltip rather then a
>>> String.
>>>
>>> Say, I want to pass an Arraycollection.. Is that possible??
>>>
>>> And if it is.. then how?
>>>
>>> Thanks.
>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Custom-Tooltip-tp19953678p19953678.html
>>> Sent from the FlexCoders mailing list archive at Nabble.com.
>>>
>>>
>>> 
>>>
>>> --
>>> 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
>>>
>>>
>>>
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Custom-Tooltip-tp19953678p19957337.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>
>
> 
>
> --
> 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] Custom Tooltip

2008-10-13 Thread Flex Gangsta
Well, it all depends how you want it rendered... If you pass an array  
collection... For what reason and how do you want it to render?

Sent from my iPhone

On Oct 13, 2008, at 5:09 AM, Manu Dhanda <[EMAIL PROTECTED]>  
wrote:

>
> Hii
>
> I was looking for a custom tooltip.
>
> Is there a way that I can pass an object to a tooltip rather then a  
> String.
>
> Say, I want to pass an Arraycollection.. Is that possible??
>
> And if it is.. then how?
>
> Thanks.
>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Custom-Tooltip-tp19953678p19953678.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>
>
> 
>
> --
> 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 / Data / Create Application from Database - Can this also work as a module?

2008-10-10 Thread Flex Gangsta
You could probably just wrap all the children of the mxml file(not  
application) in a mxml component. If I understood you correctly, this  
is the structure you wanted to achieve.

Sent from my iPhone

On Oct 10, 2008, at 8:41 AM, "sailorsea21" <[EMAIL PROTECTED]>  
wrote:

> Hi, I had a question,
> When I create an application from a Database (Flex / Data / Create
> Application from Database).
> Can I modify the code to convert it into a module?
>
> I have a main application that I would like to load the Database as a
> module. I tried replacing the  Tags to  but
> didn't work...
>
> 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] Interfaces WHY?

2008-10-10 Thread Flex Gangsta
Afaik interfaces give certain method signatures that must appear  
identical in the class that implements it. This is good for having  
hood organized code and multiple classes with sinmilar functionality.  
You can also do other things like like type an object to an interface.


Sent from my iPhone

On Oct 10, 2008, at 6:19 AM, "flexaustin" <[EMAIL PROTECTED]> wrote:


I was wondering if someone can explain why you would need an interface
so short?

INTERFACE:

package my.package.area
{
/**
* Interface for methods that evaluate an object and return a result.
*/
public interface IEval
{
/**
* Evaluates the input object
* @o the object to evaluate
* @return the computed result value
*/
function eval(o:Object=null):*;

} // end of interface IEval
}

USAGE OF INTERFACE:

if (value is IEval) { value = IEval(value).eval(o) };

Cairngorm has a short interface like this as well, though I cannot
remember what it is. In Cairngorm they say its for naming or to make
the code easier to understand? I am just not sure why you would do
this? Help me see the light!

TIA




Re: [flexcoders] Mouse Move Issue in Tree Control

2008-10-10 Thread Flex Gangsta

You can change it by creating a CSS file for the tree control.

Sent from my iPhone

On Oct 10, 2008, at 4:47 AM, "selvant_2005" <[EMAIL PROTECTED]>  
wrote:



Hi,
When i Move the Mouse Over the Tree Nodes by Default that Blue Colour
is Coming ,I dont Want that Colour,
If anybody Know How to change the clour

Plese Tell Me

Regards ,

T.Selvan




Re: [flexcoders] Flex 3 Layout of long form

2008-10-10 Thread Flex Gangsta
As far as the php goes... A good solution would be to use amfphp or  
some kind of remoting using RemoteObject. Simply great a method in  
your php and call it in your Flex app. To go even further you can  
create two identical classes, one in php and one in actionscript and  
have them become aliased objects, these are called vo's.


Sent from my iPhone

On Oct 10, 2008, at 4:54 AM, "Howard Fore" <[EMAIL PROTECTED]> wrote:

On Thu, Oct 9, 2008 at 11:46 PM, brucewhealton <[EMAIL PROTECTED] 
> wrote:

So, I'm wondering about some other ways of wrapping and presenting all
of this.
1) The form tag is required, is it not? And the FormItem tag? I know
there are other layout options but there must be these tags, or am I
mistaken?

Um, required for what? The form/formitem/formheading elements are  
AFAIK just there to give you some easy graphical structure for a  
form type screen. That's it.



2) Assuming that is true, then all the fields, labels, form elements
and the submit button must be inside the same Form tag, correct?

I think FormItem and FormHeading have to be in a Form but that's it.

3) If the form is long, how would I use either Accordion features, or
view states or something else to allow easier presentation of
different segments of the form? In other words, I don't want this
going on for 20+ items, including TextAreas, as that could be long.

Break the questions into logical groups, then put then in different  
sections of the accordion.


Lastly, would ColdFusion work better with this than PHP?

While I'm a ColdFusion programmer professionally, I'm certain that  
you can do what you want with PHP. I'm unclear of the methods  
available to PHP to pipe data back and forth (other than  
HTTPService, which would treat your PHP page as a webservice I  
think). There are some neat things that you can do with CF and the  
Flash Remoting capabilities that Adobe has built for it but I don't  
see that those would be requirements for what you've set out here.





--
Howard Fore, [EMAIL PROTECTED]
"The universe tends toward maximum irony. Don't push it." - Jeff  
Atwood




Re: [flexcoders] Flex, Coldfusion, Air

2008-10-10 Thread Flex Gangsta
Yes it's super easy, you don't even really have to do anything with  
your app. But take advantage of the fact that you are using AIR and  
pick up the api. There many cool classes and features available in AIR  
that you won't find in Flex

Sent from my iPhone

On Oct 10, 2008, at 5:14 AM, "stinasius" <[EMAIL PROTECTED]> wrote:


hi guys need to be clear about something, if a have developed a large
flex application with a coldfusion backend and database, can i turn it
into an Air app for guys to download so that when they are on the web
they can access data?




Re: [flexcoders] AMFPHP tutorial

2008-10-10 Thread Flex Gangsta

Also try www.polygeek.com
These are very easy to follow and makes amfphp really east to folow

Sent from my iPhone


On Oct 10, 2008, at 5:21 AM, yuku <[EMAIL PROTECTED]> wrote:


Maybe you can try this:

http://jonniespratley.com/2008/09/19/flex-and-amfphp-mini-cookbook/


On Fri, Oct 10, 2008 at 04:06, hworke <[EMAIL PROTECTED]> wrote:


  Hello all,

  where can I find some good AMHPHP tutorials.
  I will prefer some video tutorials. I tried
  on tv.adobe.com. But they do not have any.

  Best regards..




--
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] sending a text message from air/flex application

2008-08-01 Thread Flex Frenzy

Try the Ribbit API.

developer.ribbit.com
On Aug 1, 2008, at 6:22 PM, hworke wrote:




Sorry-- forgot to mention: I want to send the text
message to a cell phone from AIR/Flex Application

Thanks...







Re: [flexcoders] Adjacent mx:Label controls and spacing between them?

2008-07-30 Thread Flex Frenzy
Must be internal, you will see that -6 for most all of the rendered  
items.


Jeremy
On Jul 30, 2008, at 9:41 AM, Chris W. Rea wrote:


Hi Jeremy. Thanks! That did the trick. Brilliant - I hadn't thought
about a negative gap as I was thinking *inside* the box. :-) I
expected there would be a positive-valued property or style that I
would zero out. I'd love to know what that -6 is compensating for,
though. There is clearly additional padding for the rendering of the
Label that is not represented by paddingLeft, paddingRight... an
internal implementation detail?

Anyway, thank you!

Regards,

Chris W. Rea
[EMAIL PROTECTED]

On Wed, Jul 30, 2008 at 10:18 AM, Flex Frenzy  
<[EMAIL PROTECTED]> wrote:

> Hey Chris, welcome!
> The easiest solution would be to change the HBox spacing to -6,  
and add the

> spaces in the text, like so:
> 
> http://www.adobe.com/2006/mxml";  
layout="absolute">

> 
> 
> 
> 
> 
> 
> paddingRight="0"

> />
> 
> 
> 
> 
>
> On Jul 30, 2008, at 7:08 AM, Chris W. Rea wrote:
>
> Hi flexcoders. This is my first post, so hello! I'm relatively new
> to Flex, and I am using Flex Builder 3.
>
> I'm trying to lay out some text with Label controls, and this  
issue is

> confusing me. Basically, I want to display a string such as "The
> first number is 42 and the second number is 99." The numbers
> themselves vary and areto be conditionally styled. In fact, the
> values are to be controlled by two sliders, and I want an effect  
such

> that when the slider is dragged, the numbers change colour until the
> slider is released.
>
> I had originally laid out the text using a single mx:Label control  
and

> setting htmlText within the string to:
> 
>
> However, I'd like more control over the styling of those bound
> numbers, individually. So, I am attempting to factor the string into
> multiple Label controls (as in the snippet below.)
>
> However, I can't seem to get the space between the last number and  
the

> period to disappear. I thought by setting the HBox horizontalGap to
> zero and each Label's paddingLeft and paddingRight to zero that  
there

> should be no such space, but that's not the case. I imagine I am
> misunderstanding how the label widths are calculated and being
> rendered, and overlooking something obvious.
>
> So, is there a way to make the adjacent mx:Labels render similar to
> the single mx:Label above? Or, is there a better way to accomplish
> what I want as I described above? Thank you.
>
> --- 8< code follows 8< ---
>
> 
> http://www.adobe.com/2006/mxml";  
layout="absolute">

> 
> 
> 
> 
> 
> 
> paddingRight="0"

> />
> 
> 
> 
> 
>
> --- 8< end code 8< ---
>
> Regards,
>
> Chris W. Rea
> [EMAIL PROTECTED]
>
[...]






Re: [flexcoders] Adjacent mx:Label controls and spacing between them?

2008-07-30 Thread Flex Frenzy

Hey Chris, welcome!

The easiest solution would be to change the HBox spacing to -6, and  
add the spaces in the text, like so:



http://www.adobe.com/2006/mxml";  
layout="absolute">







paddingRight="0" />





On Jul 30, 2008, at 7:08 AM, Chris W. Rea wrote:


Hi flexcoders. This is my first post, so hello! I'm relatively new
to Flex, and I am using Flex Builder 3.

I'm trying to lay out some text with Label controls, and this issue is
confusing me. Basically, I want to display a string such as "The
first number is 42 and the second number is 99." The numbers
themselves vary and areto be conditionally styled. In fact, the
values are to be controlled by two sliders, and I want an effect such
that when the slider is dragged, the numbers change colour until the
slider is released.

I had originally laid out the text using a single mx:Label control and
setting htmlText within the string to:


However, I'd like more control over the styling of those bound
numbers, individually. So, I am attempting to factor the string into
multiple Label controls (as in the snippet below.)

However, I can't seem to get the space between the last number and the
period to disappear. I thought by setting the HBox horizontalGap to
zero and each Label's paddingLeft and paddingRight to zero that there
should be no such space, but that's not the case. I imagine I am
misunderstanding how the label widths are calculated and being
rendered, and overlooking something obvious.

So, is there a way to make the adjacent mx:Labels render similar to
the single mx:Label above? Or, is there a better way to accomplish
what I want as I described above? Thank you.

--- 8< code follows 8< ---


http://www.adobe.com/2006/mxml";  
layout="absolute">







paddingRight="0" />






--- 8< end code 8< ---

Regards,

Chris W. Rea
[EMAIL PROTECTED]






[flexcoders] Tweener and HTTPService conflict

2008-07-25 Thread Flex Frenzy
Hey everybody,

I am using the Tweener class for an animation that is going on toward  
the top of my flex application.

The problem is when I add an http service to grab data to populate the  
menubar at the bottom, it looks as if the application waits for the  
animation to be done before the menubar populates. I cannot figure out  
why this is happening. I have tried putting the menubar and http  
request in another swf, no luck.


Re: [flexcoders] How do I make a flex app transparent?

2008-07-22 Thread Flex Frenzy
You should be able to, as flash can by setting an attribute in the  
html I don't remember what it is at the moment

On Jul 22, 2008, at 9:40 AM, whatabrain wrote:

Is there a way to make a flex app transparent, and have its events  
pass

through to underlying javascript?

For example, there's a flex app that takes up the entire window. There
are a couple controls in one corner, but otherwise, you can see  
through

the app to the html page below. The html page contains a button, which
can be pressed, dispite the app on top of it.

Thanks







[flexcoders] How to extend AdvancedDatagrid to expose new events and properties?

2008-07-15 Thread pascal flex
Hi,

I need to extend AdvancedDatagrid to add new events and properties to it
using actionscript. How can i achieve this?

Thanks in advance.


[flexcoders] Passing value's from C to Actionscript?

2008-07-04 Thread Flex Frenzy
Any resources on passing values from C to Flex/Air?


Re: [flexcoders] Flex app only works on Windows?

2008-07-02 Thread Flex Frenzy

Hey Jason,

It is working fine here on Safari 3.1.1 in Leopard.

jeremy
On Jul 1, 2008, at 11:15 PM, Fidel Viegas wrote:


It is crashing my browser under Linux Ubuntu 7.0.4 + Firefox 2.0.0.14

Fidel.

On Tue, Jul 1, 2008 at 8:01 PM, jason_beloncik <[EMAIL PROTECTED] 
> wrote:

> Hi all, I built a Flex app which works fine on Windows machines, but
> on Macs and Linux it won't load. It shows the little "loading" box
> with the progress bar, then just goes to a blank screen. I  
originally

> thought there was some issue with the html wrapper or maybe the
> javascript but even when going directly to the .swf file, I see the
> exact same behaviour.
>
> I have searched all over but can't find anything that makes sense!
>
> Here is my app: www.wordrampage.com
>
> Thanks!
> JB
>
>






Re: Re Re: [flexcoders] THIS IS ABSOLUTELY NUTS

2008-07-02 Thread Flex Frenzy
Dan, you now have an idea of the sleepless nights i have encountered  
all because I did not clear my Safari's cache.

I'm glad you got it all worked out!

jeremy
On Jul 1, 2008, at 11:32 PM, Dan Pride wrote:


Ah but for the Hero's of the software world like Enjoy Jake !

I was explorer command keying rather than safari menu selecting to  
clear my browser cache.


To tired, too frustrated,... and then there it was after 20 years of  
professional software development... "The Flame".


Now I am back to enjoying this awesome product. Thanks.

But you gotta admit it,... WAS a pretty semi pro constrained flame eh?

:)
Dan Pride

--- On Tue, 7/1/08, Enjoy Jake <[EMAIL PROTECTED]> wrote:

> From: Enjoy Jake <[EMAIL PROTECTED]>
> Subject: Re: [flexcoders] THIS IS ABSOLUTELY NUTS
> To: flexcoders@yahoogroups.com
> Date: Tuesday, July 1, 2008, 3:07 PM
> Tracy, you rock.
>
> Dan, perhaps these suggestions are obvious, but ... when
> you "send it up the the net" check the timestamp
> on the file to make sure you're really sending it up
> the there. Also, try clearing your browser cache.
>
>
> - Original Message 
> From: Tracy Spratt <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, July 1, 2008 12:11:50 PM
> Subject: RE: [flexcoders] THIS IS ABSOLUTELY NUTS
>
>
> When you say, “send it
> up the the net”, exactly what do you mean?
> Tracy
>
>
> 
>
> From:[EMAIL PROTECTED] ups.com [mailto:
> [EMAIL PROTECTED] ups.com ] On Behalf Of Dan Pride
> Sent: Tuesday, July 01, 2008 2:06
> PM
> To: [EMAIL PROTECTED] ups.com
> Subject: [flexcoders] THIS IS
> ABSOLUTELY NUTS
>
> I have an application which will not compile, delivers
> no error code and simply gives me the last good app with no
> explanation
> whatsoever?? ?
>
> Who designed this thing and what were they thinking ?
>
> Clean app does nothing.
>
> No error code
>
> No way to get an error code.
>
> What does one do???
>
> I can develop fine, but when I go to export a release and
> send it up the the
> net, WITHOUT WARNING I JUST KEEP GETTING THE SAME OLD CRAP
> LIKE I NEVER DID
> ANYTHING.
>
> AGAIN NO WARNING
> GRR RR







Re: [flexcoders] THIS IS ABSOLUTELY NUTS

2008-07-01 Thread Flex Frenzy

Jake may be right dan, I always have problems with my browser cache.
On Jul 1, 2008, at 12:07 PM, Enjoy Jake wrote:



Tracy, you rock.

Dan, perhaps these suggestions are obvious, but ... when you "send  
it up the the net" check the timestamp on the file to make sure  
you're really sending it up the there. Also, try clearing your  
browser cache.


- Original Message 
From: Tracy Spratt <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 1, 2008 12:11:50 PM
Subject: RE: [flexcoders] THIS IS ABSOLUTELY NUTS


When you say, “send it up the the net”, exactly what do you mean?

Tracy


From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED]  
ups.com ]On Behalf Of Dan Pride

Sent: Tuesday, July 01, 2008 2:06 PM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] THIS IS ABSOLUTELY NUTS


I have an application which will not compile, delivers no error code  
and simply gives me the last good app with no explanation  
whatsoever?? ?


Who designed this thing and what were they thinking ?

Clean app does nothing.

No error code

No way to get an error code.

What does one do???

I can develop fine, but when I go to export a release and send it up  
the the net, WITHOUT WARNING I JUST KEEP GETTING THE SAME OLD CRAP  
LIKE I NEVER DID ANYTHING.


AGAIN NO WARNING
GRR RR









Re: [flexcoders] How to load an image using mx:Loader

2008-07-01 Thread Flex Frenzy
I'm not sure how much you know about Flex or Actionscript, so i  
decided to just give some example code:












In the first portion the image is defined in the mxml, note I defined  
and id property as well as source. I then use the id again in the  
actionscript. I used it in a function so a button could trigger that  
function and change the width of the image to 'desiredWidth' variable  
at runtime.


I hope this helps
On Jul 1, 2008, at 10:13 AM, Alex Harui wrote:



People generally use mx:Image to load jpgs.  Once loaded, and  
assuming you have domain permissions, you can manipulate the bitmap  
by accessing the mx:Image’s content property from AS3




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
On Behalf Of pankajtandon2003

Sent: Tuesday, July 01, 2008 5:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to load an image using mx:Loader



Hello folks,
I'm a newbie in flex-world!
I need to load a Bitmap (.jpg) file using Flex3.
Now I've read a bunch of code that describes how to do this using
ActionScript 3. But I'm not very sure how Flex 3 and AS3 interact.
I've got the Flex 3 Builder Eclipse Plugin and I was hoping I could
find an example of loading an image using the  tag. But
strangely I do not see many posts on this forum for this. Could it be
that this is the "wrong" way to load an image using Flex?

So, specifically, can someone:
1. Provide me with an example of using  to load a .jpg  
file.

2. Show me a simple example of how Flex3 tags and AS3 interact. For
example, if I wanted to build all UI components using Flex, but do all
Image manipulation using AS3.

Thanks in advance!

Pankaj








Re: [flexcoders] File uploading and passing string information

2008-07-01 Thread Flex Frenzy
You should be able to verify right in actionscript, but you will have  
to modify the php code to request the additional details from the  
server. It all depends what kind of authentication script you use  
though, you may not need to modify any php.

On Jun 30, 2008, at 2:44 PM, Sean Clark Hess wrote:

I usually just check the session to see if they are authenticated or  
not.



On Mon, Jun 30, 2008 at 1:48 PM, timgerr <[EMAIL PROTECTED]>  
wrote:

Hello all,
I am working on a file upload application and I have a few questions.
I want to upload a file and also send some string information to
varify user information. Can this be done? I am using the example
from
http://www.dgrigg.com/post.cfm/08/02/2007/Flex-and-Flash-file-uploading-with-return-data

Here is my code (that I took)


http://www.adobe.com/2006/mxml";
layout="absolute">










Thanks,
timgerr









Re: [flexcoders] File uploading and passing string information

2008-06-30 Thread Flex Frenzy
Yes, it can be done. But please explain further exactly what you want  
to verify. Text fields, match to sql db?

On Jun 30, 2008, at 12:48 PM, timgerr wrote:


Hello all,
I am working on a file upload application and I have a few questions.
I want to upload a file and also send some string information to
varify user information. Can this be done? I am using the example
from
http://www.dgrigg.com/post.cfm/08/02/2007/Flex-and-Flash-file-uploading-with-return-data

Here is my code (that I took)


http://www.adobe.com/2006/mxml";
layout="absolute">










Thanks,
timgerr







Re: [flexcoders] Re: How to access properties of symbols in loaded SWF?

2008-06-30 Thread Flex Frenzy

Correct me if I'm wrong, but wouldn't Degrafa be the best tool for that?

from ScaleNine.com/blog:
"Degrafa is not Adobe, but every project I work on gets Degrafa added  
to it. Why? Because bitmaps and static vector artwork can only go so  
far. I make 80-90% of my skins in Degrafa. This allows me to open up  
any properties of the graphics to CSS, which means one Degrafa Button  
skin to create an infinite number of variations versus making separate  
graphics for each variation. There’s things I can do with Degrafa that  
I can’t with bitmap or static vector graphics and with the the things  
planned for Degrafa Beta 3, it’s a no brainer."

On Jun 29, 2008, at 8:46 PM, daddyo_buckeye wrote:


Okay, let me re-phrase the question.

I have vector artwork created in Illustrator, imported into Flash as
symbols, and exported for actionscript. All the artwork is in a single
SWF file.

I can load the entire SWF, and I can load an individual symbol from
that SWF, but I'm trying to figure out if I can access and manipulate
the properties of the individual symbols.

Based on what I've found on the net, it appears that I'll have to load
each individual symbol and position them manually to access the
properties.

Any direction is greatly appreciated.







Re: [flexcoders] BlazeDS broadcast updates to others?

2008-06-19 Thread Cutter (Flex Related)
BlazeDS does not have true push (RTMP), it emulates push through 
polling. Basically your
update would push a message to a gateway, that then broadcasts that
message to a specific channel for BlazeDS, and the client's polling
would pick up that message from BlazeDS in it's next polling cycle
(think the default is 8 seconds, but that can be adjusted in the xml
config).

I don't have a demo, but Andy Matthews is doing a presentation to the
Nashville ColdFusion User Group next Thursday night (which will be
simulcast over Adobe Connect) that will show an application that does
this, and goes into some detail on the hows and whys. (www.ncfug.com
should post the Connect URL once it's closer to the preso)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

markflex2007 wrote:
> 
> 
> Hi,
> 
> I am not sure if BlazeDS have broadcast feature or not that means it
> broadcase to other clients when one person update something in the same
> Flex application.
> 
> Please give me a demo if you have the url or samples
> 
> Thanks a lot
> 
> Mark



Re: [flexcoders] SOT: BlazeDS, J2EE, ColdFusion, JBoss

2008-04-25 Thread Cutter (Flex Related)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.comI am a CF person, and CF8 is great for 
working with Flex 3 and BlazeDS. JRun is a full featured J2EE server, 
and integrating BlazeDS with CF8 is a snap.

You can use JBoss or Tomcat if you are more familiar with them, but the 
JRun install would be fine, with typically less learning curve. We 
followed these directions for integration, and have been running fine 
ever since:

http://blog.pengoworks.com/index.cfm/2007/12/13/Abobe-Labs-releases-BlazeDS--Remoting-and-Messaging-technology


Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Douglas McCarroll wrote:
> 
> 
> I'm not a CF person, but I can answer one part of this. While BlazeDS 
> comes with a "turnkey" Tomcat install, it is relatively simple to 
> install BlazeDS on an existing Tomcat install. I did this about a month 
> ago - I don't remember the details - I just read the instructions and it 
> was painless.
> 
> On Fri, Apr 25, 2008 at 5:15 AM, Giles Roadnight <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> Hi All
> 
> I am primarily a Flex developer but I have also worked with
> Coldfusion in the past and when building a non-Flex site this is the
> technology I use. I also use CFCs to communicate with Flex apps.
> 
> Having got used the the OO nature of flex working with CFCs is
> pretty annoying. Java also seems the way that most people develop
> back ends for Flex. The upshot is that I want to learn Java. I've
> already read through Head First Java which was a very quick and easy
> way of learning the basics.
> 
> I'm now onto Head First Servlets and JSP after which I'll move onto
> Head First EJB™.
> 
> I am wondering what the best development / production environment
> for me will be.
> 
> Am I correct in thinking that ColdFusion 8 (what I have installed on
> my production and development environment) is not a full spec J2EE
> server?
> 
> I still want to keep CF8 as I think the CFML is quicker and easier
> to write basic dynamic pages than JSP so I want a full J2EE server
> with CF and I want BlazeDS so my Java code can use AMF3 to talk to Flex.
> 
> What I think I need to do is Install JBoss and install CF on top of
> that then install BlazeDS. Is that correct? BlazeDS comes with
> tomcat so do I have 2 instances of tomcat running or does the JBoss
> tomcat just get overwritten?
> 
> Any advice much appreciated.
> 
> Thanks
> 
> -- 
> Giles Roadnight
> http://giles.roadnight.name <http://giles.roadnight.name/>
> 
> 
> 




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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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



Re: [flexcoders] Re: Is SWFObject ready for prime time?

2008-04-22 Thread Cutter (Flex Related)
We switched over to SWFObject (then FlashObject) when the EOLAS patent 
stuff first came out, and it worked fantastic. Until we began to use 
JQuery. Some things were fine, but any page that had a flash object, 
renedered via SWFObject, would not be able to use any functions of 
JQuery. Wait, let me fix that statement: would not be able to use any 
functions of JQuery **in Internet Explorer** (go figure). We saw 
something similar with a legacy SWFObject call interfering with us using 
Ext on the same page. This took a little time to discover, and even 
longer to figure out, but basically SWFObject breaks the DOM in IE. We 
found that this wasn't an issue when we used the js that Flash bundles 
in when you compile your Flash movie, so we wrote a wrapper and started 
using that instead. It's worked flawlessly ever since.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com



Re: [flexcoders] connection downtime in flex/blazeds?

2008-04-19 Thread Cutter (Flex Related)
We went through this recently with an HTML/AJAX based AIR app, utilizing 
the Flex/Ajax Bridge to communicate with blazeDS. We found a method in 
the Consumber obj that basically checked the connection and 
re-subscribed if the connection had been broken. The Flex/Ajax Bridge 
Consumer object is basically a JavaScript version of the AS3 class 
within Flex (same API, mostly), in fact we used the AS3 API docs to 
figure out it's usage (since the FAB is not well documented.)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

ibo wrote:
> 
> 
> Is there a way for a flex client to know that the connection got "cut 
> off" from a blazeds backend? (ie. server was restarted). i have a flex 
> grid that gets updated regularly (partial data, accumulates overtime) by 
> a backend service using pub/sub messaging.. but if the server gets 
> rebooted, the server should push the whole list of data (not partial). 



Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Cutter (Flex Related)
According to a talk that Ben Forta gave here in Nashville, not long 
before product launch, the AIR sandbox strictly prohibits access to 
other programs on a system.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com



Re: [flexcoders] Re: Announcement: Join us in a Flex-Related Focus Group

2008-03-31 Thread Cutter (Flex Related)
For those unfamiliar, Jeffrey has been extensively involved in the 
ColdFusion Community for years, contributing articles, writing blog 
posts, and helping out where ever he could. He has also proven himself 
as a rock solid Flex developer, and was recently added to the Flex group 
of Adobe Community Experts.

In other words, he's on the up-and-up. Don't judge him on the site 
design, he's a programmer/developer;)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

lytvynyuk wrote:
> 
> 
> Hm, sorry, but I don't like design of http://www.dot-com-it.com 
> <http://www.dot-com-it.com>
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>, 
> Jeffry Houser <[EMAIL PROTECTED]> wrote:
>  >
>  > Hi Everybody,
>  >
>  > Some of you may know me, but many probably not. I'm Jeffry Houser,
>  > producer of The Flex Show, a flex related podcast. I also run a
>  > DotComIt ( http://www.dot-com-it.com <http://www.dot-com-it.com> ), 
> an Adobe Solutions Partner
>  > specializing in Flex Development. DotComIt is working on a line of
>  > commercial Flex Components, and we'd like to get some feedback from the
>  > developer community. In order to do this, we will be conducting some
>  > focus groups over the course of the next few months and want to welcome
>  > all Flex developers to participate.
>  >
>  > * What is a focus group?* A focus group is a group of potential
>  > customers who are brought together to get their opinions, perceptions,
>  > and ideas that will help to shape the design, strategy, and
> direction of
>  > DotComIt's product development.
>  >
>  > *Why Participate in a DotComIt Flex Component Focus Group?*
>  >
>  > 1. Get $50 for your participation (paid via PayPal or iTunes).
>  > 2. An opportunity to provide your input, perspective, and opinion(s)
>  > about Flex and the use of components within Flex.
>  > 3. Hear the opinions and perspectives of other developers like
>  > yourself, first hand.
>  > 4. Make sure your needs and wants are heard and perhaps help shape
>  > DotComIt's component development road map.
>  >
>  > To be eligible, you'll just have to fill out a short survey at
>  > http://www.dot-com-it.com/survey. <http://www.dot-com-it.com/survey.> 
> We want to talk to developer's with
>  > all levels of experience, so no matter how much, or how little, you
> know
>  > about Flex we want to hear from you. The survey will close on Friday
>  > April 4th, and we will contact selected participants the following week
>  > to discuss specific details.
>  > **
>  > The focus groups are being conducted by a business development
> firm on
>  > DotComIt's behalf. So, for those that know me, you can participate w/o
>  > being fear of conflict of interests or upsetting me.
>  >
>  > Please feel free to pass this on to anyone who you think may be
>  > interested. Now back to your regularly schedule lists posts.
>  >
>  > --
>  > Jeffry Houser
>  > Flex, ColdFusion, AIR
>  > AIM: Reboog711 | Phone: 1-203-379-0773
>  > --
>  > Adobe Community Expert
> <http://www.adobe.com/communities/experts/members/JeffryHouser.html 
> <http://www.adobe.com/communities/experts/members/JeffryHouser.html>>
>  > My Company: <http://www.dot-com-it.com <http://www.dot-com-it.com>>
>  > My Podcast: <http://www.theflexshow.com <http://www.theflexshow.com>>
>  > My Blog: <http://www.jeffryhouser.com <http://www.jeffryhouser.com>>
>  >
> 
> 



Re: [flexcoders] AIR QnA

2008-03-04 Thread Cutter (Flex Related)
Last I checked, AIR operates in a bit of a sandbox. It allows file 
system access and whatnot, but it can't spawn OS native apps, etc. It's 
part of the built in security features. There may be some things you 
could do with the Merapi project, but I couldn't say for sure.

No, I doubt you can listen for OS events of that nature.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Joe wrote:
> 
> 
> Hey Guys,
> 
>   I spend most of my life in webbernet development. So I have a few 
> basic questions, that I am hoping to get some quick answers to.
> 
> I am going to be very blunt and say, I am not looking to make anything 
> lethal, my intentions are extremely for business purposes and improving 
> the work flow of my company.
> 
> Does Adobe air listen to system events. Such, if you are on a windows 
> PC. Can you listen for programs opening, and closing, saving and pretty 
> much anything that you would want to catch and do a process for. I know 
> that it would be possible on the .net framework, but then I would have 
> to make a program for macs too. (Adobe wins, yay :P)
> 
> If the answer is yes, can you please point me in the right direction to 
> how I can learn what I need to know about AIR.
> 
> Question 2:
> 
> Can I build addons to the adobe applications? If so, please point me in 
> the right direction.
> 
> -- 
> -Joe
> 
> 



[flexcoders] orkut - Invitation to join from devang Flex

2008-02-25 Thread devang Flex


You have been invited to join devang Flex's ([EMAIL PROTECTED]) 
network of friends at orkut.

To join orkut click on the following link:

http://www.orkut.com/Join.aspx?id=47C38FEE3F43784E

Having problems? If you get an error when you try to accept this 
invitation, you may need to copy and paste this URL into a new browser window.

* * *

orkut is a community of friends and trusted acquaintances that connects 
individuals through a social network that grows person by person.

With orkut, you can catch up with old friends, make new acquaintances 
through people you trust, and maybe even find that certain someone 
you've been looking for everywhere.

orkut helps you organize and attend events, join communities that share 
your interests, and find partners to participate in the activities you 
most enjoy.

* * *

If you're already an orkut member, make sure that the email address at 
which you received this note is entered into your orkut profile.  That 
way, you'll automatically be connected to all of your friends.

This invitation was sent on behalf of devang Flex ([EMAIL PROTECTED]).

You can block all orkut users from sending you email by visiting:

http://www.orkut.com/Block.aspx


Re: [flexcoders] Re: Why does my Tree Control Vertically scrolls on its own ?

2007-12-19 Thread Flex Consultant
 
  Hi Sean,
   
  I am a flex consultant
   
  Do you need a resource for flex project?
   
  Thanks
  Sam

helihobby <[EMAIL PROTECTED]> wrote:
  I was doing ...

DragManager.acceptDragDrop(target);

But why would this screw it up ?

Regards,

Sean.


--- In flexcoders@yahoogroups.com, "helihobby" wrote:
>
> It sure was ...
> 
> I did:
> 
> override protected function dragScroll():void {}
> 
> Which solved the problem ...
> 
> Thanks.
> 
> Any idea what it was being called ?
> My dropTarget was set on another canvas ...
> Can you explain ?
> 
> Thank you for all the help,
> 
> sean.
> 
> 
> --- In flexcoders@yahoogroups.com, "Alex Harui" wrote:
> >
> > That's probably the dragScroll kicking in. Is dropTarget=true?
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of helihobby
> > Sent: Wednesday, December 19, 2007 1:26 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Why does my Tree Control Vertically scrolls 
> on its
> > own ?
> > 
> > 
> > 
> > Hi All,
> > 
> > I have my mx:tree set to liveScrolling false and yet when I drag 
> items
> > out of the Tree the vertical scroll bar / tree scrolls down as if 
I 
> am
> > scrolling down ...
> > 
> > I wish for the tree to remain on its current scroll position ...
> > 
> > Is this a bug in Flex SDK 2.01 ?
> > 
> > Regards,
> > 
> > Sean.
> >
>




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





   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [flexcoders] Flex on a SmartPhone?

2007-03-29 Thread Cutter (Flex Related)
You would think that this should be possible, as a Flex app is basically 
a Flash file on the front end. The backend stuff wouldn't matter to the 
phone, other than the need for a data connection. You might check the 
dev center to see if anything has been mentioned there, or possibly drop 
an email to Christian Cantrell or Mike Nimer or one of the other guys up 
at a Adobe.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Tony wrote:
> 
> 
> hola peeps.
> 
> is it possible, or should i bark up another
> tree, to build small flex applications, that could
> run on a SmartPhone or PocketPC running Windows
> Mobile 5.0 and Flashlite 2.1
> 
> is there a way to convert a flex app's swfs into flashlite apps?
> 
> or am i simply crazy?
> 
> :) oh, and good morning all.
> 
> tw
> 
> 


Re: [flexcoders] Is anybody else getting duplicate messages?

2007-03-28 Thread Cutter (Flex Related)
Yes, quite a few times today

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Paul DeCoursey wrote:
> 
> 
> I've been getting 2 sometimes 3 copies of many messages. It's quite
> annoying and this is on top of an already high volume list.
> 
> 


Re: [flexcoders] space between MenuBar - menuitems

2007-03-28 Thread Cutter (Flex Related)
I don't remember the exact style attribute, but if you go in to the Flex 
Start Page of Flex Builder you will see a  link for the Style Editor, 
and I know that was one of the examples on there, giving you the 
complete attribute/value information you would need.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Vinoth Babu wrote:
> 
> 
> Hi All,
>  
> How to give a custom gap between two menuItems in a menubar component
>  
> For e.g.
>  
> Assume menubar contains File,Edit, View,... menuitems
>  
> I need to give custom gap between File and Edit
>  
> Thanks,
> Vinoth
> 
> 
> Expecting? Get great news right away with email Auto-Check. 
> <http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html>
> Try the Yahoo! Mail Beta. 
> <http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html>
>  
> 
> 


Re: [flexcoders] CF/Flex Wizard for CRUD CFCs - any tutorials out there?

2007-03-23 Thread Cutter (Flex Related)
Shawn,

I did a review of the RDS Plugins not long after FB was released. While 
it is a handy tool to get you 85%-90% of the way, it is limited in that 
it doesn't handle on the fly changes to db architecture, requiring you 
to re-run the wizard. Some people place their independent logic, 
additional queries, etc. in separate CFCs, extending those created by 
the wizard. In doing this you keep all of your code whenever you re-run 
the wizard. Others don't use the wizards at all, but will use an ORM 
framework, like Reactor, that will automatically rebuild objects on the 
fly whenever the architecture has changed (within development mode), in 
conjunction with ColdSpring's AOP capabilities for generating remote 
facade components for the remoting calls.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

shawn.gibson wrote:
> 
> 
> Hi Guys, I'm using the CF/Flex Wizard at this stage to build my
> database queries, and while it does a great job, if you massage it a
> bit, it still has a major problem in that it, if you are running
> multiple queries, and something goes wrong with one, you have to
> redo the entire Wizard, and I've had problems moving locations, with
> errors thereafter generated in the .as areas of the generated files.
> 
> The best answer seems to be a decent understanding of the CRUD CFC
> wizard, but the Adobe documentation, for all it's positive values,
> just doesn't have anything on using the CRUD wizard...nothing that
> goes from point A to point Z and shows you how to build a simple
> CRUD-Wizard-driven app in Flex. As in, create the CRUD CFC, use this
> code in your flex app, make a table with these attributes, point
> this to that...tag this TextArea or DataGrid with this data
> provider, use this method in a button when you click it to fire the
> whole thing off...that sort of thing. Of course I mean only at a
> simple level for all 4 actions (read, write, edit, delete).
> 
> Does anyone know of such an offering anywhere? I've looked as much
> as I can, not found anything yet.
> 
> If I can find a simple version that works front-to-back, I can learn
> the more advanced stuff from there, but trying to learn it all from
> scratch is always a very hard thing for me...
> 
> Shawn
> 
> 


Re: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Cutter (Flex Related)
This is outstanding, but I do wonder why you don't use Ray Camden's 
RIAForge (http://www.riaforge.org) to host a project of this nature, 
since it is specific to Adobe product extensions.

Cutter
_
http://blog.cutterscrossing.com

Doug McCune wrote:
> 
> 
> I'm pleased to announce FlexLib: a new open-source project for Flex 2
> components. This project is a Google Code hosted project, released
> under the MIT license. I've been working with Darron Schall, Mike
> Chambers and Ted Patrick to get the project up and running. We're
> hoping to build a concentrated community effort for custom Flex
> component development.
> 
> Have you been looking for a community project to contribute to? Do you
> have custom components you've been releasing on your blog? Want to
> brainstorm about new and improved components?
> 
> The project currently contains a handful of components that have been
> developed by me or Darron (including some new ones I haven't blogged
> about yet). We want to get the Flex developer community involved and
> have a central resource that will help us all build off each other's
> work. To get involved take a look at the project page on google code
> (link below) and read the HowToContribute wiki page.
> 
> For more information read through the project website, join the
> discussion group, and email me if you have more questions. If you want
> to contribute your code, drop us a line and we'll get you involved.
> 
> FlexLib project page: http://code.google.com/p/flexlib 
> <http://code.google.com/p/flexlib>
> 
> Announcement on my blog:
> http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-flex-component-library/
>  
> <http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-flex-component-library/>
> 
> Darron Schall's announcement: http://darronschall.com/weblog/ 
> <http://darronschall.com/weblog/>
> 
> 


[flexcoders] Flex and CF

2007-02-22 Thread Cutter (Flex Related)
Hello all. I am sure someone has covered this already, but I am new to 
the list so I figured I'd ask out right (in case someone has already 
blogged this or something, though I haven't found anything yet).

I have a remote multi-instance ColdFusion MX7 server in my dev 
environment. I can not install a server on my development desktop, 
though FlexBuilder accesses my server's wwwroot through a drive mapping. 
What do I need to do to my ColdFusion server in order to do local 
development?
-- 
Steve 'Cutter' Blades
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://blog.cutterscrossing.com

"The best way to predict the future is to help create it"


[flexcoders] EventDispatching - need a little help with this one

2006-11-27 Thread Patrick DJ Flex List Account
I'm using bubbling, or at least i think i am to capture an event... I've 
extended the event class to make my own event mechanism.  the events are being 
dispatched, however the problem is, that 
I'm adding an event listener to my custom mxml component to receive the events 
and nothing happens.  I've probably got something backwards...   Doesn't 
bubbling set to true allow the event
to be captured by any component in the order that they are created?


my code is as follows:

  var evt:MeEvent = new MeEvent(MeEvent.REMOTE,true);
dispatchEvent(evt);


---

package com.me
{
import flash.events.Event;

public class MeEvent extends Event
{

  
public static const REMOTE:String = "remote";

public var realTarget:*;

public function MeEvent(type:String, bubbles:Boolean=true, 
cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}
}

--
And inside my custom component this is the event listener. 

private function init():void{
this.addEventListener(MeEvent.REMOTE, handleEvent);
}


Thanks for your time,
Patrick

Re: [flexcoders] Re: Minimum size of a Flex 2.0 application

2006-11-07 Thread Flex Learner



By flash file generator, i meant that i use Flex Builder to layout all the controls (texboxes, images etc) , events , logic etc- since i'm comfortable with mxml (obviously, i'm not a legacy Flash developer) and the generated swf is hosted on a HTML page. There's no Flex server. Seems like core AS is the only way out.

On 11/6/06, bjorn.schultheiss <[EMAIL PROTECTED]> wrote:





120kb is about the smallest possible filesize for any flex app basedoff mx:Applicationthat figure will rise quickly though. 120kb is a 
flex app with nothingBjorn 
--- In flexcoders@yahoogroups.com, "Flex Learner" <
[EMAIL PROTECTED]> wrote:>> Hi,> > What's the lightest Flex 2.0 app we can get ? . An empty app withjust an> mx:Application tag weighs in at 120 KB. It'll be great if there are any
> compiler options we can use to minimize this further. I'm using Flexas a> Flash file generator that'll be embedded into a HTML page - and theentire> page weight must be around 200 to 300KB.> 
> Let me know if Flex-generated swf is a viable option for me.> > Thanks,> Joseph>
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Minimum size of a Flex 2.0 application

2006-11-06 Thread Flex Learner



Thanks for your responses. I tried optimize=true, but that does not reduce the size (remains at 120K). Robert, I did not understand your reply. I do want to use Flex with mx:application (or it's AS equivalent) as the root tag.

On 10/31/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:
On Tuesday 31 October 2006 00:06, Flex Learner wrote:> compiler options we can use to minimize this further. I'm using Flex as a
--optimize=true ?--Tom ChivertonHelping to competently foster eigth-generation contentThis 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.
CONFIDENTIALITYThis 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 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/<*> Your email settings:   Individual Email | Traditional
<*> To change settings online go to:   http://groups.yahoo.com/group/flexcoders/join   (Yahoo! ID required)<*> To change settings via email:
   mailto:[EMAIL PROTECTED]   mailto:[EMAIL PROTECTED]
<*> 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Changing mx:Application's width during runtime

2006-11-06 Thread Flex Learner



Hi All,
 
I've a similar requirement, but can we change the size of application using AS ? . Any ideas for changing the size of application when "modules" (Flex 2 Beta) are loaded . As observed, we can change the Flash size using js in the embedded HTML

 
Thanks
Joseph 
On 10/30/06, Igor Costa <[EMAIL PROTECTED]> wrote:





PilThe problem it's that Flex changed your Application width size at run time, but also, when you tested in the browser it's still at same time due to the HTML it's still with Application width fixed.
So, How to change that? Open your html-template base and change the _javascript_ in there, to 100%.Than, when you try again it will fix this issue. so, try to resize and it will happens the changes.
Regards.
On 10/29/06, pilby1 <[EMAIL PROTECTED]
> wrote: 





When I run my application where mx:Application's width is 640x480, by default, it shows a gradient blue square depicting those screen dimensions.I then try to dynamically change the width to 1024 in actionscript when 
a button is clicked. I had "trace"'d the application width after changing it, and it does say the width is now 1024, but the screen still shows 640x480. How can I make the application refresh to reflect 
this new change in width? I tried invalidateSize(), invalidateProperties, but neither works.Thanks.
-- Igor Costawww.igorcosta.com 
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Minimum size of a Flex 2.0 application

2006-10-30 Thread Flex Learner



Hi,
 
What's the lightest Flex 2.0 app we can get ? . An empty app with just an mx:Application tag weighs in at 120 KB. It'll be great if there are any compiler options we can use to minimize this further. I'm using Flex as a Flash file generator that'll be embedded into a HTML page - and the entire page weight must be around 200 to 300KB.

 
Let me know if Flex-generated swf is a viable option for me.
 
Thanks,
Joseph
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Stack Overflow in swf to swf include

2006-10-18 Thread Flex Learner



Thanks Pete. Adding makeObjectsBinadble="false" solved the problem. Yes, the service returns a simple XML generated from a cfm file.
   phone   
I'm curious  to know how this is related to the stack overflow. Does makeObjectsBinadble="false" restrict any functionality ? - since i need the included swf to communicate with the loader swf and also with the hosting HTML page (via some callback js fns).

-Joseph
 
On 10/18/06, Peter Farland <[EMAIL PROTECTED]> wrote:






I could reproduce your problem - I'll log a bug on your behalf.
 
Out of curiosity, does your HTTPService return XML? If so, any chance you could show us what the XML looks like? As a work around for now you could either set makeObjectsBinadble="false" on your HTTPService tag or set resultFormat="e4x" or resultFormat="text" (instead of the default, which is "object").

 
Thanks,
    Pete
 


From: [EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Flex LearnerSent: Tuesday, October 17, 2006 2:45 PMTo: [EMAIL PROTECTED]
ups.comSubject: [flexcoders] Stack Overflow in swf to swf include 




HI,
 
I'm trying to include an swf file (generated from FlexBuilder) within another swf file using . The included file is located on a different server, and the include works fine. Now, if a  is added to the included file, the call fails with the following exception. 

 
Error: Error #1023: Stack overflow occurred. at Object$/Object::_hasOwnProperty() at Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty() at Object$/Object::_hasOwnProperty().  at Object$/Object::_hasOwnProperty() is repeated many times. 

 
It appears like an infinite loop that's triggered internally and terminates with a stack overflow.
 
The mxml for the caller swf (located on www.abc.com) is as follows : 
==

http://www.adobe.com/2006/mxml
" layout="horizontal">   http://www.xyz.com/test/Loadee.swf
" x="300" y="350" showBusyCursor="true"/> 
mxml for the called swf (Loadee.swf) 
==
http://www.adobe.com/2006/mxml
" layout="horizontal" width="270" height="54"  creationComplete=" getState.send();"> 
 http://www.xyz.com/ServersideScript.do " id="getState" result="chgState()"/>
 


Any inputs here will be greatly helpful. 
Thanks,
Joseph


 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Stack Overflow in swf to swf include

2006-10-17 Thread Flex Learner



HI,
 
I'm trying to include an swf file (generated from FlexBuilder) within another swf file using . The included file is located on a different server, and the include works fine. Now, if a  is added to the included file, the call fails with the following exception.

 
Error: Error #1023: Stack overflow occurred. at Object$/Object::_hasOwnProperty() at Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty() at Object$/Object::_hasOwnProperty().  at Object$/Object::_hasOwnProperty() is repeated many times.

 
It appears like an infinite loop that's triggered internally and terminates with a stack overflow.
 
The mxml for the caller swf (located on www.abc.com) is as follows : 
==

http://www.adobe.com/2006/mxml" layout="horizontal">
  http://www.xyz.com/test/Loadee.swf" x="300" y="350" showBusyCursor="true"/> 

mxml for the called swf (Loadee.swf) 
==
http://www.adobe.com/2006/mxml" layout="horizontal" width="270" height="54"  creationComplete="
getState.send();">  http://www.xyz.com/ServersideScript.do
" id="getState" result="chgState()"/> 

Any inputs here will be greatly helpful. 
Thanks,
Joseph

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Including one swf file from another (crossdomain)

2006-10-16 Thread Flex Learner



Answering my own question..the solution was to add : 
 
Security.allowDomain("www.xyz.com"); in the loader file . But i'm now having other issues  when the include happens. 
On 10/11/06, Flex Learner <[EMAIL PROTECTED]> wrote:

Hi,
 
Can anyone please post an example of including an swf from another swf – where the 2 files are in different domains. 
 
The simplest way I could think is to have an 
www.xyz.com/a.swf" /> - but this gives a security issue   stating  : 
 
SecurityError: Error #2047: Security sandbox violation: parent: 
http://abc.com/abc.swf cannot access http://xyz.com/xyz.swf.
    at flash.display::DisplayObject/get parent()
    at mx.managers::SystemManager/::executeCallbacks() 
    at mx.managers::SystemManager/::frameEndHandler() 
 
I've http://xyz.com/
crossdomain.xml (and abc.com too - just trying my luck) as : 
 

     
 Any pointers will really be helpful, since i'm not able to figure what i'm missing conceptually. 
The scenario is to provide a lightweight swf to our clients, and have it call the main swf - which is hosted on our company domain - and the lite swf can handle timeout/retry etc.
Thanks!
Joseph
 
 
 
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: sprites in MXML

2006-10-14 Thread flex-guitar





Ah, 
that makes sense. Thanks!
 
fl, 
does this help you? You can always add a UIComponent in MXML
 
    
 
and 
then add Children to it...
 
Derek
 

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Daniel 
  FreimanSent: Tuesday, October 10, 2006 10:01 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: sprites in 
  MXML
  
  Containers require all children to be a UIComponent (or maybe it's 
  implement IUIComponent).  I think all other objects that can have 
  children require chlidren to be DisplayObjects.  So you can add a 
  DisplayObject as a child to a Sprite, UIComponent, 
  DisplayObjectContainer, etc.  I mostly work with Actionscript so I 
  don't know about puting Sprites in MXML, but if you can, the Sprite would need 
  to be the child of a UIComponent. - Dan
  On 10/10/06, flexlearner < 
  flexlearner@yahoo.co.in> wrote:
  No not in canvas 
only..My general question is if at all we have to use sprites in our 
mxmlfile..how should we do it.. what will the 
approachRegards,fl--- In [EMAIL PROTECTED]ups.com, "flex-guitar" 
<[EMAIL PROTECTED]> wrote:>> I've had trouble with this as well. 
I ended up putting aUIComponent in the> Canvas and adding 
children to it instead of to the Canvas. >> I don't know why 
Canvas throws an error, since it is a subclass of> UIComponent, but 
it does.>> HTH,> Derek>>   
-Original Message->   From: [EMAIL PROTECTED]ups.com[mailto:[EMAIL PROTECTED]ups.com]On> Behalf Of 
newLearner learner >   Sent: Tuesday, October 10, 2006 8:10 
AM>   To: [EMAIL PROTECTED]ups.com>   
Subject: [flexcoders] sprites in 
MXML>>>>   Hello ,>   
I have a very basic question>   Please can somebody tell me 
how should I use sprites in my mxmlfile>   i get errors 
everytime i try to something 
like:>>Canvas_instance.addChild(spriteInstace)>>   
Please tell me the way out>>>> 
 
> -->   Find out what India is talking 
about on - Yahoo! Answers India>   Send FREE SMS to your 
friend's mobile from Yahoo! MessengerVersion 8. Get> it 
NOW>>> >   __ NOD32 1.1796 
(20061010) Information __>>   This message 
was checked by NOD32 antivirus system.>   http://www.eset.com>--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search 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/<*> 
Your email settings:Individual Email | 
Traditional<*> To change settings online go 
to: 
http://groups.yahoo.com/group/flexcoders/join(Yahoo! 
ID required)<*> To change settings via 
email:mailto: 
flexcoders-digest@yahoogroups.com 
mailto:flexcoders-fullfeat[EMAIL PROTECTED].com<*> 
To unsubscribe from this group, send an email to: 
 
flexcoders-unsubscr[EMAIL PROTECTED]com<*> Your 
use of Yahoo! Groups is subject to: 
http://docs.yahoo.com/info/terms/
  __ NOD32 1.1796 (20061010) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Including one swf file from another (crossdomain)

2006-10-11 Thread Flex Learner



Hi,
 
Can anyone please post an example of including an swf from another swf – where the 2 files are in different domains. 

 
The simplest way I could think is to have an  - but this gives a security issue
  stating  : 
 
SecurityError: Error #2047: Security sandbox violation: parent: http://abc.com/abc.swf
 cannot access http://xyz.com/xyz.swf.
    at flash.display::DisplayObject/get parent()
    at mx.managers::SystemManager/::executeCallbacks()

    at mx.managers::SystemManager/::frameEndHandler()

 
I've http://xyz.com/crossdomain.xml (and 
abc.com too - just trying my luck) as : 
 

    

 Any pointers will really be helpful, since i'm not able to figure what i'm missing conceptually. 
The scenario is to provide a lightweight swf to our clients, and have it call the main swf - which is hosted on our company domain - and the lite swf can handle timeout/retry etc.
Thanks!
Joseph
 
 
 
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] sprites in MXML

2006-10-10 Thread flex-guitar





I've 
had trouble with this as well. I ended up putting a UIComponent in the Canvas 
and adding children to it instead of to the Canvas.
 
I don't know why Canvas throws an error, 
since it is a subclass of UIComponent, but it does.
 
HTH,
Derek
 

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of newLearner 
  learnerSent: Tuesday, October 10, 2006 8:10 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] sprites in 
  MXML
  
  
  Hello ,
  I have a very basic question
  Please can somebody tell me how should I use sprites in my mxmlfile
  i get errors everytime i try to something like:
   
   Canvas_instance.addChild(spriteInstace)
   
  Please tell me the way out
  Regards
  Mayur
  
  
  Find out what India is talking about on - Yahoo! 
  Answers India Send FREE SMS to your friend's mobile from Yahoo! 
  Messenger Version 8. Get 
  it NOW
  __ NOD32 1.1796 (20061010) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] rowCount = {dataProvider.length}

2006-10-01 Thread flex-guitar





Thanks 
Benoit,
That 
is better than entering the dataProvider twice. I'm being nitpicky, but I'd 
rather have a self-reference - so that I don't have to change either the id or 
the dataProvider string twice if I reuse or change the code. Something like 
event.target for events.
 
But id 
is less likely to change than the dataProvider, so this is a step in the right 
direction.
 
Thanks 
for the suggestion,
Derek
 
 

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Benoit 
  HediardSent: Friday, September 29, 2006 10:31 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] rowCount = 
  {dataProvider.length}
  
  You can do it like this: dataProvider="{myDataProvider}"rowCount="{myCombo.dataProvider.length}"/>Benoit 
  Hediard-Message d'origine-De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  De lapart de flex-guitarEnvoyé : vendredi 29 septembre 2006 15:57À 
  : [EMAIL PROTECTED]ups.comObjet 
  : [flexcoders] rowCount = {dataProvider.length}Hello 
  everyone,I'm trying to set several ComboBoxs to show their dropdown 
  withoutscrolling. There are a few posts in the archive suggesting to set 
  therowCount to the dataProvider.length :"{MyDataProvider}"rowCount="{dataProvider.length}"/>but 
  I get an compile error ("undefined property 'dataProvider'")This 
  makes sense, since dataProvider isn't a property of my app, just ofthis 
  component. But I'd rather not type in the dataProvider name again, 
  I'drather reference it. Do components have a self-reference that can be 
  used intheir own bindlings? i.e.:rowCount 
  ="{thisCompont.dataProvider.length}"or do I have set each 
  one 
  directly:rowCount="{MyDataProvider.length}"Thanks,Derek--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links__ NOD32 1.1783 (20060929) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



  1   2   >