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

2005-06-24 Thread Scott Barnes
Hi Nithya,

Your best bet is to implement the
http://weblogs.macromedia.com/flashjavascript/ mind you its a browser
limited only situation as getting JavaScript -- FLASH is umm yeah,
dooable in most mainstream browser versions but not 100% fool proof.

On 6/11/05, nithya karthik [EMAIL PROTECTED] wrote:
  
 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 sayadd 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: 
 ?xml version=1.0 encoding=utf-8? 
 mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
 creationComplete=iFrame.visible=true 

  mx:Model id=catalog source=catalog.xml/
 mx:HBox width=100% height=100% 
 mx:Panel title=Tile width=200 height=100%
 panelBorderStyle=roundCorners
  
 mx:TileList id=tile
 dataProvider={catalog.product}
 width=100%
 height=100%
 cellRenderer=Thumbnail
 itemWidth=120
 itemHeight=108
 change=iFrame.source=tile.selectedItem.path/ 
  
 /mx:Panel 
 mx:Panel title=Content width=100% height=100% marginTop=1
 marginBottom=1  marginLeft=1 marginRight=1
 IFrame id=iFrame  width=100% height=100%/
 mx:ControlBar
 mx:CheckBox id=cbVisible label=IFrame Visible
 selected=true click=iFrame.visible=cbVisible.selected/
 /mx:ControlBar
 /mx:Panel 
 /mx:HBox 
 /mx:Application 
   
 Html page which gets loaded during click of the first image in tileList is: 
 html
 head
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
 titleProduct Detail/title
 /head 
 body
 form ACTION= name=cart/data METHOD=post
  input TYPE=button name=Add to Cart VALUE=cart
 /form
 /body
 /html 
   
 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, 
 nithya
 
 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. 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Waiting for FLEX NCL to arrive)


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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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

2005-06-24 Thread Scott Barnes
heh, i'm betting you are 99.9% correct but those darn browsers have a
habit of saying one thing and doing another heheh.

Ditto on that request though as it has caught my interest for a
side-project ... *cough* MM/Adobe should really come up with a browser
and save us all from temptation and deliver us from evil. :)


On 6/24/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
 Scott,
 
 I think FlashJavaScript kit should work on all browsers that can run
 Flash Player. Because FlashJavaScript uses LocalConnection, so it
 doesn't call ActiveX/Plugin SetVariable(..)/GetVariable(..) method...
 
 It would be great, if someone can verify this by testing on all
 platforms/browsers. Probably a survey is required...
 
 
 -abdul
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Scott Barnes
 Sent: Friday, June 24, 2005 6:20 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Passing data from Html to Flex
 application.Urgent pls
 
 Hi Nithya,
 
 Your best bet is to implement the
 http://weblogs.macromedia.com/flashjavascript/ mind you its a browser
 limited only situation as getting JavaScript -- FLASH is umm yeah,
 dooable in most mainstream browser versions but not 100% fool proof.
 
 On 6/11/05, nithya karthik [EMAIL PROTECTED] wrote:
 
  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 sayadd 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:
  ?xml version=1.0 encoding=utf-8?
  mx:Application
  xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
  creationComplete=iFrame.visible=true
 
   mx:Model id=catalog source=catalog.xml/
  mx:HBox width=100% height=100%
  mx:Panel title=Tile width=200 height=100%
  panelBorderStyle=roundCorners
 
  mx:TileList id=tile
  dataProvider={catalog.product}
  width=100%
  height=100%
  cellRenderer=Thumbnail
  itemWidth=120
  itemHeight=108
  change=iFrame.source=tile.selectedItem.path/
 
  /mx:Panel
  mx:Panel title=Content width=100% height=100%
 marginTop=1
  marginBottom=1  marginLeft=1 marginRight=1
  IFrame id=iFrame  width=100% height=100%/
  mx:ControlBar
  mx:CheckBox id=cbVisible label=IFrame Visible
  selected=true click=iFrame.visible=cbVisible.selected/
  /mx:ControlBar
  /mx:Panel
  /mx:HBox
  /mx:Application
 
  Html page which gets loaded during click of the first image in
 tileList is:
  html
  head
  meta http-equiv=Content-Type content=text/html;
 charset=iso-8859-1
  titleProduct Detail/title
  /head
  body
  form ACTION= name=cart/data METHOD=post
   input TYPE=button name=Add to Cart VALUE=cart
  /form
  /body
  /html
 
  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,
  nithya
 
  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.
 
 
 --
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Waiting for FLEX NCL to arrive)
 
 
 --
 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
 
 
 
 
 
 
 
 
 --
 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
 
 
 
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Waiting for FLEX NCL to arrive)


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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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

2005-06-24 Thread Mike Chambers
You can find a list of browsers we have tested the kit on here:

http://www.osflash.org/doku.php?id=flashjs:docs:requirements

Let us (me) know if you find out it works in any other browsers.

mike chambers

[EMAIL PROTECTED]

On Jun 24, 2005, at 6:22 AM, Abdul Qabiz wrote:

 Scott,

 I think FlashJavaScript kit should work on all browsers that can run
 Flash Player. Because FlashJavaScript uses LocalConnection, so it
 doesn't call ActiveX/Plugin SetVariable(..)/GetVariable(..) method...

 It would be great, if someone can verify this by testing on all
 platforms/browsers. Probably a survey is required...


 -abdul

 -Original Message-
 From: flexcoders@yahoogroups.com  
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Scott Barnes
 Sent: Friday, June 24, 2005 6:20 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Passing data from Html to Flex
 application.Urgent pls

 Hi Nithya,

 Your best bet is to implement the
 http://weblogs.macromedia.com/flashjavascript/ mind you its a browser
 limited only situation as getting JavaScript -- FLASH is umm yeah,
 dooable in most mainstream browser versions but not 100% fool proof.

 On 6/11/05, nithya karthik [EMAIL PROTECTED] wrote:


 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 sayadd 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:
 ?xml version=1.0 encoding=utf-8?
 mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
 creationComplete=iFrame.visible=true

  mx:Model id=catalog source=catalog.xml/
 mx:HBox width=100% height=100%
 mx:Panel title=Tile width=200 height=100%
 panelBorderStyle=roundCorners

 mx:TileList id=tile
 dataProvider={catalog.product}
 width=100%
 height=100%
 cellRenderer=Thumbnail
 itemWidth=120
 itemHeight=108
 change=iFrame.source=tile.selectedItem.path/

 /mx:Panel
 mx:Panel title=Content width=100% height=100%

 marginTop=1

 marginBottom=1  marginLeft=1 marginRight=1
 IFrame id=iFrame  width=100% height=100%/
 mx:ControlBar
 mx:CheckBox id=cbVisible label=IFrame Visible
 selected=true click=iFrame.visible=cbVisible.selected/
 /mx:ControlBar
 /mx:Panel
 /mx:HBox
 /mx:Application

 Html page which gets loaded during click of the first image in

 tileList is:

 html
 head
 meta http-equiv=Content-Type content=text/html;

 charset=iso-8859-1

 titleProduct Detail/title
 /head
 body
 form ACTION= name=cart/data METHOD=post
  input TYPE=button name=Add to Cart VALUE=cart
 /form
 /body
 /html

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

 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.



 -- 
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Waiting for FLEX NCL to arrive)


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








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











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

* 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] 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:
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" creationComplete="iFrame.visible=true"
 mx:Model id="catalog" source="catalog.xml"/ mx:HBox width="100%" height="100%"
 mx:Panel title="Tile" width="200" height="100%" panelBorderStyle="roundCorners" 
 mx:TileList id="tile" dataProvider="{catalog.product}" width="100%" height="100%" cellRenderer="Thumbnail" itemWidth="120" itemHeight="108" change="iFrame.source=tile.selectedItem.path"/
 /mx:Panel
 mx:Panel title="Content" width="100%" height="100%" marginTop="1" marginBottom="1" marginLeft="1" marginRight="1" IFrame id="iFrame" width="100%" height="100%"/ mx:ControlBar mx:CheckBox id="cbVisible" label="IFrame Visible" selected="true" click="iFrame.visible=cbVisible.selected"/ /mx:ControlBar /mx:Panel
 /mx:HBox
/mx:Application

Html page which gets loaded during click of the first image in tileList is:
htmlheadmeta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"titleProduct Detail/title/head
bodyform ACTION="" name="cart/data" METHOD="post"input TYPE="button" name="Add to Cart" VALUE="cart"/form/body/html

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.