Re: [flexcoders] What happened to the Flex Style Explorer? [1 Attachment]

2013-02-13 Thread Tandon, Rishi
PFA is the Flex 3 style explorer build for desktop.

Cheers!
Rishi



 From: Dave Glasser dglas...@pobox.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, February 14, 2013 1:09 AM
Subject: [flexcoders] What happened to the Flex Style Explorer?
 

  
The old Flex Style Explorer seems to be gone from the web. Does anyone know 
where any copies (or the source) might exist?


 

Re: [flexcoders] FLEX with Maven

2013-02-05 Thread Tandon, Rishi
You want to TRY the FLEX MOJOS.
I have used in some Flex project.
Do check with the flex sdk versioning.

http://code.google.com/p/flex-mojos/


Regards,
Rishi



 From: faizal_ac faizal...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, February 5, 2013 8:06 PM
Subject: [flexcoders] FLEX with Maven
 

  
Hi Everyone,

I currently have a fairly complex flex project, that I build(generate swf's) 
using Flash Builder. I have been asked to now generate these swf files using 
maven. Has anyone done this before? I would really appreciate some guidance.

Thanks
Faizal


 

[flexcoders] Flex Capabilities Snapshot [1 Attachment]

2012-10-15 Thread Tandon, Rishi
Dear Fellow FlexCoders,

Just want to share a QUICK SNAPSHOT of Flex Capabilities for sales and 
potential customer.

Regards,
Rishi Tandon


Re: [flexcoders] Line Chart like Task Manager

2012-02-15 Thread Tandon, Rishi
Geoff, you can  check the Stock chart from amcharts
http://flex.amcharts.com/examples/stock_chart_example 


Regards,
Rishi Tandon



 From: gtb104 gtb...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 15, 2012 8:30 PM
Subject: [flexcoders] Line Chart like Task Manager
 

  
I'm looking to make a line chart that looks similar to Windows Task Manager 
(data comes in from right to left for a fixed period of time).  Looking at the 
API, it doesn't appear that the LineChart natively supports that, and I 
couldn't find any 3rd party libraries that already do that.  Does anyone have 
any ideas?

Thanks,
Geoff


 

[flexcoders] The Official Apache Flex LinkedIn group

2012-02-14 Thread Tandon, Rishi
Join the group @
http://www.linkedin.com/groups/Apache-Flex-Official-4296888 


Cheers

Re: [flexcoders] Advantages and Disadvantages of skinning

2012-02-10 Thread Tandon, Rishi
The basic reason to add skins in Flex 4 is to increase the performance and load 
time of flex based application. It removes the numerous extra properties from 
the mx object which could be added as per the UI demand.
Skinning provides more flexible to the UI controls and components [such as side 
rounded button, triangle button, circular button, and more]
There is no end to your imagination while using skinning, but whereas for MX 
control, we have to abide as per the API specification.
As well as it provided clear line b/w flex developer and designer and a 
designer can create customized FXG using Catalyst.
As mentioned by Jerry, the learning curve is complex initially but once you get 
the grip, you will love to use it in your application.

Regards,
Rishi Tandon



 From: Davidson, Jerry jerry.david...@illinois.gov
To: flexcoders@yahoogroups.com 
Sent: Thursday, February 9, 2012 10:37 PM
Subject: RE: [flexcoders] Advantages and Disadvantages of skinning
 

  
I think the skinning allows the components to be lighter. 
But it makes everything a lot more complex.
 
A month ago I started a thread on what the pieces in a skin mean
and not one person was able to respond so there seems to be a learning curve at
work.
 
From:flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Myadi H
Sent: Wednesday, February 08, 2012 10:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Advantages and Disadvantages of skinning
 
  
Hello folks,

Today I have been asked to explain advantages and disadvantages of skinning in
flex. I thought of asking this to all experienced flexers, and here it is.

I hope this discussion will help everybody in future. So please input/share
your knowledge.

Thank you.
 

Re: [flexcoders] Multiple service calls in Flex Application?

2012-02-09 Thread Tandon, Rishi
Hi Mark,
The service calls (I am assuming RMI) are asynchronous and you can make as many 
as RMI (HTTP, Web Service, Remote Class) in an flex application. You can also 
use some framework to chain concurrent calls in flex.

Try Chaining API of SWIZ 
(http://swizframework.jira.com/wiki/display/SWIZ/Chaining+API)
pureMVC - Chaining Utility (http://forums.puremvc.org/index.php?topic=422.0)

Regards,
Rishi



 From: markflex2007 markflex2...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Friday, February 10, 2012 1:07 AM
Subject: [flexcoders] Multiple service calls in Flex Application?
 

  
Hi,

I want to make sure if Flex can support many service calls at same time. what 
will happen if I make make service calls at same time in Flex code.

Thanks

Mark


 

Re: [flexcoders] Flex 3 - 4 migration and s:States

2012-02-07 Thread Tandon, Rishi
Well I tried your code in flex sdk 4.6 and could not include mx:states as it 
is deprecated.
But replacing ms:states with s:states works like a butter.
Please refer to the code below:

?xml version=1.0 encoding=utf-8?
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009 
   xmlns:s=library://ns.adobe.com/flex/spark 
   xmlns:mx=library://ns.adobe.com/flex/mx
fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here --
/fx:Declarations
s:states
s:State id=sparkState1 name=sparkState1 /
s:State id=sparkState2 name=sparkState2 /
/s:states
mx:Button includeIn=sparkState1 label=MX Component /
mx:Button includeIn=sparkState2 label=MX Component 2 /
/s:Application

Flex 3 states can be used with spark component
Please refer to the attach blog: http://blog.benstucki.net/?p=56

Regards,
Rishi Tandon





 From: bu4fred fred.se...@adventistcare.org
To: flexcoders@yahoogroups.com 
Sent: Tuesday, February 7, 2012 12:39 AM
Subject: [flexcoders] Flex 3 - 4 migration and s:States
 

  
I'm migrating a flex 3.0 application to 4.0 (or 4.5, doesn't matter much) and I 
want to use the new state features of includeIn and excludeFrom.  I have a user 
defined base class in mxml and i inherit from that for my 'working' classes.  I 
have this code in my baseclass

mx:TitleWindow xmlns:fx=http://ns.adobe.com/mxml/2009; 
xmlns:s=library://ns.adobe.com/flex/spark 
xmlns:mx=library://ns.adobe.com/flex/mx
xmlns:com=components.* 
currentState=Oct2010

mx:states
s:State id=Oct2010 name=Oct2010/
s:State name=Oct2011/
s:State name=Apr2012/
/mx:states
. . .

- working class contains -
mx:FormItem  includeIn=Apr2012
... 
/mx:FormItem
 and the error is 

State 'Apr2012' was referenced without being declared.  A.mxml  line 66 
/MdsClientBeta1/src/sectionsFlex Problem

--- comments 
I tried s:states rather than mx:states but it could not resolve name
Must s:states be used only in s: components or can they be used in mx 
components?


 

Re: [flexcoders] TileLayout for DataGrid [1 Attachment]

2012-02-02 Thread Tandon, Rishi
Jeff, What do you mean by toggle b/w vertical  tile layout w.r.t. Data Grid?
Spark's datagrid uses spark.components.gridClasses.GridLayout which is 
a virtual two dimensional layout for the Grid class and is not a general 
purpose layout, it's only intended to be use with Grid.

Anyhow if you want to change a layout for an application at run time, then you 
can refer to the attached POC.

Regards,
Rishi Tandon






 From: jbarts jbarts1...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 1, 2012 8:17 PM
Subject: [flexcoders] TileLayout for DataGrid
 

  
I have a need to toggle between a vertical layout and a tile layout in a 
datagrid.  Has anyone experimented this?  Any ideas on how to approach this?

Jeff


 

Re: [flexcoders] spark DataGrid

2012-02-02 Thread Tandon, Rishi
http://stackoverflow.com/questions/5900231/flex-4-5-hero-sdatagrid-rowcount 




 From: Wouter Schreuders wschreud...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 1, 2012 6:05 PM
Subject: [flexcoders] spark DataGrid
 

  
Hi All

Does anyone know how I can get the actual number of visible rows for a spark 
datagrid similar to the mx datagrid which had the handy feature rowCount. 

Basically I want my last itemrenderer to do something different if it's the 
last itemrenderer. I thought I had this licked with the code:

if(rowIndex == dataProvider.length) 

since I don't have a scrollbar and display all itemrenderers at once in the 
datagrid I thought that the dataprovider's length and the total number of rows 
would work, but this is not the case, sometimes there are 1 or 2 more 
itemrenderers than displayed?

 

Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused.

2012-01-31 Thread Tandon, Rishi
Never mind Srinivas, the flex development should go on and I always wish more 
UI developer join the force.
:)



 From: Srinivas Sandur Madhu Murthy s.m.srini...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 31, 2012 12:47 PM
Subject: Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 
- confused.
 

  
Rishi Tandon, Chill Bro, again you are proving me that you don't read your 
emails completely :)!!.  By the way as you said it's free forum, so I thought I 
can freely suggest someone  I did it for you! hope you understand. 

I guess this 4th time I have seen you suggesting something else where as the 
problem was something else  I have also seen that you have come back and gave 
proper answer later too. 

If you read my email properly I was just suggesting you read-up entire email so 
that you understand the problem and help more people!!! I never intended to be 
RUDE or HURT your ego!.. it's just suggestion, once again I honestly believe, 
if you read your emails completely, you will be more helpful to 
community!!:) :)

On Jan 30, 2012, at 10:43 PM, Tandon, Rishi wrote:

  


Srinivas, don't say other to do WHAT if they are following the basic 
Netiquette?
These are the following reason why you can't give tongue to community member:
1. You are not authorized as I think you are not the admin of the group.
2. I am not getting paid to deliver the solution.
3. This is a free forum and you are free to post solution or your opinion.
4. I love to debug the code and specify the exact solution if I am aware of.


Dan, 
To be more specfic, please refer to the attach IntegratedEncoder.FXP project 
where I have merged your controller logic into a single MXML file as the basic 
rule to create a flex application is to have only one Applicatin container as 
root.


About the Application container
The first tag in an MXML application is either the s:Application tag for the 
Spark application container, or the mx:Application
tag for an MX application container. The application container then becomes 
the default container for any content that you add to your application.


In IntegratedEncoder.mxml, the s:Application is the root tag, whereas 
IntegratedEncoderController.as is extending the mx: Application.


Regards,
Rishi Tandon




 From: Srinivas Sandur Madhu Murthy s.m.srini...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 31, 2012 10:08 AM
Subject: Re: [flexcoders] Moving my command-line development to 
FlashBuilder4.6 - confused.
 

  
Rishi,


Please read the complete email before you ask for something. I understand you 
like to help, but please read-up completely, understand problem  then ask for 
things to help more.


Dan,


Whether you use Command-line or Flex Builder it doesn't matter, you always 
will try to compile 1 application in entire project, unless you have two or 
more applications in the project. Correct me if I am wrong, as my 
understanding goes you have EncoderController.as file which has class 
definition for EncoderController class which extends I guess from 
Application/Sprite. I guess this is the reason your project's main mxml file 
has root node as local:EncoderController./. Now if you are using Flex 
Builder, normally the main application mxml file which Flex Builder Template 
creates has root node as s:Application. In your case, after that mxml is 
created all you need to do just replace that default auto generated code by 
your old mxml contents  include EncoderController.as in the src directory, 
which should work fine for you.


FX:Script tag is used in mxml to just include AS scripts which doesn't have 
class definitions. Normally these AS files would have methods, variables etc 
required or used in MXML file. I hope you know that any MXML file can use 
fx:script tag and write the AS scripts stuff required in that particular MXML. 
Treat this MXML+AS script as class.


The reason why you getting error in first place is, the MXML file which you 
have is extending from spark::Application [hence root tag as s:Application]  
included AS file has definition of a class which also extends from 
spark:Application.


Writing code and compiling with SDK using compile time shouldn't be different 
from using Flex Builder. In-fact it gives more flexibility  user 
friendliness. Please read-up more on using Flex Builder, should help you 
convert your application more easily.


Let me know if you need more help.


Thanks
Srinivas

On Jan 30, 2012, at 4:11 AM, Tandon, Rishi wrote:

  


Dan, send over your mxml and as file here.
There could be many reasons for the exception:
1. Compatible with the sdk. Try to change to flex sdk 3.2 or 3.6
2. Namespace inclusion.
In you code, the namespace is pointed to http://www.adobe.com/2006/mxml;
Whereas, in sdk 4 onwards, we are using three namespace:
 xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark

Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused.

2012-01-30 Thread Tandon, Rishi
Dan, send over your mxml and as file here.
There could be many reasons for the exception:
1. Compatible with the sdk. Try to change to flex sdk 3.2 or 3.6
2. Namespace inclusion.
In you code, the namespace is pointed to http://www.adobe.com/2006/mxml;
Whereas, in sdk 4 onwards, we are using three namespace:
 xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 xmlns:mx=library://ns.adobe.com/flex/mx 



Regards,
Rishi Tandon




 From: Dan M d...@streemit.net
To: flexcoders@yahoogroups.com 
Sent: Saturday, January 28, 2012 12:54 AM
Subject: [flexcoders] Moving my command-line development to FlashBuilder4.6 - 
confused.
 

  
I downloaded and installed the Mac version of Flash Builder 4.6. There 
is enough development work yet to be done on my project I figured that 
having an IDE to work in might make life easier.

The project was originally written as an mxml file (Encoder.mxml) and an 
ActionScript file (EncoderController.as). The mxml file refers to the 
ActionScript file by starting out with :
local:EncoderController xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
xmlns:local=*
height=800 width=800
backgroundColor=#FF
backgroundAlpha=0

On the Mac I selected New then Flex Project and named the project 
IntegratedEncoder. That got me an mxml file. I then copied the .as 
file over from my other working environment, renamed it 
IntegratedEncoderController.as, changed the class name appropriately, 
and modified the new mxml file Flash Builder made for me to include 
fx:Script source=IntegratedEncoderController.as /

When I save the file the editor windows for 
IntegratedEncoderController.as shows an error on the line in which I 
import flash.media.Camera. The line with the error and the lines 
surrounding it are:

import flash.display.*;
import flash.events.MouseEvent;
import flash.events.NetStatusEvent;
import flash.external.ExternalInterface;
--import flash.media.Camera; ---
import flash.media.Microphone;
import flash.media.Video;
import flash.net.navigateToURL;
import flash.net.NetConnection;

The indicate line is the one with the error messages. The error messages 
associated with it are:
1084: Syntax error: expecting identifier before leftbrace
1131: Classes must not be nested

I also get an error indicated in when I declare a variable of type Camera:
private var camera:Camera;
The error message associated with this line is another occurence of
1131: Classes must not be nested

I've also got some other error messages, indicated in the editor with 
yellow question marks. In the constructor for the class:
public function EncoderController()
{
---addEventListener(FlexEvent.APPLICATION_COMPLETE,mainInit); ---
}
the indicated line is marked with Call to a possibly undefined method 
addEventListener.

In the mainInit method, I then have two lines:
stage.align = TL;
stage.scaleMode = noScale;
both marked with Access of undefined property stage

The code I copied over from my other machine compiles just fine using 
the SDK and it runs fine. Why is Flash Builder giving these errors? It 
looks like it is having problems importing flash.media.Camera and 
appears confused by addEventListener. Have I done something with my 
project setup that is screwing with Flash Builder? I'm thinking I'd like 
to be able to do the rest of this project development in FB, but this 
isn't looking very promising so far.


 

Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused. [1 Attachment]

2012-01-30 Thread Tandon, Rishi
Srinivas, don't say other to do WHAT if they are following the basic Netiquette?
These are the following reason why you can't give tongue to community member:
1. You are not authorized as I think you are not the admin of the group.
2. I am not getting paid to deliver the solution.
3. This is a free forum and you are free to post solution or your opinion.
4. I love to debug the code and specify the exact solution if I am aware of.

Dan, 
To be more specfic, please refer to the attach IntegratedEncoder.FXP project 
where I have merged your controller logic into a single MXML file as the basic 
rule to create a flex application is to have only one Applicatin container as 
root.

About the Application container
The first tag in an MXML application is either the s:Application tag for the 
Spark application container, or the mx:Application
tag for an MX application container. The application container then becomes the 
default container for any content that you add to your application.

In IntegratedEncoder.mxml, the s:Application is the root tag, whereas 
IntegratedEncoderController.as is extending the mx: Application.

Regards,
Rishi Tandon



 From: Srinivas Sandur Madhu Murthy s.m.srini...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 31, 2012 10:08 AM
Subject: Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 
- confused.
 

  
Rishi,

Please read the complete email before you ask for something. I understand you 
like to help, but please read-up completely, understand problem  then ask for 
things to help more.

Dan,

Whether you use Command-line or Flex Builder it doesn't matter, you always will 
try to compile 1 application in entire project, unless you have two or more 
applications in the project. Correct me if I am wrong, as my understanding goes 
you have EncoderController.as file which has class definition for 
EncoderController class which extends I guess from Application/Sprite. I 
guess this is the reason your project's main mxml file has root node as 
local:EncoderController./. Now if you are using Flex Builder, normally 
the main application mxml file which Flex Builder Template creates has root 
node as s:Application. In your case, after that mxml is created all you need to 
do just replace that default auto generated code by your old mxml contents  
include EncoderController.as in the src directory, which should work fine for 
you.

FX:Script tag is used in mxml to just include AS scripts which doesn't have 
class definitions. Normally these AS files would have methods, variables etc 
required or used in MXML file. I hope you know that any MXML file can use 
fx:script tag and write the AS scripts stuff required in that particular MXML. 
Treat this MXML+AS script as class.

The reason why you getting error in first place is, the MXML file which you 
have is extending from spark::Application [hence root tag as s:Application]  
included AS file has definition of a class which also extends from 
spark:Application.

Writing code and compiling with SDK using compile time shouldn't be different 
from using Flex Builder. In-fact it gives more flexibility  user friendliness. 
Please read-up more on using Flex Builder, should help you convert your 
application more easily.

Let me know if you need more help.

Thanks
Srinivas

On Jan 30, 2012, at 4:11 AM, Tandon, Rishi wrote:

  


Dan, send over your mxml and as file here.
There could be many reasons for the exception:
1. Compatible with the sdk. Try to change to flex sdk 3.2 or 3.6
2. Namespace inclusion.
In you code, the namespace is pointed to http://www.adobe.com/2006/mxml;
Whereas, in sdk 4 onwards, we are using three namespace:
 xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 xmlns:mx=library://ns.adobe.com/flex/mx 






Regards,
Rishi Tandon






 From: Dan M d...@streemit.net
To: flexcoders@yahoogroups.com 
Sent: Saturday, January 28, 2012 12:54 AM
Subject: [flexcoders] Moving my command-line development to FlashBuilder4.6 - 
confused.
 

  
I downloaded and installed the Mac version of Flash Builder 4.6. There 
is enough development work yet to be done on my project I figured that 
having an IDE to work in might make life easier.

The project was originally written as an mxml file (Encoder.mxml) and an 
ActionScript file (EncoderController.as). The mxml file refers to the 
ActionScript file by starting out with :
local:EncoderController xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
xmlns:local=*
height=800 width=800
backgroundColor=#FF
backgroundAlpha=0

On the Mac I selected New then Flex Project and named the project 
IntegratedEncoder. That got me an mxml file. I then copied the .as 
file over from my other working environment, renamed it 
IntegratedEncoderController.as, changed the class name appropriately, 
and modified the new mxml file Flash Builder made for me to include

Re: [flexcoders] Calling ViewNavigator from an .as file

2012-01-26 Thread Tandon, Rishi
I didn't got much time to read through it, but this might interest you
http://devgirl.org/2011/05/18/flex-4-5-mobile-data-handling/


Regards,
Rishi Tandon



 From: stldvd stl...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Thursday, January 26, 2012 7:21 AM
Subject: [flexcoders] Calling ViewNavigator from an .as file
 

  
Hi All,

I need to call navigator.pushView from an .as file in an AIR mobile project. 
But since I'm in an .as file and not in the .mxml file, how do I get access to 
the ViewNavigator? I don't think I want to import ViewNavigator and instantiate 
it because there should be only one in any given project.

Anyone know?

Thanks.


 

Re: [flexcoders] Native extension for windows

2012-01-24 Thread Tandon, Rishi
Yes you can. Use the window.runtime.flash.desktop.NativeProcess class
Video to check:
http://tv.adobe.com/watch/adc-presents/invoke-native-process-in-adobe-air-2/

Regards,
Rishi Tandon



 From: chiek...@gmail.com chiek...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 24, 2012 6:43 PM
Subject: [flexcoders] Native extension for windows
 

  
Hey people!

I want to write some native app for windows, and sadly enough I have no 
experience with C or C++. Though, I can write Java... Is it possible to use 
Java as Air native extension language?
I couldn't find explicit info on web about this issue.

thanks,
J
 

Re: [flexcoders] AIR - Content resize according window

2012-01-17 Thread Tandon, Rishi
Could you send over your code?



 From: isa_loyer isa_lo...@yahoo.fr
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 17, 2012 5:22 PM
Subject: [flexcoders] AIR - Content resize according window
 

  
Hi,

I have a window witch is resizing on creationcomplete phase according user 
preference.
This part woks well.
But inside this window a s:Group exists and even if width and height is in 
percent, the s:Group size is bigger that the new window measure.

I try to solve that with percentheigt and percentwidth but no result.
If somebody know how to solve that, I'll happy to read.

Thanks a lot


 

[flexcoders] Announcing Flex User Group 2012 Tour: North America Dates

2012-01-17 Thread Tandon, Rishi
Announcing Flex User Group 2012 Tour: North America Dates
by Deepa Subramaniam
As we promised at the end of last year, we are kicking off an international 
Flex User Group Tour to discuss recent announcements regarding Flex and the 
Flash Platform. These meetings will clarify any changes to Flex and Flash 
including updates on the runtimes and tooling. Additionally, the sessions will 
educate folks about the Apache process and what it takes for Flex SDK, as a 
project within the Apache Software Foundation, to continue to thrive. These 
meetings will be the best place to get accurate and up-to-date information 
about anything related to Flex.
Below are the cities and dates for our first wave of visits in North America. 
Europe and Asia dates will be posted shortly. Please refer to individual user 
group sites for detailed descriptions about the Flex sessions and speakers, 
including information on how to register to attend. Note: This information will 
be posted in the coming weeks and we will update this blog post with more 
detailed information as it becomes available.
We hope to meet and talk with as many developers as possible – so mark the 
dates and we’ll see you there!
North America
* 2/13/12 – New York: New York Flex Meetup
* 2/15/12 – Boston: Boston Flex User Group
* 2/21/12 – Denver: Rocky Mountain Adobe Users Group
* 2/22/12 – Seattle: Seattle Flash User Group
* 2/29/12 – Chicago: Chicago Flex User Group
* 3/7/12 – Los Angeles: LA Flex  LA Flash User Group
* 3/8/12 – San Diego: San Diego Flash User Group
* 4/19/12 – Dallas: Dallas Flex User Group

Re: [flexcoders] Air for mobile export/install ipa to ipad

2011-12-07 Thread Tandon, Rishi
You have to jailbreak your iPAD 2 and then simply drag n drop the ipa to iTunes 
and sync the ipad 2.



 From: markflex2007 markflex2...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Thursday, December 8, 2011 11:09 AM
Subject: [flexcoders] Air for mobile export/install ipa to ipad
 

  
Hi,

Normal way it seems need upload ipa file to apple store and install app from 
apple store.

Do you think if it is possible for me to install the ipa in ipad 2 without 
uploading the ipa file to apple store?

Thank

Mark


 

Re: [flexcoders] help with a repeater

2011-10-06 Thread Tandon, Rishi
You missed the most important thing in message, the error log.
Send over that.



From: Gustavo Duenas gdue...@leftandrightsolutions.com
To: flexcoders@yahoogroups.com
Sent: Friday, October 7, 2011 9:47 AM
Subject: [flexcoders] help with a repeater


  
I have a repeater which reads a xmllist from vimeo, it works and do the repeat 
but when I tried to pass info from the repeater to the title window, something 
happens and I have an as3
errror. this is  my code.

mx:Script
![CDATA[
import mx.managers.PopUpManager;
import mx.containers.*;
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import flsWindow;

private function openWindowVimeo(event:MouseEvent):void{
var myVimeoWindow:TitleWindow= TitleWindow(PopUpManager.createPopUp(this, 
flsWindow, true));
myVimeoWindow.title=vimeoService.lastResult.video.title;///this is the one 
using the xmlList,
it works but only the last title and with tags there is a way that my different 
video titles will be in the opened windows?
also when I try using the repeater like:
myVimeoWindow.title=vimeo.currentItem.title
is always giving me and error.

}

///here is my repeater, it works, but I cannot open the window as I want.
mx:HTTPServiceid=vimeoService 
url=http://vimeo.com/api/v2/iglesiafls/videos.xml; resultFormat=e4x 
fault=onFault(event)/
mx:XMLListCollection id=myVimeoList 
source={vimeoService.lastResult.video}/
mx:VBox width=340 height=334 x=699 y=422
mx:Repeater id=vimeo dataProvider={myVimeoList}
mx:Image source={vimeo.currentItem.thumbnail_medium} width=200 
height=150/
mx:Text text={vimeo.currentItem.title} color=#F5FBFC fontSize=14 
width=300/
mx:Text text={vimeo.currentItem.description} color=#F5FAFB width=300/
mx:LinkButton label=ver video click=openWindowVimeo(event) 
id=vimeoButton enabled=true/

/mx:Repeater
/mx:VBox

Could someone help me out

gus
 

Re: [flexcoders] creating a twitter feed on flex

2011-09-30 Thread Tandon, Rishi
You ca use the twitter APIs to integrate with the AIR apps:
https://dev.twitter.com/docs


You have to get to know how authorization work and then later you can fetch the 
individual feed for each user and display that in flex/ air using the HTTP 
component.



From: Gustavo Duenas gdue...@leftandrightsolutions.com
To: flexcoders@yahoogroups.com
Sent: Saturday, October 1, 2011 3:29 AM
Subject: [flexcoders] creating a twitter feed on flex


  
Hi, there si a tutorial or something about how to create a twitter 
feed for an air app?

gus

 

Re: [flexcoders] Flex 3 - showing HTML content

2011-09-21 Thread Tandon, Rishi
The only current way is to use an iFrame, or if you only need some html tags 
you could use the Text Layout Framework.
 
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
 
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
 
 
 
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740



From: Vineet Bhatia vineet.vine...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, September 22, 2011 4:51 AM
Subject: [flexcoders] Flex 3 - showing HTML content


  
We have a Flex app which needs to show HTML content entered by the users from 
another non-flex app. The users copy and paste content from Word/Excel, other 
webpages into the non-flex app. I know that htmlText property has support for 
certain html tags but we need to render proper HTML like the browser does.

Whats the recommended way to display html in Flex 3?

- vineet


 

Re: [flexcoders] Array to XML?

2011-08-31 Thread Tandon, Rishi
This might help:

/**
 * Object To XML Conversion Mechanism For Structure
 * @param xmlData
 * @return 
 * @author rtandon 
 */
private static function makeXML(data:Object,rootNodeName:String):XML{
data = ObjectUtil.copy(data);
var xmlData:XML = new XML();
var dataNode:XML;
xmlData = {rootNodeName}/{rootNodeName};
for (var prop:* in data){
dataNode = new XML();
if(data[prop] is String || data[prop] is int || data[prop] is Number 
|| data[prop] is Boolean){
dataNode = {prop}{data[prop]}/{prop};
xmlData = xmlData.appendChild(dataNode);
}else if(data[prop] is Array || data[prop] is ArrayCollection){
xmlData = xmlData.appendChild(makeXMLCollection(data[prop],prop));
}else{
xmlData = xmlData.appendChild(makeXML(data[prop],prop));
}
}
return xmlData;
}

/**
 * Object To XML Conversion Mechanism For Table 
 * @param data
 * @param rootNodeName
 * @return 
 * @author rtandon
 */
private static function makeXMLCollection(data:Object,rootNodeName:String):XML{
data = ObjectUtil.copy(data);
var xmlData:XML = new XML();
var itemNode:XML;
xmlData = {rootNodeName}/{rootNodeName};
for( var i:int;idata.length;i++){
xmlData = xmlData.appendChild(makeXMLCollectionItem(data[i]));
}
return xmlData;
}
private static function makeXMLCollectionItem(data:Object):XML{
data = ObjectUtil.copy(data);
var xmlData:XML = new XML();
var dataNode:XML;
xmlData = item/item;
for (var prop:* in data){
dataNode = new XML();
if(data[prop] is String || data[prop] is int || data[prop] is Number 
|| data[prop] is Boolean){
dataNode = {prop}{data[prop]}/{prop};
xmlData = xmlData.appendChild(dataNode);
}else if(data[prop] is Array || data[prop] is ArrayCollection){
xmlData = xmlData.appendChild(makeXMLCollection(data[prop],prop));
}else{
xmlData = xmlData.appendChild(makeXML(data[prop],prop));
}
}
return xmlData;
}


From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wednesday, August 31, 2011 5:59 AM
Subject: [flexcoders] Array to XML?


  
  
Hi group,
 
Can some one please help me in converting an array into an xml file or a 
similar hierarchical data structure to be used for a tree component! 
 
Imagine a case I have an array A with values A1,A2,A3,A4,   B1,B2,B3,B4, ….. 
Z1,Z2,Z3,Z4.
Can I have an XML like 
A
    A1/A1
    ..
    ..
/A
. . . . 
. . . . 
Z
    Z1/Z1
    ..
    ..
/Z
 
So that I can directly link it to a tree component? Kindly help out!!
  
Best Regards,
Venkat Maddali.  
 
 
 

Re: [flexcoders] Re: How to call container's method into component file

2011-08-29 Thread Tandon, Rishi
That's true Tim, even we use MVC framework and 
Event propagation to achieve such kind of mechanism.
But for novice user, they can try that too.
Although not the best way.



From: turbo_vb timh...@aol.com
To: flexcoders@yahoogroups.com
Sent: Sunday, August 28, 2011 10:20 PM
Subject: [flexcoders] Re: How to call container's method into component file


  
That's bad advice Rishi; that leads to tight coupling and parent abuse.  It's 
ok to have a parent call a method on a child ( data binding is preferred 
though).  But, children shouldn't call methods directly on their parents.  
Instead, have the child component dispatch an event to initiate the save method 
on the parent.

-TH

--- In flexcoders@yahoogroups.com, Rishi Tandon rishitandon123@... wrote:

 Use object oriented best practice.
 Mxml I'd nothing but a actionscript class.
 If u r initializing  the custom component inside the other component, then u 
 can directly access the method or else use the 
 Application.application.componentiD.methodName if u are 
 Where are u initializing globally.
 
 Sent from my iPhone
 
 On Aug 28, 2011, at 2:21 AM, shail shail_link@... wrote:
 
  Hi Group,
  
  I have a customize container component in which i am using one 
  sub-component. The customize container has one overriden method save(), i 
  want to call this method in subcomponent. Can this be possible?
  
  my code looks like this -
  
  GraphDex.mxml
  CustPanel
  script
  overrides public void save(){
  //plz ignore syntex
  }
  /script
  
  Dex id=dexone/
  /CustPanel
  
  Here I want to call mentioned save() method in Dex component that contain 
  some graphs, so on click event of Dex graphs i want to call save 
  functionality.
  
  As being new bee,Please suggest if my approach is wrong.
  
 



 

Re: [flexcoders] repeater width problem

2011-08-23 Thread Tandon, Rishi
mx:Label doesn't wrap the contents.
Use ms:Text instead.

Rishi



From: steveroger_flex steveroger_f...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, August 23, 2011 11:03 AM
Subject: [flexcoders] repeater width problem


  
Hello Friends,

I am trying to implement one functionality using repeater.
But facing one problem.

Code snapshots.

public  var ArrData : Array = [{label: 'Option 1', value:'opt1'},{label:
'Option 2', value:'opt2'},{label:'Option 3',
value:'opt3'},{label:'Option 4', value:'opt4'}];

mx:HBox width=350 height=30
mx:Repeater id=tRepeater  dataProvider={ArrData}
width=100% height=100%
mx:Label text={tRepeater.currentItem.label} /
/mx:Repeater
/mx:HBox

Labels are displed with array data using Repeater inside HBox.

Problem is, Labels go out of the HBox horizontal range.
I wanna to implement, if Hbox width is exceeded, Labels will start
occupying in next row.
Hbox width should be fixed at 350. Vertical Scrolling appear if labels 
exceeded from width range.

where I am doing mistake OR missing anything?

Thanks,

Steve.


 

Re: [flexcoders] View ViewNavigator component

2011-08-23 Thread Tandon, Rishi
Extend the navigator class.



From: markflex2007 markflex2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Monday, August 22, 2011 10:57 PM
Subject: [flexcoders] View  ViewNavigator component


  
Hi,

I try View and ViewNavigator for mobile application.I like it.

I am very like the features for View/ViewNavigator . but I need develop a web 
application now.

I get error when I use View component for Flex web app.

Do you think if I can use  View and ViewNavigator for web app? or some same 
features components. I need pushView and popView functions in my web 
application.

Please give me a idea. Thanks

Mark


 

Re: [flexcoders] Flex 4.5 - smart phone app

2011-08-12 Thread Tandon, Rishi


Can I take a Flex application (currently running on the server),
and easily convert it to a phone app?  It is a self contained (no data
access or any external connection).
  No, you can't. The mobile application is been designed and architect in a 
different way. It uses light weight component and the navigation is also 
different. 

I believe it requires 4.5.  We currently have 4.0.  Is
the upgrade included in the product?  We (State of Illinois/DHS) currently
have a contract with Adobe for our LC and Flex programs.  I can provide
the info on this if you need it.
I think you have to pay extra for the update licence. Check the Adobe site for 
the same. But get the Adobe Flash 4.5.1 which supports iOS and Blackberry too.

Re: [flexcoders] How to communicate 2 computers using Air Application

2011-08-10 Thread Tandon, Rishi
Have u tried the FILE classes for the same.

Rishi



From: Wemerson Couto Guimarães wemerso...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, August 10, 2011 6:57 PM
Subject: [flexcoders] How to communicate 2 computers using Air Application


  
Hello guys,

There are a way of communicate 2 computers (or more) on the same network (LAN) 
using an Air application? Prefered 1.5 version of Air, because I have a opened 
project in this version.

-- 
Wemerson Guimarães
Rio Verde - Go


 

Re: [flexcoders] Several HTTP request in the same component

2011-08-04 Thread Tandon, Rishi
You can set the result format of the HTTP to Object.
When you receive the request from the HTTP, you can store in the individual 
data collections.
And then you can bind those variables to the data providers of your comboboxes.

Usually we do use some MVC framework to handle data, events and views.

Rishi

.

From: Isabelle Loyer Perso isa_lo...@yahoo.fr
To: flexcoders@yahoogroups.com
Sent: Thursday, August 4, 2011 1:13 PM
Subject: [flexcoders] Several HTTP request in the same component


  
Dear Flexer,

In my case, I'd like to populate textinput and combox witch data who are 
storing in mySQL databata.

Today I use httpService to do a request in one table and the result is 
in e4x format.

But actually, I need to do some request to populate several combobox.

Can you explain how to do that.

Must I done all request in the same php file or is it possible to do 
several http request before open a new windows ( I made an AIR app).

Thanks for answer.

 

Re: [flexcoders] Form Item Multiline

2011-08-04 Thread Tandon, Rishi
Isabeelle, here you go:

s:Form width=100% height=100%
s:FormItem label=First Line #xa;Second Line
s:Label text=Gotcha/
/s:FormItem
/s:Form

Use [#xa;] for new line and [L#x9;] for tab.

Regards,
Rishi



From: Isabelle Loyer Perso isa_lo...@yahoo.fr
To: flexcoders@yahoogroups.com
Cc: yang chen chenya...@hotmail.com
Sent: Thursday, August 4, 2011 11:33 AM
Subject: Re: [flexcoders] Form Item Multiline


  
By label, I mean the form item label.

Le 04/08/11 05:12, yang chen a écrit : 
  
By label do you mean the form item label appeared at the front or the content 
of the form item? In the latter case try to add a VGroup inside the formitem.
 
Regards,
Yang
 



To: flexcoders@yahoogroups.com
CC: rishitandon...@yahoo.com
From: isa_lo...@yahoo.fr
Date: Wed, 3 Aug 2011 21:38:05 +0200
Subject: Re: [flexcoders] Form Item Multiline



Thanks for this answer.
I try to use StackedFormItem akin but I don't where I
should done modification.

Best regards

Le 03/08/11 12:36, Rishi Tandon a écrit : 
  
Have you tried using the StackedFormItem akin


You might have to do some skin modifications

Sent from my iPhone

On Aug 3, 2011, at 3:46 PM, isa_loyer isa_lo...@yahoo.fr wrote:


  
I try to do a beautiful form on my AIR app.
But with s:FormItem, I don't find how to place
  label in two lines.

Can you help me to solve that?

Thanks.





 

[flexcoders] Issue with Adobe Air sdk 1.5.2

2009-08-06 Thread Tandon, Rishi
I just upgrade the Adobe Air sdk to 1.5.2, and in some cases, our AIR 
application starts up and only shows in the task bar in a windows XP and 
Windows Vista environment. 
The actual application window is not available.

While running the same application using ADL tool, it runs fine.

Does anybody falls into same issue, or could advice for some alternative?

Thanks,
Rishi


  

Re: [flexcoders] help with videos

2009-07-22 Thread Tandon, Rishi
Gustavo,

You can use the following classes for displaying video in flash/ flex/ air

NetConnection;
NetStream;
Video;
Check this link for the complete demo
http://blog.flexexamples.com/2008/03/01/displaying-a-video-in-flex-using-the-netconnection-netstream-and-video-classes/

Rishi





From: Gustavo Duenas gdue...@leftandrightsolutions.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 22, 2009 3:19:29 PM
Subject: [flexcoders] help with videos

  
I want to do this, I have a xml list with images, description and links to flvs.
Ok, then I'm making a repeater out of a vbox and using a canvas and the buttons 
of the repeater point to the links
where the videos are and I don't know how to make it on the videos, I can use a 
swf loader or a.?

Any ideas or tutorials.

Gustavo



 

   


  

Re: [flexcoders] Adobe Air related ANT task

2009-07-21 Thread Tandon, Rishi
I just find out the bug related to the flex ant tasks for referencing a embed 
assets in the project.
http://bugs.adobe.com/jira/browse/SDK-16991
But, it is related to Linux.

In my case, all the embedded assets reference in MXML or css file could not 
locate the assets inside the embedded assets.

For eg,.
Asset references inside action script:
backgroundImage=@Embed(source='embed_assets/ChipsSkins.swf#Chip_activeBlueBackground')
 

whereas the actual Embed asset folder:
C:\proj\ProjectNAMe\src\embed_assets

As usual, I have added the source path to the ant task.

The small work around that  I got is to add the back slash at the beginning 
i.e. 
backgroundImage=@Embed(source='/embed_assets/ChipsSkins.swf#Chip_activeBlueBackground')
  
It should start picking up from the source path. (No errors for this part)

But I don't want to change the hundreds references in different files.
As well as, by changing the path like that in the CSS file, it shows an error.

Please advice!

Rishi






From: Tandon, Rishi rishitandon...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Monday, July 20, 2009 5:29:28 PM
Subject: [flexcoders] Adobe Air related ANT task

   
Hi flex coders,

I am creating the build file for the Adobe AIR app.
It works for simple application i.e. compiling, launching and packaging.

But in my case the application is large with lots of sub directories.

The point I am facing the problem is who to add embed-assets into the 
application.

i.e. during the build it is showing me unable to resolve 'embed-assets/ 
abc.swf' for transcoding error.

actually it could not find the path to the assets which is inside some 
sub-directory.

So how can I point to the compile target for the same.

If I know the equivalent compiler option for the same, that would be a great 
help

Using the Flex Builder, I could easily compile and run the application.

Rishi

 
   


  

[flexcoders] Adobe Air related ANT task

2009-07-20 Thread Tandon, Rishi
Hi flex coders,

I am creating the build file for the Adobe AIR app.
It works for simple application i.e. compiling, launching and packaging.

But in my case the application is large with lots of sub directories.

The point I am facing the problem is who to add embed-assets into the 
application.

i.e. during the build it is showing me unable to resolve 'embed-assets/abc.swf' 
for transcoding error.

actually it could not find the path to the assets which is inside some 
sub-directory.

So how can I point to the compile target for the same.

If I know the equivalent compiler option for the same, that would be a great 
help

Using the Flex Builder, I could easily compile and run the application.

Rishi



  

[flexcoders] Regarding Alert Box

2008-06-27 Thread Tandon, Rishi
Hi,
How to show a Alert box, when there is no data in result event.

Thanks,
Rishi


- Original Message 
From: markflex2007 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, June 26, 2008 8:47:04 PM
Subject: [flexcoders] how to make coldfusion working with LCDS?


Hi 

I install LCDS 251.and I see the web root is 
C:\lcds\jrun4\ servers\default\ ,

May I change the web root path (like c:\sites\)?

I put *.jsp file in the web root,it works?

but I put *.cfm,it doesn't work. How to make coldfusion file working
in LCDS web root.

Thanks.

Mark