[flexcoders] Re: Help with class

2006-10-12 Thread karthik
Yes, I declared as private. That was the problem. Thanks for ur help...

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> A bit more code might help. Did you declare the property as private?
Is the function you're talking about a method of the class?
> 
> Paul
>   - Original Message - 
>   From: Karthik J 
>   To: flexcoders@yahoogroups.com 
>   Sent: Thursday, October 12, 2006 1:04 PM
>   Subject: [flexcoders] Help with class
> 
> 
>   Hi,
>   I am new to Flex2. I have a class called test.as. I am trying to
create object in mxml script tag by 
> 
>   var t:test = new test();
> 
>   If I try to access any the prop of object itz throwing error.
>   But if I define the same inside a function itz working fine.
>   Why is it so? I cant use that object outside the function.
>   Is there any solution or is it like that.
>
>   Regards,
>   JK
>





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

<*> 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] Problem with web services

2006-12-06 Thread Karthik J
Hi,
 I am new to web services. According to the help file, I have constructed my 
page and I have included the wsdl link in the FDS proxy-config.xml. But I am 
getting error in the output. I copied the example from the below link.

http://livedocs.macromedia.com/flex/2/langref/mx/rpc/soap/mxml/WebService.html

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" 
faultDetail="Unable to load WSDL. If currently online, please verify the URI 
and/or format of the WSDL (http://ws.invesbot.com/stockquotes.asmx?WSDL)"
 at mx.rpc.soap::WSDLParser/::dispatchFault()
 at 
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()
 at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
 at mx.rpc::Responder/fault()
 at mx.rpc::AsyncRequest/fault()
 at mx.messaging::ChannelSet/::faultPendingSends()
 at mx.messaging::ChannelSet/channelFaultHandler()

Am I doing right or any suggestion plz  

   
 
-
Access over 1 million songs - Yahoo! Music Unlimited.

[flexcoders] Help regarding Web Service

2006-12-07 Thread Karthik J
Hi,
  
  I have problem regarding Web  Services. I am calling a webservice in the 
login page and in the result event, I  am enabling a login button.
  
 The problem occurs when  the application starts up through a browser.  Most of 
the time, everything will  load up properly and the login button will enable.  
However, there are times  when the function that enables the login button does 
not fire, and the user is  stuck at the startup screen. I couldn't try the 
unique parameter as it is a web  service. Plz help me.


-
Everyone is raving about the all-new Yahoo! Mail beta.

[flexcoders] Power point in FLEX

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

   
-
 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.

Re: [flexcoders] Is it possible to have 2 items in viewstack visible?

2008-02-20 Thread Karthik pothuri
To my knowledge this is not possible Tom..

Tom Chiverton <[EMAIL PROTECTED]> wrote:  On Tuesday 12 Feb 2008, Max Frigge 
wrote:
> I would need to have 2 children visible at the same time, so that
> you can see the second child sliding in while the first one is
> sliding out. Is that possible or am I on the wrong path?

You might want to look at the DistortionEffects package.

-- 
Tom Chiverton
Helping to ambassadorially entrench six-generation metrics
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


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





   
-
 Chat on a cool, new interface. No download required. Click here.

[flexcoders] Help with class

2006-10-12 Thread Karthik J



Hi,I am new to Flex2. I have a class called test.as. I am trying to create object in mxml script tag by var t:test = new test();If I try to access any the prop of object itz throwing error.But if I define the same inside a function itz working fine.Why is it so? I cant use that object outside the function.Is there any solution or is it like that. 
Regards,
JK








  

__._,_.___





--
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] Deploying Flex Application in a Tomcat server

2006-10-18 Thread Karthik J



Hi,
 
I have developed a flex application and I have to deploy it in a Tomcat server. Can anybody help me regarding this.
 
Regards,Karthik.











__._,_.___





--
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] Help regarding chart

2006-10-26 Thread Karthik J



Hi,     Please visit the site.     http://finance.google.com/finance?cid=13756934     Can anybody guide me how this could be developed in Flex 2.In the chart on mouse move, the datatip is moving along with the mouse pointer.How is that done?Please help...    
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
__._,_.___





--
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] ADOBE FLEX FREE SEMINAR - SAVEN TECHNOLOGIES - HYDERABAD

2008-07-15 Thread Karthik pothuri
 
Dear All,
 
Season's Greetings

Saven Technologies is coming up with a “FREE SEMINAR” on “ADOBE FLEX”
on 2nd August, Hyderabad, 2008 FROM 9AM TO 1:30PM.

ADOBE FLEX is the leading application development solution for
delivering “Rich Internet Applications (RIA)”within the enterprise and
across the web.

Please go through this website for more details and agenda of the
seminar.

Please register yourself for this great opportunity and refer this
event to your colleagues and friends.

http://savenflexcamp.eventbrite.com/
 
 
Regards,
Karthik P.
 


  Bring your gang together. Do your thing. Find your favourite Yahoo! group 
at http://in.promos.yahoo.com/groups/

[flexcoders] Flex Developer Position @ SocialVision, Inc.

2009-11-16 Thread Karthik Kailash
Hi Flex coders,

 

We are looking for a talented flex developer to become an integral part of our 
product team, and FAST! See position details below.

 

Cheers,
Karthik

 

 

THE COMPANY

 

SocialVision is an angel-funded, innovative Berkeley-based startup whose 
premier product helps make online video a social experience.  We help media 
companies monetize their existing content and increase ROI for advertisers.  
Our mission is to make online television more fun and interactive by creating 
new social experiences around it.  We’re rapidly growing and working 
aggressively to meet pivotal timelines for major customers. 

 

THE OPPORTUNITY

 

Work with the innovative SocialVision product team to write custom components 
to enhance the social experience around video; to make things that have never 
been done on a video site before, happen. You'll help architect and write the 
client-side code and work with the team to figure out testing plans, backend 
integration, and chat/XMPP integration. 

 

JOB REQUIREMENTS 

*   3+ years of experience with Flash and Flex
*   Understanding of and experience with UI architectures (e.g. Cairngorm)
*   Deep understanding of Flex component lifecycle
*   Experience building custom Flex components
*   Experience working with design to implementation workflow using Adobe 
tools (FXG/Catalyst a plus)
*   Excellent software development foundation (design patterns, best 
practices, coding conventions, etc.)

BENEFITS

 

Possibility of ownership/equity of a rapidly growing company.  

Casual work environment with great flexibility.​ 

Exposure to a wide range of technologies offering tremendous professional 
growth.​ 

 

APPLY:

Please email your resume to care...@socialvisioninc.com.

See more at http://www.socialvisioninc.com/jobs.html?refer=flexcoders

 

 

___

Karthik Kailash

Cell: (408) 768-7704

SV Email Signature

www.socialvisioninc.com <http://www.socialvisioninc.com/> 

"Online Television Becomes a Social Experience"

 

<>

[flexcoders] PureMVC Portability

2009-12-09 Thread Karthik Kailash
Hi all,

I'm looking into potentially looking PureMVC because of its platform
independence.  We are developing an app in Flex and may eventually want to
port into to Silverlight and maybe even desktop (not just with AIR).  My
question is, are there examples of major Silverlight applications out there
that are currently built on PureMVC?  From what I've seen so far, almost
everything seems to be done for AS3.

 

I am specifically interested in a case where PureMVC helped migrate and
maintain an application on multiple (at least 2) frameworks, because that's
where I see its real potential value.

Cheers,
Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision


Confidential: This electronic message and all contents contain information
from SOCIALVISION, INC. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited. If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.



[flexcoders] Flex Application Interaction with Loaded Flash SWFs

2009-12-13 Thread Karthik Kailash
Hi all,

First, the background:

I am creating a Flex application with a component that displays various 
dynamically loaded SWFs, one at a time (kind of like a kiosk). These loaded 
SWFs are created in Flash IDE, not Flex. They will not be created by us (we 
will provide a .fla template but that's it), so I am loading them into a 
separate SecurityDomain.

My Questions:

1.   I want the application to be able to call methods inside the loaded 
SWF. To do this, would I just call Security.allowDomain("domain original app 
was loaded from") in the startup process for the loaded SWF?

2.   I want the loaded SWF to be able to throw events that are caught by 
the application. Can I accomplish this through the  
<http://www.adobe.com/livedocs/flex/3/langref/mx/controls/SWFLoader.html#swfBridge>
 SWFLoader.swfBridge property?

3.   I am defining an interface for the methods inside the loaded SWF. But, 
I don't want to leave the implementation up to the customer. Instead, I want to 
provide another SWF that contains the interface implementation and have it be a 
constraint that the customer includes it in their SWF. I am not very familiar 
with the Flash authoring environment, how would it work so that the interface 
implementation SWF exposes its methods in such a way to be accessible to Flex? 
Is there a way to sign the SWF so that the Flex application knows that it is 
dealing with the original, not a spoof? How would the Flex code pass in 
arguments, since it is across SecurityDomain boundary -- is there marshalling 
involved (say if I want to pass in a Dictionary or some kind of object graph)?

4.   The Flex application may load hundreds of these smaller other SWFs 
during its lifetime. How do I make sure it doesn't keep using up more memory? I 
plan on using SWFLoader.unloadAndStop() and clearing all references in the Flex 
object that refers to it. Is this enough? Will the AppDomain for the loaded SWF 
be torn down automatically so that the class definitions are no longer in 
memory?

Thanks,

Karthik

 

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL • 408.768.7704  | WEB • www.socialvisioninc.com | FACEBOOK •  
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER •  
<http://twitter.com/socialvision> twitter.com/socialvision



RE: [flexcoders] About using Presentation Model Pattern with Cairngorm

2009-12-14 Thread Karthik Kailash
Hi,

 

Some links that may be useful for you:

 

http://www.dgrigg.com/post.cfm/04/12/2007/Cairngorm-Commands-Views-and-Harik
iri

http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/view/Vie
wHelper.html

http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/view/Vie
wLocator.html

 

Basically, your commands will retrieve a ViewHelper, which acts as a
presentation model / mediator for a particular view, and then can call
methods on it or update its properties.  You'll have to structure your
ViewHelper so it has a reference to your view (and vice versa if you are
using the PM pattern).

 

If you are familiar with PureMVC, you are kind of mimicking their Mediator
structure, except all the work is still centralized in commands.

 

Hope that helps!

 

Cheers,

Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of vikram
Sent: Monday, December 14, 2009 5:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] About using Presentation Model Pattern with Cairngorm

 

  

Hello all

 

I am trying to implement presentation model using Cairngorm for my flex
application. I have some views where I have some components binded to some
of modelLocator. I read somewhere that the properties that need to be
updated should reside in presentation model. Is this true? If yes, then how
can I do so?

 

Suppose I create a currentUser property in modelLocator. and it is bound to
a label on user info screen which displays the concatenated lastname and
firstname. Now if I create a presentation model for user info screen, I will
have to create a fullname property for the view. But then when and how will
I update this property?

 

*   Should I update it when I do login - which means I should do it in
responder.
*   Should I create in presentation model and call it in responder. If
yes, will the view get updated properly.

Can somebody please throw some light on these issues?

 

Thanks ans Regards

ShiVik





RE: [flexcoders] Re: Actionscript sum function

2009-12-18 Thread Karthik Kailash
Or use an anonymous function with one of the array operation methods, like
every
(http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Array.html#every(
))

 

In this case your anonymous function would be something that increments a
value in its parent scope by the value of the current element it is
processing.

 

Daryl's point about input validation is really good

 

Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of daryl_ducharme
Sent: Friday, December 18, 2009 6:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Actionscript sum function

 

  

If a function doesn't exist, roll your own.

Something like the following should work.

function getSum( ... nums ):Number
{
var total:Number = 0;
for each( var number:Number in nums )
{
total += number;
}
return total;
}

You may want to validate your inputs to have better error handling.

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,
"AJC2357"  wrote:
>
> Is there really no way to sum a simple array w/o adding element by
element?
> 
> var myArray:Array = [1,2,3,4,5];
> 
> I've found min and max functions, but nothing to sum...
> 
> Any tips appreciated!
>





[flexcoders] Using URLLoader with AsyncToken

2009-12-24 Thread Karthik Kailash
Hi all,

I was trying to retrieve binary data over HTTP for my Flex application, and
was running into some stumbling blocks. HTTPService did not seem to deal
with binary data well, people said to use URLLoader. But URLLoader does not
have the nice AsyncToken/IResponder interface that HTTPService provides.

So, I did some searching and could not find anyone extending URLLoader to
provide this kind of functionality. I went ahead and took a stab at it
myself:  <http://pastebin.com/d7369d0e0> http://pastebin.com/d7369d0e0

Basically it wraps a URLLoader and an AsyncToken, and maps the COMPLETE,
IO_ERROR, and SECURITY_ERROR events from URLLoader to results/faults that
get raised on the AsyncToken.

Basic usage:

var tidbitLoader:AsyncURLLoader = new AsyncURLLoader();


tidbitLoader.dataFormat = URLLoaderDataFormat.BINARY;





var asyncToken:AsyncToken = tidbitLoader.load(new
URLRequest("http://localhost/SampleTidbit.swf";));





asyncToken.addResponder(this);





public function result(resultEvent:Object):void


{


trace("result");


}





public function fault(faultEvent:Object):void 


{


var fault:FaultEvent = faultEvent as FaultEvent;


trace("fault: " + fault.toString());


}







Is this the right way to approach the problem? Are there existing solutions?
I would love to hear feedback.

Thanks,

Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision



RE: [flexcoders] Re: Using URLLoader with AsyncToken

2009-12-28 Thread Karthik Kailash
Hey James,

 

Thanks for the pointer - I did check out anirudh's article before attempting
to write my own.  What are your thoughts on the code?

 

Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of jamesfin
Sent: Saturday, December 26, 2009 9:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using URLLoader with AsyncToken

 

  


This is another starting point

http://anirudhs.chaosnet.org/blog/2008.06.20.html

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,
"Karthik Kailash"  wrote:
>
> Hi all,
> 
> I was trying to retrieve binary data over HTTP for my Flex application,
and
> was running into some stumbling blocks. HTTPService did not seem to deal
> with binary data well, people said to use URLLoader. But URLLoader does
not
> have the nice AsyncToken/IResponder interface that HTTPService provides.
> 
> So, I did some searching and could not find anyone extending URLLoader to
> provide this kind of functionality. I went ahead and took a stab at it
> myself: <http://pastebin.com/d7369d0e0> http://pastebin.com/d7369d0e0
> 
> Basically it wraps a URLLoader and an AsyncToken, and maps the COMPLETE,
> IO_ERROR, and SECURITY_ERROR events from URLLoader to results/faults that
> get raised on the AsyncToken.
> 
> Basic usage:
> 
> var tidbitLoader:AsyncURLLoader = new AsyncURLLoader();
> 
> 
> tidbitLoader.dataFormat = URLLoaderDataFormat.BINARY;
> 
> 
> 
> 
> 
> var asyncToken:AsyncToken = tidbitLoader.load(new
> URLRequest("http://localhost/SampleTidbit.swf";));
> 
> 
> 
> 
> 
> asyncToken.addResponder(this);
> 
> 
> 
> 
> 
> public function result(resultEvent:Object):void
> 
> 
> {
> 
> 
> trace("result");
> 
> 
> }
> 
> 
> 
> 
> 
> public function fault(faultEvent:Object):void 
> 
> 
> {
> 
> 
> var fault:FaultEvent = faultEvent as FaultEvent;
> 
> 
> trace("fault: " + fault.toString());
> 
> 
> }
> 
> 
> 
> 
> 
> 
> 
> Is this the right way to approach the problem? Are there existing
solutions?
> I would love to hear feedback.
> 
> Thanks,
> 
> Karthik
> 
> 
> 
> Karthik Kailash | Product
> 
> SocialVision, Online Television Becomes a Social Experience
> 
> CELL . 408.768.7704 | WEB . www.socialvisioninc.com | FACEBOOK .
> <http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER
.
> <http://twitter.com/socialvision> twitter.com/socialvision
>





RE: [flexcoders] garbage Collection articles

2010-01-07 Thread Karthik Kailash
Hi Nick,

 

I had these 2 articles saved:

 

Flex Profiler:
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Performan
ce_and_Memory_Profiling

GC in Flex:
http://www.gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html

 

 

HTH,

Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nick Middleweek
Sent: Thursday, January 07, 2010 11:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] garbage Collection articles

 

  

Hi,

Can anyone recommend a good read for garbage collection and when it kicks
in, how it works, etc?...

I'm particularly interested in learning about what happens to variables/
objects that are declared in a local function but are assigned to the global
'Model', then the function ends so the local variable, I guess dies with
it... Am I right to assume that because that Object is still referenced by
the global 'Model' the Object in memory is kept and not garbage collected.

I'm interested in how it works as I'm sure it'll help my coding with better
understanding...


Thanks,
Nick





[flexcoders] Preferred Socket Policy File Server Implementation?

2010-01-22 Thread Karthik Kailash
I'm trying to get my Flex application to connect via socket to my server, so
I need to set up a socket policy file server. It seems like there are
various roll-your-own implementations floating around out there, but is
there any kind of standard or best practice with what to use? Some google
searches turned up nothing, so I'd be curious to hear the pros and cons of
what other people have tried.

 

 As an aside, it seems strange that Adobe imposes this restriction but
doesn't make something readily available to support it.

 

Karthik

 

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
<http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER .
<http://twitter.com/socialvision> twitter.com/socialvision



[flexcoders] Interaction with Content behind Transparent Flex App

2010-02-22 Thread Karthik Kailash
Hi,

 

I have a Flex application with wmode=transparent and a transparent section
that allows whatever is underneath it on the HTML page to show through.  In
this case, what's showing through is another Flash application.  This works
fine, but I can't interact with the Flash application showing through.

 

I tried setting the z-index of the Flash app to something greater than my
Flex app, and that worked, but unfortunately that solution doesn't work for
my case because the Flex application has components that occasionally
overlay in that area, and setting the z-index of the Flash app to be higher
means those components are always stuck behind it.  Also unfortunately I
don't control the loading of that Flash app, so I can't load/embed it into
my app to get around this problem.

 

Are there any other ways to do this?

 

Cheers,

Karthik

 

Karthik Kailash | Product

SocialVision, Online Television Becomes a Social Experience

CELL . 408.768.7704  | WEB . www.socialvisioninc.com | FACEBOOK .
facebook.com/socialvision <http://www.facebook.com/socialvision>  | TWITTER
. twitter.com/socialvision

 



[flexcoders] Mailing list usage?

2010-09-08 Thread Karthik Kailash
Hi all,

I recently developed and launched a pretty cool application built using
Flex.

Is it all right for me to post my application to this mailing list as an
example of what can be made with Flex?  My hope is that it inspires other
people in their work, and gets me some valuable user feedback from the
community.

If you want to keep this list promotion-free, I understand and that's fine.

Best,
Karthik

-- 

*Karthik Kailash** **| **Product
SocialVision, Online Television Becomes a Social Experience
CELL • 408.768.7704  | WEB • www.socialvisioninc.com | FACEBOOK •
facebook.com/socialvision <http://www.facebook.com/socialvision> | TWITTER •
twitter.com/socialvision*


[flexcoders] Datagrid cellrenderer

2005-06-02 Thread nithya karthik



hai,
   I want to have two buttons in a column of a datagrid. How to do that with the help of a cell renederer. please help with the code..
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] ComboBOx

2005-06-02 Thread nithya karthik



hai,
 I have  a combobox with 3 items. on selecting an item I want the viewstack beneath it to change from one view to another. Pls help me with code for this. 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] ComboBOx

2005-06-03 Thread nithya karthik



hi,
 thanks. it works. But what if i have the dataprovider as an external xml file?Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
It depends how you are doing. You can use Data Binding or handle the change event of ComboBox. Look at the following example it shows both approach.
 
 
-abdul
 
http://www.macromedia.com/2003/mxml">        function changeView(event)    {    viewStack.selectedIndex = Number(event.target.selectedItem.data);    }                                           
                                    
                            
                 
 
                                       
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Friday, June 03, 2005 12:03 PMTo: flexcodersSubject: [flexcoders] ComboBOx

hai,
 I have  a combobox with 3 items. on selecting an item I want the viewstack beneath it to change from one view to another. Pls help me with code for this. 
thanks,
nithya
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Images in swf

2005-06-09 Thread nithya karthik



hai,
  when i compile an mxml application to swf and run the swf, the images doesnt get displayed. I mages in the mxml file as jgp. y does it it not appear in my swf file? any alternative to achieve this? pls helpSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Images in swf

2005-06-09 Thread nithya karthik



hai abdul
   I am attaching a small code of what i tried. I compiled it to swf and tried runnign from the same folder which contains the image, then it worked well but when i tried running it from a different folder the swf did not display the image. y is that so? pls help. i need this for a project.Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya
 
Are you embedding the images or loading on runtime? If you are loading on runtime, make sure Jpeg file is non-progressive one.
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Thursday, June 09, 2005 5:17 PMTo: flexcodersSubject: [flexcoders] Images in swf

hai,
  when i compile an mxml application to swf and run the swf, the images doesnt get displayed. I mages in the mxml file as jgp. y does it it not appear in my swf file? any alternative to achieve this? pls help
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Images in swf

2005-06-09 Thread nithya karthik




hai abdul,
   
sorry abdul. i forgot to attach the code. i am sending it now. pls help.
 
http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FF"  >          hScrollPolicy="off"      vScrollPolicy="off">      

Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya
 
Are you embedding the images or loading on runtime? If you are loading on runtime, make sure Jpeg file is non-progressive one.
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Thursday, June 09, 2005 5:17 PMTo: flexcodersSubject: [flexcoders] Images in swf

hai,
  when i compile an mxml application to swf and run the swf, the images doesnt get displayed. I mages in the mxml file as jgp. y does it it not appear in my swf file? any alternative to achieve this? pls help
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] [flexcoders- to abdul] image in swf. pls help

2005-06-09 Thread nithya karthik



Hai abdul,
  I forgot to attach the code in my mail. i am sending it now
http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FF"  >          hScrollPolicy="off"      vScrollPolicy="off">      

 
 
When i compilt this mxml to swf and run it on a different machine it doesnt display the image. but when i tried running it from the same folder which contains the image then it works. y so? pls help m,e with this?Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] [flexcoders- to abdul] image in swf. pls help

2005-06-09 Thread nithya karthik



Hai abdul,
   thanks a lot. It works well. Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Ok,
 
I got it, you mean, when you run the swf on different machine it doesn't work. But if you run the swf from same machine it works, right?
 
The reason behind is that, your 3724.jpg is loaded on runtime, that's why when you run the swf on other machine, it is not finding the jpg file there. To avoid this, you can embed the jpeg in the swf itself by using Embed metadata tag.
 
 
 
http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FF"  >          hScrollPolicy="off"      vScrollPolicy="off">      

 
 
But this would increase the SWF file size becase jpeg is embedded in final swf. Look at this link as well:
 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19243
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Friday, June 10, 2005 9:54 AMTo: flexcodersSubject: [flexcoders] [flexcoders- to abdul] image in swf. pls help

Hai abdul,
  I forgot to attach the code in my mail. i am sending it now
http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FF"  >          hScrollPolicy="off"      vScrollPolicy="off">      

 
 
When i compilt this mxml to swf and run it on a different machine it doesnt display the image. but when i tried running it from the same folder which contains the image then it works. y so? pls help m,e with this?
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] [flexcoders- to abdul] image in swf. Problem again

2005-06-09 Thread nithya karthik



Hai,
  I again have a problem with loading the image. say i have an swf named img1.swf, I have an xml tag img1.swf ok. In a tilelist i try to dispaly that swf using the following code:
      source="@Embed('{dataObject.thumbNail}')" creationComplete="hideWhenChanging()" />
when i run the application now again the image doesnt get displayed..
please help me.Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Ok,
 
I got it, you mean, when you run the swf on different machine it doesn't work. But if you run the swf from same machine it works, right?
 
The reason behind is that, your 3724.jpg is loaded on runtime, that's why when you run the swf on other machine, it is not finding the jpg file there. To avoid this, you can embed the jpeg in the swf itself by using Embed metadata tag.
 
 
 
http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FF"  >          hScrollPolicy="off"      vScrollPolicy="off">      

 
 
But this would increase the SWF file size becase jpeg is embedded in final swf. Look at this link as well:
 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19243
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Friday, June 10, 2005 9:54 AMTo: flexcodersSubject: [flexcoders] [flexcoders- to abdul] image in swf. pls help

Hai abdul,
  I forgot to attach the code in my mail. i am sending it now
http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FF"  >          hScrollPolicy="off"      vScrollPolicy="off">      

 
 
When i compilt this mxml to swf and run it on a different machine it doesnt display the image. but when i tried running it from the same folder which contains the image then it works. y so? pls help m,e with this?
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders]Drag and drop

2005-06-09 Thread nithya karthik



hai,
    I have a tile list from which i can drag and drop the item to a datagrid. now i also want to drag the item from the datagrid so that it gets removed from the grid. how should i do this? when i treid what happend was, i was able to remove the item but it was getting dropped to the tile list (ie, it was gettting added to the tile list) but i dont want it to happen that way. pls helpSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders]loading a html page on click of a button?

2005-06-09 Thread nithya karthik



Hai,
 1. Assume I have a button named 'click', when i trigger that it should open a corresponding html page. how to do this? and 
 2. in that html page say i have a list of items each with a button named 'add', when i trigger that button the item should get added to a datagrid which is present in a seperate mxml application. how to do this?
 
I really have no idea of how to do this.. please help me with the code.
 
thanks in advance.
regards,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Html page pop up

2005-06-10 Thread nithya karthik



hai,
 I have an application with a top canvas and a botton canvas. the top canvas has a button which on click must make a corresponding html page to be displayed on the top canvas only. the bottom canvas should remain the same. how to do this? when i give the following code the whole application is getting replaced  by the html page. pls help..
 
http://www.macromedia.com/2003/mxml">   > ">   Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Html page pop up

2005-06-10 Thread nithya karthik




hai,
 I have an application with a top canvas and a botton canvas. the top canvas has a button which on click must make a corresponding html page to be displayed on the top canvas only. the bottom canvas should remain the same. how to do this? when i give the following code the whole application is getting replaced  by the html page. pls help..
 
http://www.macromedia.com/2003/mxml">   > ">   Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] [flexcoders- to abdul] image in swf. Problem again

2005-06-10 Thread nithya karthik



hai,
   I tried removing the curly braces even then it didnt work.. pls helpManish Jethani <[EMAIL PROTECTED]> wrote:
On 6/10/05, nithya karthik <[EMAIL PROTECTED]> wrote:> >   source="@Embed('{dataObject.thumbNail}')">  creationComplete="hideWhenChanging()"> /> > when i run the application now again the image doesnt get displayed.. Remove the curly braces around the image name.Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Passing data from Html to Flex application.Urgent pls

2005-06-10 Thread nithya karthik



hai,
 I have a flex application with a tilelist of images. On click of each image takes me to a html page which has some details regarding the image. I have a button on each html page say"add" then it must add the particaular item to a datagri\d in my flex application.. how should i pass the data from html page to flex application.? please help me with the code to do this. i am adding the code of mine below.
 
Mxml application:

http://www.macromedia.com/2003/mxml" xmlns="*"    creationComplete="iFrame.visible=true">
    
     
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
 
                        
    

 
Html page which gets loaded during click of the first image in tileList is:
Product Detail
 
 
Say i have a datagrid in the panel of the flex application then on click of the button "add" in the html page it must add the item(in tile list, on click of which the html page opended) to the datagrid.. how should i do it? please help.. It needs quick solution please..
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] passing data from jsp page to flex app

2005-06-10 Thread nithya karthik



hai, i have a flex appl that would call a jsp page. in the jsp page i have an embedded mxml witha button "add". when i trigger that it must get added to my mxml page outside jsp page. how to do this? my code is as below:
 
mxml:

http://www.macromedia.com/2003/mxml" xmlns="*"    creationComplete="iFrame.visible=true">
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
Jsp code:
<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml">  var cart;    function addRow() {    if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    }   
   
 
When i click on the add button in jsp page it should get added in my flex datagrid outisde the jsp page. I dont know how i shoule refer to the grid. pls help.Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] passing data from jsp page to flex app

2005-06-12 Thread nithya karthik



Hai,
   I tried ur code but item is not getting added to the cart. I dont understand the reason. please can u help?Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
Both of Flex applications can communicate using LocalConnection. See the modified code below:
 
 
1) ##app.mxml##
 


http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">
   
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
 
 
2) ##popup.jsp##
 

<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();       
 }    function addRow() {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.text != "") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text});    }   
   
 
 
 
Also check out LocalConnection documentation for more help.
 
Hope that helps...
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Saturday, June 11, 2005 12:04 PMTo: flexcodersSubject: [flexcoders] passing data from jsp page to flex app

hai, i have a flex appl that would call a jsp page. in the jsp page i have an embedded mxml witha button "add". when i trigger that it must get added to my mxml page outside jsp page. how to do this? my code is as below:
 
mxml:

http://www.macromedia.com/2003/mxml" xmlns="*"    creationComplete="iFrame.visible=true">
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
Jsp code:
<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml">  var cart;    function addRow() {    if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    }   
   
 
When i click on the add button in jsp page it should get added in my flex datagrid outisde the jsp page. I dont know how i shoule refer to the grid. pls help.
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

2005-06-12 Thread nithya karthik



hai,
   Abdul, in tried running ur code. But item doesnt get added to the cart. I dont understand the reason. pls can u help? this is very urgent.
Is there any other way of doing it? help me with the code..
Regards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
Both of Flex applications can communicate using LocalConnection. See the modified code below:
 
 
1) ##app.mxml##
 


http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">
   
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
 
 
2) ##popup.jsp##
 

<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();       
 }    function addRow() {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.text != "") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text});    }   
   
 
 
 
Also check out LocalConnection documentation for more help.
 
Hope that helps...
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Saturday, June 11, 2005 12:04 PMTo: flexcodersSubject: [flexcoders] passing data from jsp page to flex app

hai, i have a flex appl that would call a jsp page. in the jsp page i have an embedded mxml witha button "add". when i trigger that it must get added to my mxml page outside jsp page. how to do this? my code is as below:
 
mxml:

http://www.macromedia.com/2003/mxml" xmlns="*"    creationComplete="iFrame.visible=true">
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
Jsp code:
<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml">  var cart;    function addRow() {    if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    }   
   
 
When i click on the add button in jsp page it should get added in my flex datagrid outisde the jsp page. I dont know how i shoule refer to the grid. pls help.
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

2005-06-12 Thread nithya karthik



Yeah! Sure.
I am posting the code now.
 
app.mxml:
http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">                       dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>         
                             
                 
popup.jsp:
<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detailhttp://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();        }    function addRow()
 {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.text != "") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text});    }      
IFrame.mxml:

http://www.macromedia.com/2003/mxml"    resize="doLater(this, 'moveIFrame')"    move="doLater(this, 'moveIFrame')">
    
    private var __source: String;
    function moveIFrame(): Void {    var pt={x:0, y:0};    this.localToGlobal(pt);    getURL("_javascript_:moveIFrame("+pt.x+","+pt.y+","+this.width+","+this.height+")");    //fscommand("moveIFrame", pt.x+","+pt.y+","+this.width+","+this.height);    }
    function set source(source: String): Void {    if (source) {    __source = source;    getURL(source, "myFrame");    }    }
    function get source(): String {    return __source;    }
    function set visible(visible: Boolean): Void {    super.visible=visible;    if (visible)    getURL("_javascript_:showIFrame()");    //fscommand("showIFrame");    else    getURL("_javascript_:hideIFrame()");    //fscommand("hideIFrame");    }
    

 
I dont get any error but i dont undrstand y the item doesnt get added.. Pls tell me where i am going wrong  and y it doesnt work..Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Nithya,
 
It is tested code and it worked for me. I don't post code without testing, but I guess there might be some other problem. Can you please post your code again, I want to see how have you incorporated it?
 
Also tell us the flow of application, how popup is opened etc.
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Monday, June 13, 2005 10:44 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

hai,
   Abdul, in tried running ur code. But item doesnt get added to the cart. I dont understand the reason. pls can u help? this is very urgent.
Is there any other way of doing it? help me with the code..
Regards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
Both of Flex applications can communicate using LocalConnection. See the modified code below:
 
 
1) ##app.mxml##
 


http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">
   
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
 
 
2) ##popup.jsp##
 

<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();       
 }    function addRow() {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.text != "") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text});    }   
   
 
 
 
Also check out LocalConnection documentation for more help.
 
Hope that helps...
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Saturday, June 11, 2005 12:04 PMTo: flexcodersSubject: [flexcoders] passing data from jsp page to flex app

hai, i have a flex appl that would call a jsp page. in the jsp page i have an embedded mxml witha button "add". when i trigger that it must get added to my mxml page outside jsp page. how to do this? my code is as below:
 
mxml:

http://www.macromedia.com/2003/mxml" xmlns="*"    creationComplete="iFrame.v

[flexcoders] Can i embed a Html table in the htmltext of a mx:Label?

2005-06-12 Thread nithya karthik



hai,
  Is it possible to embed a html table in the htmltext field of a label control? if yes i'w like to have a sample pls.
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

2005-06-12 Thread nithya karthik



yes exaclty.  on click of an image in the tille list the popup opens. 
so how do i fix the problem? what has to be done? please help.. I have not used local connection previously so am not able to fix it. can u help me with the code?
 
thanks,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


So your app.mxml loads first and on clicking some button popup.jsp is opened in a frame?
 
It is not working, because app.mxml might be loading after popup.jsp?
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Monday, June 13, 2005 11:29 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

Yeah! Sure.
I am posting the code now.
 
app.mxml:
http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">                       dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>         
                             
                 
popup.jsp:
<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detailhttp://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();        }    function addRow()
 {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.text != "") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text});    }      
IFrame.mxml:

http://www.macromedia.com/2003/mxml"    resize="doLater(this, 'moveIFrame')"    move="doLater(this, 'moveIFrame')">
    
    private var __source: String;
    function moveIFrame(): Void {    var pt={x:0, y:0};    this.localToGlobal(pt);    getURL("_javascript_:moveIFrame("+pt.x+","+pt.y+","+this.width+","+this.height+")");    //fscommand("moveIFrame", pt.x+","+pt.y+","+this.width+","+this.height);    }
    function set source(source: String): Void {    if (source) {    __source = source;    getURL(source, "myFrame");    }    }
    function get source(): String {    return __source;    }
    function set visible(visible: Boolean): Void {    super.visible=visible;    if (visible)    getURL("_javascript_:showIFrame()");    //fscommand("showIFrame");    else    getURL("_javascript_:hideIFrame()");    //fscommand("hideIFrame");    }
    

 
I dont get any error but i dont undrstand y the item doesnt get added.. Pls tell me where i am going wrong  and y it doesnt work..Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Nithya,
 
It is tested code and it worked for me. I don't post code without testing, but I guess there might be some other problem. Can you please post your code again, I want to see how have you incorporated it?
 
Also tell us the flow of application, how popup is opened etc.
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Monday, June 13, 2005 10:44 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

hai,
   Abdul, in tried running ur code. But item doesnt get added to the cart. I dont understand the reason. pls can u help? this is very urgent.
Is there any other way of doing it? help me with the code..
Regards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
Both of Flex applications can communicate using LocalConnection. See the modified code below:
 
 
1) ##app.mxml##
 


http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">
   
    
        
        dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>
                             
                        
    

 
 
 
2) ##popup.jsp##
 

<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detail
http://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();       
 }    function addRow() {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.tex

[flexcoders] opening a JSP page on click of an image

2005-06-13 Thread nithya karthik



hai,
   How to open a JSP page on click of an image in the tile list? JSP page should open as a popup. HOw to do this? pls help with some code.
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

2005-06-13 Thread nithya karthik



Hai,
   Thanks alot abdul.. It works well.. Thank u so much . ur code was very helpful.
thanks and regards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
Just checked and found that everything seems to be working fine. I am not sure, why it is not working on your machine.
 
Run the attached example on your machine and see if it is working. I made slight changes like, removed cellRenderer="Thumbnail" from TileList attributes because I don't have Thumbnail renderer. 
 
But if it runs there then your code might have some problems...
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Monday, June 13, 2005 11:49 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

yes exaclty.  on click of an image in the tille list the popup opens. 
so how do i fix the problem? what has to be done? please help.. I have not used local connection previously so am not able to fix it. can u help me with the code?
 
thanks,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


So your app.mxml loads first and on clicking some button popup.jsp is opened in a frame?
 
It is not working, because app.mxml might be loading after popup.jsp?
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Monday, June 13, 2005 11:29 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

Yeah! Sure.
I am posting the code now.
 
app.mxml:
http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">                       dataProvider="{catalog.product}"    width="100%"    height="100%"    cellRenderer="Thumbnail"    itemWidth="120"    itemHeight="108" change="iFrame.source=tile.selectedItem.path"/>         
                             
                 
popup.jsp:
<%@ taglib uri="FlexTagLib" prefix="mm"%>Product Detailhttp://www.macromedia.com/2003/mxml" initialize="onAppInit()">     var cart;    var _lc:LocalConnection;      function onAppInit()    {    _lc = new LocalConnection();        }    function addRow()
 {    //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} );    if(name.text != "") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text});    }      
IFrame.mxml:

http://www.macromedia.com/2003/mxml"    resize="doLater(this, 'moveIFrame')"    move="doLater(this, 'moveIFrame')">
    
    private var __source: String;
    function moveIFrame(): Void {    var pt={x:0, y:0};    this.localToGlobal(pt);    getURL("_javascript_:moveIFrame("+pt.x+","+pt.y+","+this.width+","+this.height+")");    //fscommand("moveIFrame", pt.x+","+pt.y+","+this.width+","+this.height);    }
    function set source(source: String): Void {    if (source) {    __source = source;    getURL(source, "myFrame");    }    }
    function get source(): String {    return __source;    }
    function set visible(visible: Boolean): Void {    super.visible=visible;    if (visible)    getURL("_javascript_:showIFrame()");    //fscommand("showIFrame");    else    getURL("_javascript_:hideIFrame()");    //fscommand("hideIFrame");    }
    

 
I dont get any error but i dont undrstand y the item doesnt get added.. Pls tell me where i am going wrong  and y it doesnt work..Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Nithya,
 
It is tested code and it worked for me. I don't post code without testing, but I guess there might be some other problem. Can you please post your code again, I want to see how have you incorporated it?
 
Also tell us the flow of application, how popup is opened etc.
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Monday, June 13, 2005 10:44 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] RE: [flexcoders to Abdul] passing data from jsp page to flex app- not working. Pls help. urgent

hai,
   Abdul, in tried running ur code. But item doesnt get added to the cart. I dont understand the reason. pls can u help? this is very urgent.
Is there any other way of doing it? help me with the code..
Regards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi Nithya,
 
Both of Flex applications can communicate using LocalConnection. See the modified code below:
 
 
1) ##app.mxml##
 


http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"    creationComplete="iFrame.visible=true">
   

Re: [flexcoders] opening a JSP page on click of an image

2005-06-13 Thread nithya karthik



thank u manish.
Manish Jethani <[EMAIL PROTECTED]> wrote:
On 6/13/05, nithya karthik <[EMAIL PROTECTED]> wrote:>    How to open a JSP page on click of an image in the tile list? JSP page> should open as a popup. HOw to do this? pls help with some code.  ...    function openJspPage():Void    {    getURL("http://foo.com/bar.jsp", "_blank");    }HTH.Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] [flexcoders to abdul] Passing data from one swf to another?

2005-06-13 Thread nithya karthik



hai,
  I have an swf from which data has to be passed on to another swf. can this be accomplished using a local connection? say i have a datagrid and an image in one swf. on click of the image a seperate swf must popup. in that swf i have a button which on click must update the datagrid in the first swf.Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] multi language usage?

2005-06-26 Thread nithya karthik



hai,
  I have a label which by default displays "TITLE" in english. I ahev a button which says 'French' which on click must change the label text to french. How to do this? Please help.Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] closing a pop up window

2005-06-27 Thread nithya karthik



hai,
 I want a pop up window to appear on click of a buuton and it must close on clicking a close image on the right top of it.. How should i do this? also any chnges done in the popup window should reflect on the main application which calls the window.. can u help with the code?
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] globalisation in flex..

2005-06-27 Thread nithya karthik



hai,
    I had posted a question regarding multilanguage usage in flex and manish had sent me a link.. The code of the link is as follows:
 
MXML: 
http://www.macromedia.com/2003/mxml">                                             
 
 
resource_bundle.as:
 
var txName = "Name"var txAddress = "Address"var txPhoneNumber = "Phone Number"var txSend = "Send"
 
resource_bundle_fr_FR.as:
var txName = "Nom"var txAddress = "Adresse"var txPhoneNumber = "Numéro De Téléphone"var txSend = "Envoyez"
 
 
What I need from this is, say i have 2 buttons in the mxml application namely 'English'  and 'French'.. when i click the english button the form labels should display the english text and when i click on the french button the form lebels should display the french text.. How to accomplish this? please help with the code..  
 
Thanks,
NithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] globalisation in flex..

2005-06-27 Thread nithya karthik



hi Matt,
    I tried the approach 3 but i get an error which says "Http service fault" you are not allowed to access the url http://localhost:8088/flex/globalisatio/en_US.xml via this proxy. This URL is not in the proxy's whitelist. what does it mean? 
 
and I tried the approach 2. the code is :
 
http://www.macromedia.com/2003/mxml">      {en_US}                                            
 
here say i have 2 buttons , one for english and other for french. how should i make it work? please send me the code for this.. 
 
thanks,
nithyaMatt Chotin <[EMAIL PROTECTED]> wrote:









You’re using approach 1 from Manish’s blog (http://manish.revise.org/2005/04/resource-bundles-in-flex.html).  I would look into using approach 2 or approach 3 for your problem.
 
Matt
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Monday, June 27, 2005 10:13 PMTo: flexcodersSubject: [flexcoders] globalisation in flex..
 

hai,

    I had posted a question regarding multilanguage usage in flex and manish had sent me a link.. The code of the link is as follows:

 

MXML: 

http://www.macromedia.com/2003/mxml">                                              

 

resource_bundle.as:

 

var txName = "Name"var txAddress = "Address"var txPhoneNumber = "Phone Number"var txSend = "Send"

 

resource_bundle_fr_FR.as:

var txName = "Nom"var txAddress = "Adresse"var txPhoneNumber = "Numéro De Téléphone"var txSend = "Envoyez"

 

 

What I need from this is, say i have 2 buttons in the mxml application namely 'English'  and 'French'.. when i click the english button the form labels should display the english text and when i click on the french button the form lebels should display the french text.. How to accomplish this? please help with the code..  

 

Thanks,

Nithya
Send instant messages to your online friends http://uk.messenger.yahoo.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] resource bundles in flex

2005-06-27 Thread nithya karthik




hai,
    I had posted a question regarding multilanguage usage in flex and manish had sent me a link.. The code of the link is as follows:
 
MXML: 
http://www.macromedia.com/2003/mxml">                                             
 
 
resource_bundle.as:
 
var txName = "Name"var txAddress = "Address"var txPhoneNumber = "Phone Number"var txSend = "Send"
 
resource_bundle_fr_FR.as:
var txName = "Nom"var txAddress = "Adresse"var txPhoneNumber = "Numéro De Téléphone"var txSend = "Envoyez"
 
 
What I need from this is, say i have 2 buttons in the mxml application namely 'English'  and 'French'.. when i click the english button the form labels should display the english text and when i click on the french button the form lebels should display the french text.. How to accomplish this? please help with the code..  
 
Thanks,
NithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] How to wrap text inside a button

2005-06-28 Thread nithya karthik



hai,
  I want the text inside a button to be wraped. right now i am using a var lbl : "save/n data"
 
and am binding it to the label field of the button as label={lbl}. It works but i want to know if there is any other way of doing it?
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] cairngorm framework error

2005-06-28 Thread nithya karthik



hai,
 I downloaded the cairngormstore and tried running it in my machine but it gives an error as 'products cannot be retrieved'.  can anyone tell me why it says so?
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Will not any flex application occupy the whole browser window?

2005-06-29 Thread nithya karthik



hai,
  Will not any flex application occupy the whole browser window? all applications have some space left around them. 
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Improving startup performance- error

2005-06-30 Thread nithya karthik



hai,
 I tried running the code given in the livedocs. the code is as follows:
http://www.macromedia.com/2003/mxml"  >
   
        
                                                              
   
 
when i run the application it gives syntax error for createLater function. why?
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] can anyone tell me about log4f for flex?

2005-06-30 Thread nithya karthik



hai.
 i want to have details about log4f for flex. can anyone help me with a link or thread which gives details about this? 
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Tab navigator container

2005-04-10 Thread nithya karthik



I am working on a project in Flex1.5, I would like to know the code of how to make a menu apper beneath the enabled Tab in a tab navigator on mouseover. please this is very urgent.. can u help me in this regard?
thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Tab navigator container

2005-04-10 Thread nithya karthik



Thanks for ur code.. But it is not what i exactly want.. I done want a menu bar to appear beneath the tab, i want just the menu ie, a rectangular area like a vbox holding a list of menus to appear just beneath the tab being enabled.. I have also sent a mail to ur personal id with the code that i am using now.. Please help me in this regard.. its an urgent requirement..
On Apr 11, 2005 10:26 AM, nithya karthik <[EMAIL PROTECTED]> wrote:> I am working on a project in Flex1.5, I would like to know the code of how> to make a menu apper beneath the enabled Tab in a tab navigator on> mouseover.             -- [EMAIL PROTECTED]http://manish.revise.org/  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] menu bar control

2005-04-11 Thread nithya karthik



 
 Thank u for ur reply.. suppose i need to use an external dataprovider for a menubar which is of the form :
 1 Artistry™ Skin Care and Cosmetics  A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women.   homephoto.jpg1   Dry-Skin  Testing jaxb  123.xml 
 
how should i use the dataprovider and retrive only the category name and display it in the menubar.. please help me inthis regard..
thanks,
nithyaManish Jethani <[EMAIL PROTECTED]> wrote:
On Apr 11, 2005 10:26 AM, nithya karthik <[EMAIL PROTECTED]> wrote:> I am working on a project in Flex1.5, I would like to know the code of how> to make a menu apper beneath the enabled Tab in a tab navigator on> mouseover.             -- [EMAIL PROTECTED]http://manish.revise.org/  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] menu bar control

2005-04-11 Thread nithya karthik



Thanks a lot Manish... I'd like to know how to change the default color of the menucontrol.. the attribte Fillcolors doesnt work.. nothing works including selectedfill color, background color etc,.. I would also like to know how to remove the default border of menubar control- setting the borderstyle to none doesnt work.. can u help me with this please..
thanks,
nithyaManish Jethani <[EMAIL PROTECTED]> wrote:
On Apr 11, 2005 4:05 PM, Manish Jethani <[EMAIL PROTECTED]> wrote:>   for (var i:uint = 0; i < foo.bar.category.length; i++)> menu.addItem(foo.bar.category[i]);Sorry, I meant Number, not uint.  A bit of a C programming hangover. :);-)-- [EMAIL PROTECTED]http://manish.revise.org/

  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] menu bar control

2005-04-11 Thread nithya karthik



sorry i meant menu bar control not menu control...

Thanks a lot Manish... I'd like to know how to change the default color of the menucontrol.. the attribte Fillcolors doesnt work.. nothing works including selectedfill color, background color etc,.. I would also like to know how to remove the default border of menubar control- setting the borderstyle to none doesnt work.. can u help me with this please..
thanks,
nithyaManish Jethani <[EMAIL PROTECTED]> wrote:
On Apr 11, 2005 4:05 PM, Manish Jethani <[EMAIL PROTECTED]> wrote:>   for (var i:uint = 0; i < foo.bar.category.length; i++)> menu.addItem(foo.bar.category[i]);Sorry, I meant Number, not uint.  A bit of a C programming hangover. :);-)-- [EMAIL PROTECTED]http://manish.revise.org/  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Menu Label

2005-04-12 Thread nithya karthik




   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] MenuBar Label

2005-04-12 Thread nithya karthik






I use tab navigator container to display the category names and the menubar to display the subcategories under each tab.. the menu bar should appear if and only if there is any subcategory under the selected tab.. but the problm with my coe is that it displays a menubar with label- 'undefined' when there is no subcategory... when there is a subcategory it displays   "[object object], 1,, [object object], null" when it is clicked.. i want to avoid this.. Please give me the code for this.. herewith i am giving the XML file code and the coresponding MXML code..
http://www.macromedia.com/2003/mxml" width="100%" height="500">      
  
the XML:
 1 Artistry™ Skin Care and Cosmetics  A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY™ is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales.  homephoto.jpg1   Dry-Skin  Testing jaxb  123.xml 
    2    Normal Skin   Testing jaxb  121  Aqua    Testing jaxb2    124.xml     13  Non-Aqua    Testing jaxb3    124.xml  
   3   Oily-Skin  Testing jaxb  125.xml        4   Sensitive-Skin  Testing jaxb  126.xml  
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Menubar control Anybody?

2005-04-12 Thread nithya karthik




I use tab navigator container to display the category names and the menubar to display the subcategories under each tab.. the menu bar should appear if and only if there is any subcategory under the selected tab.. but the problm with my coe is that it displays a menubar with label- 'undefined' when there is no subcategory... when there is a subcategory it displays   "[object object], 1,, [object object], null" when it is clicked.. i want to avoid this.. Please give me the code for this.. herewith i am giving the XML file code and the coresponding MXML code..
http://www.macromedia.com/2003/mxml" width="100%" height="500">        
the XML:
 1 Artistry™ Skin Care and Cosmetics  A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY™ is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales.  homephoto.jpg1   Dry-Skin  Testing jaxb  123.xml 
    2    Normal Skin   Testing jaxb  121  Aqua    Testing jaxb2    124.xml     13  Non-Aqua    Testing jaxb3    124.xml  
   3   Oily-Skin  Testing jaxb  125.xml        4   Sensitive-Skin  Testing jaxb  126.xml  
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] menu bar control- submenu issue

2005-04-17 Thread nithya karthik




hai,
  I have been using a menubar control which has 4 items.. only the 2nd item has sub menus inside it.. the others dont have.. the problem is when mouseDown on items without a child it displays "[object object], 1,,[object object], null"... how do i avoid this? please help me this issue
thanks,
nithya
 
my mxml code is:
 
http://www.macromedia.com/2003/mxml" width="100%" height="500">


 
the xml is:
 
 1 Artistry™ Skin Care and Cosmetics  A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY™ is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales.  homephoto.jpg1   Dry-Skin  Testing jaxb  123.xml   
    2    Normal Skin   Testing jaxb  121  Aqua    Testing jaxb2    124.xml     13  Non-Aqua    Testing jaxb3    124.xml  
   3   Oily-Skin  Testing jaxb  125.xml        4   Sensitive-Skin  Testing jaxb  126.xml  
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] [flexcoders-URGENT] Wipe effect for repeater objects- Programmatically

2005-04-19 Thread nithya karthik





Hai!  
   I have been trying to expand a VBox containg details of an Image that is being clicked.. The image is placed in Tile which is inside a repeater.. i have problem in accessing the repeater object.. i tried using the repeaterIndices.. but it doesnt work.. Can anyone help me in this issue please.. please send me the code.. thanks in advance..
Regards,
nithya..
The MXML which i tried is:
http://www.macromedia.com/2003/mxml">
  function show(index) { var e = new mx.effects.WipeDown(cart[index]);   e.show=true; e.duration = 300; e.playEffect();    }      function hide(index){ var f = new mx.effects.WipeUp(cart[index]);   f.show=false;    f.duration = 300;    f.playEffect();   }                
    
    
        
         
              
 
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] [flexcoders-URGENT] Wipe effect for repeater obj ects- Programmatically

2005-04-20 Thread nithya karthik



hai!
  I have not solved this.. Its not working properly even if  set the visibility to true.. and also the mouseover and moueout are not working as it should be.. can u pls help me in this issue?Matt Chotin <[EMAIL PROTECTED]> wrote:









You may have solved this by now but I don’t see you ever set the cart’s visibility to true.
 
Matt
 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 11:56 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] [flexcoders-URGENT] Wipe effect for repeater objects- Programmatically
 


 
Hai!  
   I have been trying to expand a VBox containg details of an Image that is being clicked.. The image is placed in Tile which is inside a repeater.. i have problem in accessing the repeater object.. i tried using the repeaterIndices.. but it doesnt work.. Can anyone help me in this issue please.. please send me the code.. thanks in advance..
Regards,
nithya..
The MXML which i tried is:
http://www.macromedia.com/2003/mxml">
  function show(index) { var e = new mx.effects.WipeDown(cart[index]);   e.show=true; e.duration = 300; e.playEffect();    }      function hide(index){ var f = new mx.effects.WipeUp(cart[index]);   f.show=false;    f.duration = 300;    f.playEffect();   }                
    
    
        
         
              
 




Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Urgent- Wipe effect to repeater objects...

2005-04-20 Thread nithya karthik




hai!
  I have already posted a mail regarding this .Pls dnt omit this.. I have been trying to apply wipe effect to a VBox which must appear just below the image in a tile... ?I use repeater to populate the images in the tile.. the problem is i dont know how to refer to the repeater object..I tried using the repeaterindices but it doesnt work.. i dont know if the approach is correct. i am new to flex, so someone plese help me with this.. please send me the code..
 
regards,
nithya
 
my MXML code is:

http://www.macromedia.com/2003/mxml">
  function show(index) { var e = new mx.effects.WipeDown(cart[index]);   e.show=true; e.duration = 300; e.playEffect();    }      function hide(index){ var f = new mx.effects.WipeUp(cart[index]);   f.show=false;    f.duration = 300;    f.playEffect();   }                
    
    
                                       
    
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Urgent- Wipe effect to repeater objects...

2005-04-20 Thread nithya karthik



Thanks a lot for ur immediate response.. Could you help me with changing the cursor to hand on mouseover of an image?  how to use a custom cursor?Matt Chotin <[EMAIL PROTECTED]> wrote:









Instead of having hide/show functions you could change the VBox to this:
 
    
 mouseOut="cart[event.target.repeaterIndices[0]].visible = false" >
 
The problem that I see is that those labels can get in the way, basically when the mouse goes over the label which is still technically inside the VBox the mouseOut event still fires.  I’m not sure what the right solution would be here, maybe having the mouseOver handler hide the last visible cart and show the new one?  I’ll let other people chime in here, this change should at least make it a little more stable.
 
Matt
 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 9:28 PMTo: flexcodersSubject: [flexcoders] Urgent- Wipe effect to repeater objects...
 


hai!

  I have already posted a mail regarding this .Pls dnt omit this.. I have been trying to apply wipe effect to a VBox which must appear just below the image in a tile... ?I use repeater to populate the images in the tile.. the problem is i dont know how to refer to the repeater object..I tried using the repeaterindices but it doesnt work.. i dont know if the approach is correct. i am new to flex, so someone plese help me with this.. please send me the code..

 

regards,

nithya

 

my MXML code is:



http://www.macromedia.com/2003/mxml">

  function show(index) { var e = new mx.effects.WipeDown(cart[index]);   e.show=true; e.duration = 300; e.playEffect();    }      function hide(index){ var f = new mx.effects.WipeUp(cart[index]);   f.show=false;    f.duration = 300;    f.playEffect();   }                

    

    

                                       

    





Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Custom cursor

2005-04-20 Thread nithya karthik



Hai! 
   Thanks a lot for ur immediate response.. Could you help me with changing the cursor to hand on mouseover of an image?  how to use a custom cursor? Also tell me how to cahne the defaukt color of a menubar, it doesnt change when i give fillcolors, selecrdfillcolors etc.. should i be giving it i the CSS and import it?  
 
regards,
nithya
   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Data Model

2005-04-21 Thread nithya karthik



 
Hai,
   I have a problem with the data model source. I have a model which provides data for a menubar.. the source i of the model hard coded.. But i want it to change dynamically during run time.. how can i do this? can i give something like 
 
 
please help me with the code..
 
right now the code i am using is:
 

http://www.macromedia.com/2003/mxml" width="100%" height="500">
  
          function labelFunc(item) : String { return item.getProperty("Name");    }        
 
   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Menubar source-- only XML? Urgent

2005-04-21 Thread nithya karthik



hai!
   I want to know if only a XML file can be a source for a menubar.. Can a list of array be the source for a menu bar like :
       Alabama Alaska Arkansas     
The above code doesnt work.. 
 
regrds,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] menubar- Array datapovider........

2005-04-22 Thread nithya karthik



Hai 
  I am using an array to populate a menubar.. I want to know how to bring out the submenus in the menubar.. the following code gives an error.
          
                    
the categories 'dry' and 'oily' shpuld be displayed as submenu under the beauty category... how should i do this...
pls send the code...
 
Regards,
 Nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Data Model

2005-04-26 Thread nithya karthik



hai!
 I dont get ur solution.. I am already using a remote object as a data service.. How should i use a http service in this case? cn u help me with some code... I am very new to flex thats y i keep buging u a lot.. sorry for this..
regards,
nithyaMatt Chotin <[EMAIL PROTECTED]> wrote:









Sorry for not answering sooner.  You should look into using the HTTPService instead of a Model in this case.  HTTPService can decode XML into an object structure but does it dynamically instead of statically like the Model does.
 
Matt
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Thursday, April 21, 2005 10:57 PMTo: flexcodersSubject: [flexcoders] Data Model
 

 

Hai,

   I have a problem with the data model source. I have a model which provides data for a menubar.. the source i of the model hard coded.. But i want it to change dynamically during run time.. how can i do this? can i give something like 

 

 

please help me with the code..

 

right now the code i am using is:

 



http://www.macromedia.com/2003/mxml" width="100%" height="500">

  

          function labelFunc(item) : String { return item.getProperty("Name");    }        

 

 



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] menubar event handling

2005-04-27 Thread nithya karthik



hai
    i have a menubar which contains a list of categories.. I want a tile of images to be displayed beneath the menubar on click of a particular menuitem.. the images have their source in an external XML file.. how should i do this? I am new to flex so kindly help me with this 
 
regards,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Vertical Text- is it possible?

2005-04-27 Thread nithya karthik



Hai!
  I want the text to be aligned vertically like:
S
H
O
P
P
I
N
G
 
Is it possible with flex? If yes, how?
 
regards,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Bounce effect-toggle effect

2005-04-27 Thread nithya karthik



hai!
  just try running the following code.. Actually it should make a vbox bounce from right to left on click and then bounce back to right.. but it doesnot.. It doesnot bounce back it only keeps moving left on evry click.. can u find where i have gone wrong?
 
regrds,
nithya
 
http://www.macromedia.com/2003/mxml" backgroundColor="#FF" hScrollPolicy="off">
   var price:Number;  public function setPrice( price:Number ) : Void  {  this.price = price ;  var priceDown = new mx.effects.Move( this.basketTotal );  priceDown.yBy = 20;  priceDown.duration = 100;  var priceUp = new mx.effects.Move( this.basketTotal );  priceUp.yBy = -20;  priceUp.duration = 100;  var soundEffect = new CashSoundEffect();  var priceRegister = new mx.effects.Sequence();  priceRegister.addChild( priceDown );  priceRegister.addChild( priceUp );  priceRegister.addChild( soundEffect );  priceRegister.playEffect();}
   mouseDownEffect="basketMoveRight"   mouseDown="toggleBasketEffect()"   width="47%"   height="100%"   id="basketPanel" x="670" hScrollPolicy="off">  borderStyle="solid" backgroundColor="#66CCFF" verticalGap="-1"> mouseOverEffect="productHoverIn"   mouseOutEffect="productHoverOut"   mouseDown="setPrice(39.99)"   id="product" />borderStyle="none"   styleName="price"
 text="{price}"/>  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] pop up window

2005-04-27 Thread nithya karthik



hai!
 I have a tile with images which on mouseover displays a vbox beneath.. I want a panel or a title window to pop up on click of the image.. the window must popup right over the image.. How should i do this? pls help me with some code..
 

http://www.macromedia.com/2003/mxml" backgroundColor="#FF">
              
    
    
                 mouseOver="cart[event.target.repeaterIndices[0]].visible=true"   mouseOut="cart[event.target.repeaterIndices[0]].visible=false"    source="{list.currentItem.image}" borderStyle="solid" borderColor="#C5B4DC"
 borderThickness="3"/>      marginTop="8" marginLeft="8" marginBottom="8" marginRight="8" visible="false"    hScrollPolicy="off" vScrollPolicy="off" cornerRadius="2"    showEffect="showCart" hideEffect="hideCart">    
             
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Bounce effect-toggle effect

2005-04-27 Thread nithya karthik



Thanks a lot. It worksJason Szeto <[EMAIL PROTECTED]> wrote:









Nithya,
 
    All effect triggers, like mouseDownEffect are styles. You need to access them using getStyle and setStyle. 
 
Instead of 
 
basketPanel["mouseDownEffect"] = "basketMoveRight";
 
Use 
 
basketPanel.setStyle(“mouseDownEffect”, “basketMoveRight”);
 
Jason
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Wednesday, April 27, 2005 3:43 AMTo: flexcodersSubject: [flexcoders] Bounce effect-toggle effect
 

hai!

  just try running the following code.. Actually it should make a vbox bounce from right to left on click and then bounce back to right.. but it doesnot.. It doesnot bounce back it only keeps moving left on evry click.. can u find where i have gone wrong?

 

regrds,

nithya

 

http://www.macromedia.com/2003/mxml" backgroundColor="#FF" hScrollPolicy="off">

   var price:Number;  public function setPrice( price:Number ) : Void  {  this.price = price ;  var priceDown = new mx.effects.Move( this.basketTotal );  priceDown.yBy = 20;  priceDown.duration = 100;  var priceUp = new mx.effects.Move( this.basketTotal );  priceUp.yBy = -20;  priceUp.duration = 100;  var soundEffect = new CashSoundEffect();  var priceRegister = new mx.effects.Sequence();  priceRegister.addChild( priceDown );  priceRegister.addChild( priceUp );  priceRegister.addChild( soundEffect );  priceRegister.playEffect();}

   mouseDownEffect="basketMoveRight"   mouseDown="toggleBasketEffect()"   width="47%"   height="100%"   id="basketPanel" x="670"
 hScrollPolicy="off">  borderStyle="solid" backgroundColor="#66CCFF" verticalGap="-1"> mouseOverEffect="productHoverIn"   mouseOutEffect="productHoverOut"   mouseDown="setPrice(39.99)"   id="product" />borderStyle="none"   styleName="price" text="{price}"/>



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Menubar fillcolors- It never works..

2005-04-28 Thread nithya karthik



Hai,
  I find difficulty in using the fillcolors for the menubar, tab-navigtor..
when i give some colos in the fill colors , it doesnot work.. I have already posted this same question ten days before but i havent got any response.. can anyone help me with this?
 
regards,
nithya
   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] menubar color

2005-04-29 Thread nithya karthik



selection color, selected fillcolor, fillcolor- nothing works with the menubar.. should i be using the CSS to change this?  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] [fleccoders] double click

2005-05-01 Thread nithya karthik



hai!
  I want some change to occur in a datagrid on double click of an image in the Tile.. The datagrid and the tile are in seperate Mxml files,they are different  components.. How can i do this..
 can anybody help me with the code?
 
regards,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Dynamically changing the source of XML- is it possible?

2005-05-02 Thread nithya karthik



hai!
 I have an accordion which gets its contents from a repeater. each vbox in the accordion has a button which on click must take me to a different viewstack containing images from different xml files.. right now i am able to capture the click event to display a viewstack containg images but i'd like to know if i can dynamically change the source of xml which provides the images so that i can get what i expect. please help me with some code.. if it is not possible to change the xml source dynamically then what is the alternative?
regards,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Dynamically changing the source of xml

2005-05-03 Thread nithya karthik



thanks.. Your code works well. but in your code u dont have the buttons 
inside a repeater.. imagine i have the buttons inside a repeater ,then how can i make the menuitems to appear dynamically again from different XML files?
pls help me with some code..
thanks®ards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:
Model is compile time object, which means you can only mention source oncompile time. If you want to load different XML on runtime, you should useHTTPService instead. What I understand from your code is, you are loading anxml into a Model and binding Model to MenuBar's dataProvider.Following is a quick example, that allows to load two different xml data forMenuBar. You can see, how HTTPService is able to load xml files on runtimeand result is bound to MenuBar dataProvider.You can find the attached file, place in flex application directory and runthe HTTPServiceExample.mxml.1) ##HTTPServiceExample.mxml##xmlns:mx="http://www.macromedia.com/2003/mxml" 
 >                    useProxy="false">                2) ##menudata1.xml##   3) ##menudata2.xml##  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 11:53 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Data Modelhai! I dont get ur solution.. I am already using a remote object as a dataservice.. How should i use a http service in this case? cn u help me withsome code... I am very new to flex thats y i keep buging u a lot.. sorry forthis..regards,nithyaMatt Chotin <[EMAIL PROTECTED]> wrote:  Sorry for not answering sooner.  You should look into using theHTTPService instead of a Model in this case.  HTTPService can decode XMLinto an object structure but does it dynamically instead of statically
 likethe Model does.    Matt        From: flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED]   Sent: Thursday, April 21, 2005 10:57 PM  To: flexcoders  Subject: [flexcoders] Data Model      Hai,     I have a problem with the data model source. I have a modelwhich provides data for a menubar.. the source i of the model hard coded..But i want it to change dynamically during run time.. how can i do this? cani give something like
   source="../WEB-INF/Classes/com/jp/amway/shopping/Products/{subcatList.currentItem.name}.xml"/>    please help me with the code..    right now the code i am using is:      http://www.macromedia.com/2003/mxml"width="100%" height="500">                      function labelFunc(item) : String   {   return item.getProperty("Name");      }              source="../WEB-INF/Classes/com/jp/amway/shopping/Products/cat_Artistry.xml"/>   labelFunction="labelFunc"  mouseDown="event.menuItem.attributes.label"/>   
     Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Download MessengerNow  Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Download MessengerNow  Yahoo! Groups Links*  To visit your group on the web, go to:  http://groups.yahoo.com/group/flexcoders/    *  To unsubscribe from this group, send an email to:  [EMAIL PROTECTED]     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Dynamically changing the source of xml

2005-05-03 Thread nithya karthik




thanks.. Your code works well. but in your code u dont have the buttons 
inside a repeater.. imagine i have the buttons inside a repeater ,then how can i make the menuitems to appear dynamically again from different XML files?
pls help me with some code..
thanks®ards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:
Model is compile time object, which means you can only mention source oncompile time. If you want to load different XML on runtime, you should useHTTPService instead. What I understand from your code is, you are loading anxml into a Model and binding Model to MenuBar's dataProvider.Following is a quick example, that allows to load two different xml data forMenuBar. You can see, how HTTPService is able to load xml files on runtimeand result is bound to MenuBar dataProvider.You can find the attached file, place in flex application directory and runthe HTTPServiceExample.mxml.1) ##HTTPServiceExample.mxml##xmlns:mx="http://www.macromedia.com/2003/mxml" 
 >                    useProxy="false">                2) ##menudata1.xml##   3) ##menudata2.xml##  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 11:53 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Data Modelhai! I dont get ur solution.. I am already using a remote object as a dataservice.. How should i use a http service in this case? cn u help me withsome code... I am very new to flex thats y i keep buging u a lot.. sorry forthis..regards,nithyaMatt Chotin <[EMAIL PROTECTED]> wrote:  Sorry for not answering sooner.  You should look into using theHTTPService instead of a Model in this case.  HTTPService can decode XMLinto an object structure but does it dynamically instead of statically
 likethe Model does.    Matt        From: flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED]   Sent: Thursday, April 21, 2005 10:57 PM  To: flexcoders  Subject: [flexcoders] Data Model      Hai,     I have a problem with the data model source. I have a modelwhich provides data for a menubar.. the source i of the model hard coded..But i want it to change dynamically during run time.. how can i do this? cani give something like
   source="../WEB-INF/Classes/com/jp/amway/shopping/Products/{subcatList.currentItem.name}.xml"/>    please help me with the code..    right now the code i am using is:      http://www.macromedia.com/2003/mxml"width="100%" height="500">                      function labelFunc(item) : String   {   return item.getProperty("Name");      }              source="../WEB-INF/Classes/com/jp/amway/shopping/Products/cat_Artistry.xml"/>   labelFunction="labelFunc"  mouseDown="event.menuItem.attributes.label"/>   
     Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Download MessengerNow  Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Download MessengerNow  Yahoo! Groups Links*  To visit your group on the web, go to:  http://groups.yahoo.com/group/flexcoders/    *  To unsubscribe from this group, send an email to:  [EMAIL PROTECTED]     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Dynamically changing the source of xml

2005-05-03 Thread nithya karthik



hai,
 here is my code. i either want to change the viewstack dynamically or tell if it will be possible to replace the vbox by the images...
http://www.macromedia.com/2003/mxml" width="100%" height="100%"> [Event("change")]    
 
                                                                                                           
Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi,
 
Can you post your code so that I can see it and reply in its context?
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 12:43 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Dynamically changing the source of xml


thanks.. Your code works well. but in your code u dont have the buttons 
inside a repeater.. imagine i have the buttons inside a repeater ,then how can i make the menuitems to appear dynamically again from different XML files?
pls help me with some code..
thanks®ards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:
Model is compile time object, which means you can only mention source oncompile time. If you want to load different XML on runtime, you should useHTTPService instead. What I understand from your code is, you are loading anxml into a Model and binding Model to MenuBar's dataProvider.Following is a quick example, that allows to load two different xml data forMenuBar. You can see, how HTTPService is able to load xml files on runtimeand result is bound to MenuBar dataProvider.You can find the attached file, place in flex application directory and runthe HTTPServiceExample.mxml.1) ##HTTPServiceExample.mxml##xmlns:mx="http://www.macromedia.com/2003/mxml" 
 >                    useProxy="false">                2) ##menudata1.xml##   3) ##menudata2.xml##  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 11:53 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Data Modelhai! I dont get ur solution.. I am already using a remote object as a dataservice.. How should i use a http service in this case? cn u help me withsome code... I am very new to flex thats y i keep buging u a lot.. sorry forthis..regards,nithyaMatt Chotin <[EMAIL PROTECTED]> wrote:  Sorry for not answering sooner.  You should look into using theHTTPService instead of a Model in this case.  HTTPService can decode XMLinto an object structure but does it dynamically instead of statically
 likethe Model does.    Matt        From: flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED]   Sent: Thursday, April 21, 2005 10:57 PM  To: flexcoders  Subject: [flexcoders] Data Model      Hai,     I have a problem with the data model source. I have a modelwhich provides data for a menubar.. the source i of the model hard coded..But i want it to change dynamically during run time.. how can i do this? cani give something like
   source="../WEB-INF/Classes/com/jp/amway/shopping/Products/{subcatList.currentItem.name}.xml"/>    please help me with the code..    right now the code i am using is:      http://www.macromedia.com/2003/mxml"width="100%" height="500">                      function labelFunc(item) : String   {   return item.getProperty("Name");      }              source="../WEB-INF/Classes/com/jp/amway/shopping/Products/cat_Artistry.xml"/>   labelFunction="labelFunc"  mouseDown="event.menuItem.attributes.label"/>   
     Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Download MessengerNow  Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Download MessengerNow  Yahoo! Groups Links*  To visit your group on the web, go to:  http://groups.yahoo.com/group/flexcoders/    *  To unsubscribe from this group, send an email to:  [EMAIL PROTECTED]     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
 


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit y

RE: [flexcoders] Dynamically changing the source of xml

2005-05-04 Thread nithya karthik



The accordion in my code is used to display the category names.. assume i have 3 categories(ie.. 3 VBoxes in the accordion).. in each Vbox there is a button named"show products" which on click must display a viewstack containing the products.. the product names come from an Xml.. SO for the first category i have a viewstack and for the second another viewstack and so on.. I will nothave problm using the http service if i dont have a repeater but since i have a repeater how to specify a different viewstack on click of a particular category's button?Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Can you please explain, what is this code doing and what do you want to achieve? I don't see any ViewStack...
 
 
If you want to dynamically change "assets/category.xml" then you can use HTTPService.
 
 
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 2:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Dynamically changing the source of xml

hai,
 here is my code. i either want to change the viewstack dynamically or tell if it will be possible to replace the vbox by the images...
http://www.macromedia.com/2003/mxml" width="100%" height="100%"> [Event("change")]    
 
                                                                                                           
Abdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi,
 
Can you post your code so that I can see it and reply in its context?
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 12:43 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Dynamically changing the source of xml


thanks.. Your code works well. but in your code u dont have the buttons 
inside a repeater.. imagine i have the buttons inside a repeater ,then how can i make the menuitems to appear dynamically again from different XML files?
pls help me with some code..
thanks®ards,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:
Model is compile time object, which means you can only mention source oncompile time. If you want to load different XML on runtime, you should useHTTPService instead. What I understand from your code is, you are loading anxml into a Model and binding Model to MenuBar's dataProvider.Following is a quick example, that allows to load two different xml data forMenuBar. You can see, how HTTPService is able to load xml files on runtimeand result is bound to MenuBar dataProvider.You can find the attached file, place in flex application directory and runthe HTTPServiceExample.mxml.1) ##HTTPServiceExample.mxml##xmlns:mx="http://www.macromedia.com/2003/mxml" 
 >                    useProxy="false">                2) ##menudata1.xml##   3) ##menudata2.xml##  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 11:53 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Data Modelhai! I dont get ur solution.. I am already using a remote object as a dataservice.. How should i use a http service in this case? cn u help me withsome code... I am very new to flex thats y i keep buging u a lot.. sorry forthis..regards,nithyaMatt Chotin <[EMAIL PROTECTED]> wrote:  Sorry for not answering sooner.  You should look into using theHTTPService instead of a Model in this case.  HTTPService can decode XMLinto an object structure but does it dynamically instead of statically
 likethe Model does.    Matt        From: flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED]   Sent: Thursday, April 21, 2005 10:57 PM  To: flexcoders  Subject: [flexcoders] Data Model      Hai,     I have a problem with the data model source. I have a modelwhich provides data for a menubar.. the source i of the model hard coded..But i want it to change dynamically during run time.. how can i do this? cani give something like
   source="../WEB-INF/Classes/com/jp/amway/shopping/Products/{subcatList.currentItem.name}.xml"/>    please help me with the code..    right now the code i am using is:      http://www.macromedia.com/2003/mxml"width="100%" height="500">                      function labelFunc(item) : String   {   return item.getProperty("Name");      }              source="../WEB-INF/Classes/com/jp/amway/shopping/Products/cat_Artistry.xml"/>   labelFunction="labelFunc"  mouseDown="event.menuItem.attributes.label"/>   
     Yahoo! Messenger  - Communicate instantly..."Ping" your friends today! Downl

[flexcoders] Vertical Accordion?

2005-05-05 Thread nithya karthik



HAi,
   Is there any possibility to have a vertical accordion in flex? anything like Rotate can be used to rotate the whole container? i came to know it is possible with laszlo.. 
 
thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Gantt chart in flex?

2005-05-11 Thread nithya karthik



hai,
    I'd like to know if there is any possibility of creating a gantt chart in flex, if yes how? 
 
thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] HOw to change the foldericon of the tree dynamically acording to some condition?

2005-05-11 Thread nithya karthik



hai,
  I'd like to know how to change the folderopen and folderclose icon of a tree control dynamically according to some condition (say when the node label is "books", i want the folderopenIcon to be 'books.png'..)
 
help me with some code for this 
 
How should i use the IconFuntion in a tree? 
 
thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] RE: [flexcoders-matt Chotin] HOw to change the foldericon of the tree dynamic ally acording to some condition?

2005-05-11 Thread nithya karthik



hai,
    thanks.. I tried something like the following and it didnt work.. can you pls tell where i have gone wrong..
 
http://www.macromedia.com/2003/mxml">                          
    
Matt Chotin <[EMAIL PROTECTED]> wrote:









iconFunction should return the symbol that should be used as the icon.  So you would embed your image and then return it as appropriate:
 
[Embed(source=”myBookIcon.jpg”)]
var bookIcon : String;
 
function iconFunc(item)
{
  if (item.label == “books”) return bookIcon;
  else return someOtherIconName;
}
 
If you want to use the original icons if yours isn’t appropriate you can get the defaultLeafIcon, folderOpenIcon, and folderClosedIcon (myTree.getStyle(“defaultLeafIcon”))
 
HTH,
Matt
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Wednesday, May 11, 2005 2:41 AMTo: flexcodersSubject: [flexcoders] HOw to change the foldericon of the tree dynamically acording to some condition?
 

hai,

  I'd like to know how to change the folderopen and folderclose icon of a tree control dynamically according to some condition (say when the node label is "books", i want the folderopenIcon to be 'books.png'..)

 

help me with some code for this 

 

How should i use the IconFuntion in a tree? 

 

thanks,

nithya



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] [flexcoders-matt Chotin] HOw to change the f oldericon of the tree dynamic ally acording to some condition?

2005-05-11 Thread nithya karthik



I treid correcting As u said but still it doesnt work for me... The defaultIcon doesnt change at all.. Where am i going wrong?
this is my code right now:
http://www.macromedia.com/2003/mxml">                       
    
Matt Chotin <[EMAIL PROTECTED]> wrote:









I don’t see you actually assigning the iconFunc to the Tree ().  Also you need a return in front of your myTree.getStyle(“defaultLeafIcon”).
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Wednesday, May 11, 2005 10:05 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] RE: [flexcoders-matt Chotin] HOw to change the foldericon of the tree dynamic ally acording to some condition?
 

hai,

    thanks.. I tried something like the following and it didnt work.. can you pls tell where i have gone wrong..

 

http://www.macromedia.com/2003/mxml">                          

    

Matt Chotin <[EMAIL PROTECTED]> wrote:

iconFunction should return the symbol that should be used as the icon.  So you would embed your image and then return it as appropriate:
 
[Embed(source=”myBookIcon.jpg”)]
var bookIcon : String;
 
function iconFunc(item)
{
  if (item.label == “books”) return bookIcon;
  else return someOtherIconName;
}
 
If you want to use the original icons if yours isn’t appropriate you can get the defaultLeafIcon, folderOpenIcon, and folderClosedIcon (myTree.getStyle(“defaultLeafIcon”))
 
HTH,
Matt
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Wednesday, May 11, 2005 2:41 AMTo: flexcodersSubject: [flexcoders] HOw to change the foldericon of the tree dynamically acording to some condition?
 

hai,

  I'd like to know how to change the folderopen and folderclose icon of a tree control dynamically according to some condition (say when the node label is "books", i want the folderopenIcon to be 'books.png'..)

 

help me with some code for this 

 

How should i use the IconFuntion in a tree? 

 

thanks,

nithya



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now 



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] RE: [flexcoders-Ely Greenfield ] Gantt chart in flex?

2005-05-11 Thread nithya karthik



I have never come across a 'floating bar chart' in flex 1.5... Could u pls tell me how to use it? Ely Greenfield <[EMAIL PROTECTED]> wrote:









 
 
Nithya – 
 
Flex 1.5 supports a ‘floating bar chart’ component, which is sufficient for what most people mean when they ask for a gantt chart.
 
If you’re looking for something more complex than that…with dependencies, etc….you’ll have to write it yourself in Flex 1.5.  In Flex 2.0 we are looking at ways to open up the charting platform even more so you can build a custom gantt chart on top of the built in types that ship with the product.
 
Ely.
 
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Wednesday, May 11, 2005 1:21 AMTo: flexcodersSubject: [flexcoders] Gantt chart in flex?Importance: High
 

hai,

    I'd like to know if there is any possibility of creating a gantt chart in flex, if yes how? 

 

thanks,

nithya



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Legend in chart..

2005-05-12 Thread nithya karthik



hai,
    I'd like to know if the legend for chart can be made horizontal.. by defult the legend items are aligned vertically, but i want it to be vertical. how to do it?
 
and how do i have the x-axis of a bar  chart at the top instead the bottom?  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] How to load a .mdb from a flex application?

2005-05-12 Thread nithya karthik



hai,
  How to load a .mdb file from a flex application either on click of a button or somehow?
thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] How to load a .mdb from a flex application?

2005-05-12 Thread nithya karthik



Is there  any possibility to run an EXE on click of a button( i'd like to open an MS Access application)
regards,
nithyaSteven Webster <[EMAIL PROTECTED]> wrote:


Do you mean how to do you connect Flex to an access database ?!?   Flex doesn't
connect directly to a database; you would have some middleware perform your database
integration (eg j2EE code, or some C# code exposed as a web service) and them use
one of the Flex Data Service APIs (eg RemoteObject or WebService tag) to invoke
methods on your middleware that are responsible for interrogating your database.
 
Steven
 



--
Steven WebsterTechnical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: 12 May 2005 11:24To: flexcodersSubject: [flexcoders] How to load a .mdb from a flex application?

hai,
  How to load a .mdb file from a flex application either on click of a button or somehow?
thanks,
nithya


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Dynamically changing the default icon of tree

2005-05-12 Thread nithya karthik



hai,
 I' like to change the default icon for the tree based on some condition. the code which i'm using right now doen't work.. pls tell me where i go wrong
 
http://www.macromedia.com/2003/mxml">        .
    .
.    
    
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] How to load a .mdb from a flex application?

2005-05-12 Thread nithya karthik



Hai,
 I tried using the getURL(), but it didnt work.. I need to open an MS Access application with the particular .mdb file opened on click of a button or something... please help me with the code
 
thanks,
nithyaAbdul Qabiz <[EMAIL PROTECTED]> wrote:


Hi,
 
I guess, you can try to open .mdb file using getURL(..), user would be prompted to save or open the file. File would be opened with default application to open .mdb, which is MS Access if someone has not changed it to Open Office :)try this:
 
getURL("my.mdb", "_blank");
 
-abdul
 
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Thursday, May 12, 2005 4:44 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to load a .mdb from a flex application?

Is there  any possibility to run an EXE on click of a button( i'd like to open an MS Access application)
regards,
nithyaSteven Webster <[EMAIL PROTECTED]> wrote:


Do you mean how to do you connect Flex to an access database ?!?   Flex doesn't
connect directly to a database; you would have some middleware perform your database
integration (eg j2EE code, or some C# code exposed as a web service) and them use
one of the Flex Data Service APIs (eg RemoteObject or WebService tag) to invoke
methods on your middleware that are responsible for interrogating your database.
 
Steven
 



--
Steven WebsterTechnical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: 12 May 2005 11:24To: flexcodersSubject: [flexcoders] How to load a .mdb from a flex application?

hai,
  How to load a .mdb file from a flex application either on click of a button or somehow?
thanks,
nithya


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now 


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Changing the default icon of a tree

2005-05-12 Thread nithya karthik



Hai,
  I have alreadt posted a question regarding this.. I want to change the default icon of the node of a tree dynamically.. i am now using a iconFunction to do it, but it doesnt work.. can anybody help me with this? 
 
http://www.macromedia.com/2003/mxml">            :
    :     
    
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Datagrid word wrap- it isnt working.

2005-05-15 Thread nithya karthik



Hai,
   when i give wordwrap="true" in a datagrid,  it isnt wraping the text... May i know the reason and the way  to rectify it?
I used something like this:
 
I want 'Total' in the first line and 'reserves' in the next line of the header.. How to do this?  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Datagrid word wrap- it isnt working.

2005-05-16 Thread nithya karthik



Hai,
 I tried giving variableRowHeight to true and wordwrap=true but still it doesnt work. pls help me with this.. 
my code is:
         
I want the column to display "total" in the first line of the header and "reserves" in the next line..Matt Chotin <[EMAIL PROTECTED]> wrote:









Have you set variableRowHeight to true?
 




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Sunday, May 15, 2005 10:14 PMTo: flexcodersSubject: [flexcoders] Datagrid word wrap- it isnt working.
 

Hai,

   when i give wordwrap="true" in a datagrid,  it isnt wraping the text... May i know the reason and the way  to rectify it?

I used something like this:

 

I want 'Total' in the first line and 'reserves' in the next line of the header.. How to do this?



Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now   
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










  1   2   >