[flex_india:31152] Regarding Video Chat

2010-08-17 Thread pradeep.pa...@gmail.com
Hi,
I am developing a video chat application. The video is published at
200x100 resolution. At the subscribing end, the other user subscribes
to a higher resolution of 220x120. The problem is the subscriber is
able to see only video resolution of 200x100.
Does the max. video size for subscribing cannot exceed the publishing
video size??

Thanks.

Pradeep

-- 
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



[flex_india:30320] release build of flex project from command prompt

2010-06-08 Thread pradeep.pa...@gmail.com
Hi,
Can we make a release build of a flex project from command prompt.
If yes, Please explain with an example.

Thanks.

Pradeep

-- 
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



[flex_india:29222] Error #1009

2010-03-18 Thread pradeep.pa...@gmail.com
Hi All,
I am developing an application wherein i need to navigate among
different pages.
All these pages (page1, page2, page3...)are under viewstack.
I am navigating from page1 to page2 using
page2.addEventListener(FlexEvent.SHOW, abc);
viewStack.selectedChild = page2;
function abc(event)
{
page2.removeEventListener(FlexEvent.SHOW, abc);
}
And when I am in page2 and tried navigate to page 1 using
viewStack.selectedChild = page1;

The problem is here
now when i navigate from page 1 to page2 using
page2.addEventListener(FlexEvent.SHOW, abc);
viewStack.selectedChild = page2;
function abc(event)
{
page2.removeEventListener(FlexEvent.SHOW, abc);
}

i am getting an Error popup saying:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at mx.containers::Panel/mx.containers:Panel::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()

I have no clue why its happening

Any Help Please.

Pradeep


-- 
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



[flex_india:29227] Re: Error #1009

2010-03-18 Thread pradeep.pa...@gmail.com
Thaks for your reply.
I tried, but no use.

Pradeep

On Mar 18, 5:16 pm, krishna shinde krish.shinde2...@gmail.com wrote:
 Hi,
   i think
     as all of your pages are under viewstack , there is no need to add event
 listener for moving between diffrent pages,
  u can do it using viewstackid.selectindex=page no.

 thanks  regards
 Krishna Shinde
 GridLogics Technologies
 9028903199

 On Thu, Mar 18, 2010 at 5:33 PM, pradeep.pa...@gmail.com 





 pradeep.pa...@gmail.com wrote:
  Hi All,
  I am developing an application wherein i need to navigate among
  different pages.
  All these pages (page1, page2, page3...)are under viewstack.
  I am navigating from page1 to page2 using
  page2.addEventListener(FlexEvent.SHOW, abc);
  viewStack.selectedChild = page2;
  function abc(event)
  {
         page2.removeEventListener(FlexEvent.SHOW, abc);
  }
  And when I am in page2 and tried navigate to page 1 using
  viewStack.selectedChild = page1;

  The problem is here
  now when i navigate from page 1 to page2 using
  page2.addEventListener(FlexEvent.SHOW, abc);
  viewStack.selectedChild = page2;
  function abc(event)
  {
         page2.removeEventListener(FlexEvent.SHOW, abc);
  }

  i am getting an Error popup saying:
  TypeError: Error #1009: Cannot access a property or method of a null
  object reference.
  at mx.containers::Panel/mx.containers:Panel::commitProperties()
  at mx.core::UIComponent/validateProperties()
  at mx.managers::LayoutManager/::validateProperties()
  at mx.managers::LayoutManager/::doPhasedInstantiation()
  at 
  Function/http://adobe.com/AS3/2006/builtin::apply()http://adobe.com/AS3/2006/builtin::apply%28%29
  at mx.core::UIComponent/::callLaterDispatcher2()
  at mx.core::UIComponent/::callLaterDispatcher()

  I have no clue why its happening

  Any Help Please.

  Pradeep

  --
  You received this message because you are subscribed to the Google Groups
  Flex India Community group.
  To post to this group, send email to flex_in...@googlegroups.com.
  To unsubscribe from this group, send email to
  flex_india+unsubscr...@googlegroups.comflex_india%2bunsubscr...@googlegrou­ps.com
  .
  For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.

 --- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



[flex_india:28523] Getting Item Index using Data Field

2010-02-14 Thread pradeep.pa...@gmail.com
Hi
I have a doubt on Arrays.
I have some thing like this:
memberNamesCollection:array = new Array();
memberNamesCollection.push({memberName:name, Age:age});

Each users registers their name and age as mention above into the
memberNamesCollection array;

Now, How to get the index of a particular member using memberName
data field ONLY and using indexOf.
Also i wud not like to use for loop here.

Thanks,
Pradeep Pasam

-- 
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



[flex_india:26915] Flash Player Settings

2009-11-29 Thread pradeep.pa...@gmail.com
Hi All,
Is there a way to set (enable) reduce echo option under Microphone
of the Flash from FLEX ITSELF??
That is, i need to it set from the flex code, not by right click-
settings-microphone-reduce echo.

How to do it??

Regards

Pradeep

--

You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.




[flex_india:26629] Re: Useful Actionscript and Flex optimization techniques

2009-11-13 Thread pradeep.pa...@gmail.com
Hi,
You can go through the links mentions below:

http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/

On Nov 11, 7:47 pm, Ramya Arumugam friendramya2...@gmail.com wrote:
 Hi Saravana,

 Thank you for sharing your knowledge with us. It would be helpfull for
 everyone, who are all using FLEX.

 Thanks,
 Ramya



 On Wed, Nov 11, 2009 at 8:09 PM, Saravanan saras...@gmail.com wrote:

  HI All,

  I come across this tips of optimizing Actionscript and flex code...

 http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html

  If anyone know more please add it to the post

  Thanks
  Sara
 http://www.designscripting.com- Hide quoted text -

 - Show quoted text -

--

You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=.




[flex_india:26630] Text area to Text file

2009-11-13 Thread pradeep.pa...@gmail.com
Hi,
I am developing a chat application using a text input and text area.
I wanted to save the text chat to a text file on to local machine??
That is, all
enteries of the text chat area are required to be save to a text file.
Any Idea??

Regards,
Pradeep

--

You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=.




[flex_india:25867] Regarding PopUp Button Menu

2009-10-13 Thread pradeep.pa...@gmail.com

Hi all,
I am developing a chat application in which I use PopUp Button. When
the application is completed creation i am initializing the popup
button menu. I am getting PopUp Menu overlap ie; At any point of time
any user of the Chat can change the Menu items of the PopUp button
menu. When a user is doing so and the other user just has opened his
PopUp button menu, The old menu drop down still exits though a new
menu is updated.
How to get rid of this issue.

Snap of my code:

..
private var PreferencesMenu:Menu;
private var PreferencesMenuItems:Array;
private function PreferencesMenuInitialization(isReset:Boolean):void
{
if(isReset)
{
PreferencesMenu = new Menu();

PreferencesMenuItems /* of String */ = [];

PreferencesMenuItems[0] = operation 1;
PreferencesMenuItems[1] = operation 2;
PreferencesMenuItems[2] = operation 3;
PreferencesMenu.addEventListener(itemClick,
PreferencesMenuClickHandler);
PreferencesMenu.addEventListener(MouseEvent.ROLL_OUT,
PreferencesPopUpBtnClose);
}

PreferencesMenu.dataProvider = PreferencesMenuItems;
preferencesPopUpBtn.popUp = PreferencesMenu;
}
..

private var PreferencesMenuNew:Menu;
private var PreferencesMenuItemsNew:Array;
private function PreferencesMenuInitializationNew
(isReset:Boolean):void
{
if(isReset)
{
PreferencesMenuNew = new Menu();

PreferencesMenuItemsNew /* of String */ = [];

PreferencesMenuItemsNew[0] = operation 1;
PreferencesMenuItemsNew[1] = operation 2;
PreferencesMenuItemsNew[2] = operation 3;
PreferencesMenuNew.addEventListener(itemClick,
PreferencesMenuClickHandlerNew);
PreferencesMenuNew.addEventListener(MouseEvent.ROLL_OUT,
PreferencesPopUpBtnClose);
}

PreferencesMenuNew.dataProvider = PreferencesMenuItemsNew;
preferencesPopUpBtn.popUp = PreferencesMenuNew;
}

mx:PopUpButton id=preferencesPopUpBtn label=Preferences
openAlways=true color=black textAlign=left
creationComplete=PreferencesMenuInitialization(true)
closeDuration=500 fillAlphas=[0.5, 0.5, 0.0, 0.0]
fillColors=[#0054A5, #82CA9C]/

Any chat user can change (using PreferencesMenuInitializationNew
(true)) so that the menu of that PopUp button for all chat users
becomes PreferencesMenuInitializationNew(true)
Here, old menu of PreferencesMenu still exist while new menu
PreferencesMenuItemsNew updatig as menu Items of PopUp Button Menu

Any Idea how to tackle this issue

Regards,
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24334] Regarding Menu, MenuItems

2009-08-06 Thread pradeep.pa...@gmail.com

Hi All,
I need help on a issue. How to disable menuitem(s) of a menu.
The code is as follows:

private function function1():void
{
 Menu = new Menu();
 MenuItem =  new Array();

  MenuItem [0] = Task 1;
  MenuItem [1] = Task2;

  Menu .addEventListener(itemClick, menuSelectHandler);
  Menu.dataProvider = MenuItem;
  popupbutton.popUp = Menu;

}

mx:PopUpButton id=popupbutton openAlways=true
creationComplete=function1() /

Here, when menuitem Task1 is selected, Task2 must be disabled
(greyout) (just like button.disable=true) and vice versa.

Thanks,

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:23646] Regarding Panel and its child

2009-07-10 Thread pradeep.pa...@gmail.com

Hi,
I have an application where there is a panel inside a VDividedBox. The
panel is set to 100% width and 60% height. In that panel there is an
canvas which is set to a width and height of 800x500.
I wanted to know how to get the exact width and height of canvas when
ever the panel is resized by draging the VDividedBox.

mx:VDividedBox
mx:Panel id=panel1 width=100% height=60%
mx:Canvas id=canvas width=800 height=500/
/mx:Panel
/mx:VDividedBox

The dimension of canvas i requires is excluding the border dimensions
of panel

Regards

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:21094] Screen Resolution

2009-04-01 Thread pradeep.pa...@gmail.com

Hi All,
I need some help on Screen resolution for my application.
When my application is opened on a machine with 1280x960, the layout
is fine.
But when opened on machine with 1024x768, some section of the
applicaton is not shown and can be seen with horizontal scroll.
Now i wanted to know the screen resolution so that the width can be
equated to the application width, is some thing like this possible??
I have tried out like
Application.application.width = Capabilities.screenResolutionX;

But of no use. :)

Pls reply

regards

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:20849] Shared Object

2009-03-25 Thread pradeep.pa...@gmail.com

Hi All,
I am developing a chat application where in i have a canvas on which i
annotate.
All the online users of this application will also be updated with
these annotations.
Now, Say
A and B are online and are annotating. So, at A's canvas and B's
canvas the annotations are drawn. A boolean flag IsAnnotate is set
true if annotations are done else it is false.
Now C has joined the chat, based on IsAnnotate, C should
automatically get updated the annotations of canvas.
Here i want only C to get updated

Any help ??

Regards,
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:20727] Doubt on Canvas

2009-03-23 Thread pradeep.pa...@gmail.com

Hi,
I have an application where i have two canvases, canvas_bottom and
canvas_top. the later is the child of the former. some thing like
mx:Canvas id=canvas_bottom width=800 height=600
mx:Canvas id=canvas_top width=800 height=600/
/mx:Canvas
Here I draw images on canvas_bottom and i annotate on canvas_top.
I convert both the canvas into string and shared it to others users
through sharedobject.
The problem is at the receiver side the image is over lapped by the
annotations of canvas_top.
How do i make the canvas_top transparent even at the receiver side??

Regards,
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:20671] Timing issue

2009-03-20 Thread pradeep.pa...@gmail.com

Hi,
I have an videchat application where i have some thing like refresh
button. When the video are subscribed on the either side, on the click
of refresh button the subscribing videos must be removed and re-
subscribe again.
When i press refresh,
1. the subscribing video panels on the subscribes side must be
removed, this iam executing using sharedobject.
sharedobject.send(removepanel);
2. after this publish and subscribe code is executed.
publish_AV();
The problem is code 2 is executed before code 1.

How to accomplish this task

regards
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:20480] Timer

2009-03-17 Thread pradeep.pa...@gmail.com

Hi all,
I have an application where I need to perform an activtity after every
x seconds. But this x second is variable.
I have the collection of time in sec in an array.
Ex: timerarray[] = {0, 7, 10, 11, 19, 22}
In this example, i need to perform a task after 7th sec, 10th sec,
11th sec, 19th sec 22th sec etc.
How do i accomplish my task using timer events.

Regards

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:20497] Date formating

2009-03-17 Thread pradeep.pa...@gmail.com

Hi,
I need to print date in simple format.
Date in flex gives sometthing like:

Tue Mar 17 18:01:05 GMT +05:30 2009

I want it to be printed something like:

17032009180105

Thanks
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:19220] Detection for Video in netstream

2009-02-13 Thread pradeep.pa...@gmail.com

Hi All,
I am developing a simple Audio video chat application using flex.
Now, i am able to publish and subscribe videos of one another in the
chat.
But if some one is not having a camera and publishes (only audio), is
there a way to detect for the presence of active video in that
netstream??
I have tried Netstream.currentFPS for the subscribing video but no
use.

Any ideas??

regards

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:18743] Canvas Share

2009-01-30 Thread pradeep.pa...@gmail.com

Hi all, i am developing a chat and paint on image application, where
in users logged in will have a whiteboard (canvas) to load an image
and draw on that. All other users logged in can also view the painting
going on. Now i got strucked at an issue. when the first user draws
some thing on the loaded image and annotates, i need to send the image
along with annotation(with click of button), as of now i am only able
to send the image without annotation..
Any ideas???
I think we need to read the whiteboard(canvas) and send that to all
others into their respective whiteboards

regards

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:18641] Streaming flv files from Red5 server

2009-01-27 Thread pradeep.pa...@gmail.com

Hi all,
I have developed a simple AV chat application, where in the AV of each
user is recorded at the server in .flv format.
After finishing the chat, i need to stream these flvs from the server.

Any ideas how to stream flvs form the server??

Thanks

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:18479] Re: How to catch event when flex application browser close

2009-01-23 Thread pradeep.pa...@gmail.com

Hi Sudheer, You can implement using simple java script and 2-3 lines
of code in flex

Regards.
Pradeep

On Jan 23, 12:14 pm, sudheer kumar g.sudheer2...@gmail.com wrote:
 HI HISSAM,

 I am working in bank applicaitons. I should catch all event what accout
 holder transations and his session information. I can catch if he sign out .
 If he close broser I did not catch at what time he sign out .

 On Fri, Jan 23, 2009 at 10:25 AM, Jitendra Jain 

 warriorofheavens...@gmail.com wrote:
  There is no indication when the browser quits. Please read docs for more
  information.

  with regards,
  JJain

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:18478] Blinking notification for simple chat

2009-01-23 Thread pradeep.pa...@gmail.com

Hi All,
I have developed a simple text chat application in flex.
Now, i wana implement a feature that is quite common in normal
chatting softwares like yahoo messenger, gtalk etc.
That is when the chatiing window is minimized and at the same time
some one else (in the chat) posts/enters a message, we get a blinking
(normally in orange colored) in the taskbar.
Does any one have idea how to implement this.

Thank You

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17904] Audio Video gets struck

2009-01-02 Thread pradeep.pa...@gmail.com

Hi everybody,
I am developing a video conference setup using Flex3 and Red5.
The application has audio and video chat and along with text chat.
Every thing is working fine
But now i encountered a problem, after roughly 20 mins, all audio and
video gets struck, only text chat works fine.
Is i some thing to do with netstream buffer size??
Any idea???

Any idea and suggestions would be very helpful

regards
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17849] Re: PopUpButton issue

2008-12-30 Thread pradeep.pa...@gmail.com


mx:PopUpButton id=annotate_btn label=Activate Annotation
click=annotationmain() popUpStyleName=myCustomPopUpStyleName/

On Dec 30, 6:29 pm, Sangeeta Kalyani kalyani.sange...@gmail.com
wrote:
 Can u send the code.

 On Dec 30, 3:30 pm, pradeep.pa...@gmail.com

 pradeep.pa...@gmail.com wrote:
  Hi,
  I encountered a problem in my application.
  When ever i shrink, my application in the browser,
  the popupbutton does not show UI any more, even the browser is
  retained back to maximum size.

  Any Idea???

  regards,
  Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17733] Re: Image drawing on canvas

2008-12-24 Thread pradeep.pa...@gmail.com

hi rajveer,
in the code you mentioned the background image for the canvas is
fixed.
can background image be loaded dynamically??
how to do that??

On Dec 23, 2:05 pm, Rajveer Goud rajve...@gmail.com wrote:
 Hi..pradeep..!!!

 it may help you..!!!

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute

            mx:Script
         ![CDATA[
         import mx.utils.Base64Encoder;
         import mx.rpc.events.ResultEvent;
         import mx.rpc.events.FaultEvent;
         import mx.utils.ObjectUtil;
         import mx.controls.Alert;
         import mx.graphics.codec.PNGEncoder;

         private var isDrawing:Boolean=false;
         private var x1:int;
         private var y1:int;
         private var x2:int;
         private var y2:int;
         private var drawColor:uint;
         private var PNGEnc:PNGEncoder;

         private function doErase():void
         {
             canvas.graphics.clear();
         }

         private function doMouseDown():void
         {
             x1 = canvas.mouseX;
             y1 = canvas.mouseY;
             isDrawing = true;
         }

         private function doMouseMove():void
         {
             x2 = canvas.mouseX;
             y2 = canvas.mouseY;
             if (isDrawing)
             {
                 canvas.graphics.lineStyle(5, drawColor);
                 canvas.graphics.moveTo(x1, y1);
                 canvas.graphics.lineTo(x2, y2);
                 x1 = x2;
                 y1 = y2;
             }
         }

         private function doMouseUp():void
         {
             isDrawing = false;
         }

                 public function onResult(event:ResultEvent) :void
                 {
                         Alert.show(ObjectUtil.toString(event.result));
                 }
                 public function onFault(event:FaultEvent) :void
                 {
                         Alert.show(Got error: +event.message);
                 }
                 public function takeSnapshot():void
                 {

                         var bd:BitmapData = new 
 BitmapData(canvas.width,canvas.height);
                         bd.draw(canvas);
                         var ba:ByteArray = PNGEnc.encode(bd);
                         var be:Base64Encoder = new Base64Encoder();
                         be.encodeBytes(ba);
                         var encodedData:String = be.flush();
                         myService.cancel();
                         var params:Object=new Object;
                         params.param1=encodedData;
                         Alert.show(encodedData);
                         myService.send(params);
                         //ro.saveImage(encodedData);
                 }
         ]]

     /mx:Script

         mx:HTTPService id=myService fault=onFault(event) result=onResult
 (event) url=doSave.php method=POST
         /mx:HTTPService

         mx:Panel title=FlexPaint
         mx:Canvas id=canvas width=500 height=500
             horizontalScrollPolicy=off verticalScrollPolicy=off
             mouseDown=doMouseDown()
             mouseMove=doMouseMove()
             mouseUp=doMouseUp() backgroundAlpha=0.8
 backgroundImage=assets/abc.JPG /

         mx:ControlBar
             mx:ColorPicker change=drawColor =
 event.target.selectedColor/
             mx:Button label=Erase click=doErase()/
             mx:Button label=Save Image click=takeSnapshot()/
         /mx:ControlBar
     /mx:Panel
         mx:TextInput x=667 y=47 id=name1/
 /mx:Application
 -

 On Dec 23, 11:26 am, ManInAction manesh.bahug...@gmail.com wrote:

  HiPradeep,

  How to draw jpg or png??you can draw only vector image in flash and
  flex.After you can save tht image as jpg or png.
  For pain you can use Flash API drawing.

  On Dec 22, 4:08 pm, pradeep.pa...@gmail.com

  pradeep.pa...@gmail.com wrote:
   Hi everyone,
   I have an application where i need to draw an image(.png
   or .jpg, .gif) on canvas,
   after then i must be able to paint (annotate) on that canvas with the
   mouse.
   Any Ideas.

   thanks
  Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17667] Image drawing on canvas

2008-12-22 Thread pradeep.pa...@gmail.com

Hi everyone,
I have an application where i need to draw an image(.png
or .jpg, .gif) on canvas,
after then i must be able to paint (annotate) on that canvas with the
mouse.
Any Ideas.

thanks
Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17669] Image file drawing on canvas

2008-12-22 Thread pradeep.pa...@gmail.com

Hi all,
I have an application where i need to draw an Image(.png, .jpg, .gif)
on canvas.
How to implement it??
Any ideas??

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17684] Re: Image file drawing on canvas

2008-12-22 Thread pradeep.pa...@gmail.com

Hi,
I wanted to draw an external .jpg/.png/.gif image file onto canvas not
loading.
I am strucked up this point:

var img = new Image();-(1)
img.load(assets/flower.jpg);--(2)
//canvas.addChild(img);--(3)
in the last statement(3), i am displaying the image by adding that
image as child of the canvas.
But, i dont want that.
I wanted to draw that flower.jpg file on canvas.


Also, i must be able to (paint)annotate on that image
regards
pradeep

On Dec 22, 9:26 pm, Venkat Viswanathan helloven...@gmail.com
wrote:
 Hi,

 What do you mean by drawing? Do you mean loading the image from an
 external jps/gif/png inside a canvas? In that case, you can use the Image
 class and specify the url of the image in the *source* property of the Image
 object.

 Regards,
 Venkatwww.venkatv.com

 On Mon, Dec 22, 2008 at 2:30 PM, pradeep.pa...@gmail.com 

 pradeep.pa...@gmail.com wrote:

  Hi all,
  I have an application where i need to draw an Image(.png, .jpg, .gif)
  on canvas.
  How to implement it??
  Any ideas??

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17537] browse and load image in flex application

2008-12-18 Thread pradeep.pa...@gmail.com

Hi all,
I have a flex application wherein i need to browse for an image file
and load in onto my flex application
any ideas??

Thank You

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17548] Re: browse and load image in flex application

2008-12-18 Thread pradeep.pa...@gmail.com

I have a doubt now, when i created a project, in the Flex complier ,
in the HTML wraper, required flash player version is 9.0.28, need i
have to change it to 10.0.0 to
get it work or i need to install any new Flex SDK or do both
when i open my flex application either by debug it or opening the html
file directly and right click it the flash version it in specifies is
10

On Dec 18, 3:25 pm, kiran@gmail.com kiran@gmail.com wrote:
 Use FileRefrence with Flash Player 10. You can do it.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17313] Re: WebCam port Porblem

2008-12-12 Thread pradeep.pa...@gmail.com

Hi Venkat,

Yes, i mean when i unplug the webcam from USB port when the aplication
is running and reconnect it to another USB port, the video doesnot
resume

On Dec 12, 12:19 am, Venkat Viswanathan helloven...@gmail.com
wrote:
 Hi Pradeep,

 You mean you remove the webcam from the USB port when your application is
 running?

 Regards,
 Venkatwww.venkatv.com

 On Thu, Dec 11, 2008 at 1:00 PM, pradeep.pa...@gmail.com 



 pradeep.pa...@gmail.com wrote:

  Hi Everyone,

  I have a problem working with webcam.
  I am able to start my webcam using Camera.getCamera() method.
  But when i remove it from a webcam usb port and connect it to another
  webcam usb port, the video doesnt start or resume again but remains
  struck

  Any idea??

  regards

  Pradeep- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:17270] WebCam port Porblem

2008-12-11 Thread pradeep.pa...@gmail.com

Hi Everyone,

I have a problem working with webcam.
I am able to start my webcam using Camera.getCamera() method.
But when i remove it from a webcam usb port and connect it to another
webcam usb port, the video doesnt start or resume again but remains
struck

Any idea??

regards

Pradeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Flex 
India Community group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---