<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - retrieve and save data to the cloud</title>
    <link>https://forums.adobe.com/community/flash/flash_actionscript3?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 12 Nov 2014 17:59:50 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-12T17:59:50Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6923156?tstart=0#6923156</link>
      <description>&lt;!-- [DocumentBodyStart:8893dbc4-7991-4117-bd49-8b4cebf0c30c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&amp;gt;&amp;gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;I'm starting to wonder if it's possible to send data from an AIR app to a php file on a server ??&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Of course it is.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8893dbc4-7991-4117-bd49-8b4cebf0c30c] --&gt;&lt;img src='/beacon?t=1415939617128' /&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:59:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6923156?tstart=0#6923156</guid>
      <dc:date>2014-11-12T17:59:50Z</dc:date>
      <clearspace:dateToText>1 day 11 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6908896?tstart=0#6908896</link>
      <description>&lt;!-- [DocumentBodyStart:e5f59b14-a4c0-4a2e-be2e-5609d2a25508] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;i don't see a problem with your code, but i'm not sure how you're checking trace output from your air app.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e5f59b14-a4c0-4a2e-be2e-5609d2a25508] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 14:46:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908896?tstart=0#6908896</guid>
      <dc:date>2014-11-07T14:46:10Z</dc:date>
      <clearspace:dateToText>6 days 14 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6907239?tstart=0#6907239</link>
      <description>&lt;!-- [DocumentBodyStart:53143794-29a9-4548-98a0-27f383960dbb] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm starting to wonder if it's possible to send data from an AIR app to a php file on a server ??&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:53143794-29a9-4548-98a0-27f383960dbb] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 00:39:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6907239?tstart=0#6907239</guid>
      <dc:date>2014-11-07T00:39:18Z</dc:date>
      <clearspace:dateToText>1 week 4 hours ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6907236?tstart=0#6907236</link>
      <description>&lt;!-- [DocumentBodyStart:da592de6-656a-41ba-a5d4-669f3cf82110] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm trying to use urlLoader but it's not working and I don't know why..&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I've created a php file that I have uploaded. Here's the php code :&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;/p&gt;&lt;p&gt; $psPreRegEmail=$_POST['sEml'];&lt;/p&gt;&lt;p&gt; $FRM_ID=$_POST['sID'];&lt;/p&gt;&lt;p&gt; $psBD=$_POST['sBD'];&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; echo "email=".$psPreRegEmail;&lt;/p&gt;&lt;p&gt; echo "&amp;amp;id=".$FRM_ID;&lt;/p&gt;&lt;p&gt; echo "&amp;amp;db=".$psBD;&lt;/p&gt;&lt;p&gt;?&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is my AS3 code : &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;var request:URLRequest = new URLRequest("&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.mysite.fr/login.php" rel="nofollow"&gt;http://www.mysite.fr/login.php&lt;/a&gt;&lt;span&gt;");&lt;/span&gt;&lt;/p&gt;&lt;p&gt;var variables:URLVariables = new URLVariables();//create a variable container&lt;/p&gt;&lt;p&gt;variables.sEml = "steph4";&lt;/p&gt;&lt;p&gt;variables.sID = "steph5";&lt;/p&gt;&lt;p&gt;variables.sBD = "steph6";&lt;/p&gt;&lt;p&gt;request.data = variables;//add the data to our containers&lt;/p&gt;&lt;p&gt;request.method = URLRequestMethod.POST;//select the method as post&lt;/p&gt;&lt;p&gt;var loader:URLLoader = new URLLoader();&lt;/p&gt;&lt;p&gt;loader.addEventListener(Event.COMPLETE, handleComplete);&lt;/p&gt;&lt;p&gt;loader.load(request);//send the request with URLLoader()&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;function handleComplete(event:Event)&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;var loader:URLLoader = URLLoader(event.target);&lt;/p&gt;&lt;p&gt;var vars:URLVariables = new URLVariables(loader.data);&lt;/p&gt;&lt;p&gt;//Access data from the PHP file&lt;/p&gt;&lt;p&gt;trace("vars.email: "+vars.email);&lt;/p&gt;&lt;p&gt;trace("vars.id: "+vars.id);&lt;/p&gt;&lt;p&gt;trace("vars.db: "+vars.db);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;No errors, but when I'm going at &lt;a class="unlinked" title="http://www.mysite.fr/login.php"&gt;http://www.mysite.fr/login.php&lt;/a&gt; it displays : &lt;span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;email=&amp;amp;id=&amp;amp;db=&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why don't I see : ???&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;email=steph4&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;id=steph5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;db=steph6&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;Thx&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:da592de6-656a-41ba-a5d4-669f3cf82110] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 00:26:26 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6907236?tstart=0#6907236</guid>
      <dc:date>2014-11-07T00:26:26Z</dc:date>
      <clearspace:dateToText>1 week 4 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6907000?tstart=0#6907000</link>
      <description>&lt;!-- [DocumentBodyStart:01296b32-3dce-408d-b73a-086a451096cf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;use the urlloader class to send data to your server.&amp;nbsp; the only tricky part is, "I need their devices ID" and that's why i posted the link in message 1.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:01296b32-3dce-408d-b73a-086a451096cf] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 22:44:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6907000?tstart=0#6907000</guid>
      <dc:date>2014-11-06T22:44:31Z</dc:date>
      <clearspace:dateToText>1 week 6 hours ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6906858?tstart=0#6906858</link>
      <description>&lt;!-- [DocumentBodyStart:37d5d847-371e-408b-b7df-5b6ec613b163] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hmm my question wasn't about how to retrieve the device ID, but how to save and send data to the cloud. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can I send the information in &lt;span style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;mySharedObject&lt;/span&gt; to a website ?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Steps I'd like to do (but don't know how) :&lt;/p&gt;&lt;p&gt;- Convert &lt;span style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;mySharedObject&lt;/span&gt; into a json or text format&lt;/p&gt;&lt;p&gt;&lt;span&gt;- send the txt file or json file to &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.exemple.com/data.txt" rel="nofollow"&gt;http://www.exemple.com/data.txt&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you ! &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:37d5d847-371e-408b-b7df-5b6ec613b163] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 21:52:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6906858?tstart=0#6906858</guid>
      <dc:date>2014-11-06T21:52:10Z</dc:date>
      <clearspace:dateToText>1 week 7 hours ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6905337?tstart=0#6905337</link>
      <description>&lt;!-- [DocumentBodyStart:2fc1522a-3deb-4552-8a48-885bb2896371] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;a class="jive-link-thread-small" data-containerId="2197" data-containerType="14" data-objectId="803428" data-objectType="1" href="https://forums.adobe.com/thread/803428"&gt;Mobile Device Unique id&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2fc1522a-3deb-4552-8a48-885bb2896371] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:02:46 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6905337?tstart=0#6905337</guid>
      <dc:date>2014-11-06T15:02:46Z</dc:date>
      <clearspace:dateToText>1 week 14 hours ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>retrieve and save data to the cloud</title>
      <link>https://forums.adobe.com/message/6903925?tstart=0#6903925</link>
      <description>&lt;!-- [DocumentBodyStart:d42aba73-5bad-4b5c-87ba-be9543fa7447] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi, &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm trying to create an Android app where I can send notifications to users. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In order to send notification to the users, I need their devices ID. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I'd like to retrieve this info and send it to my server. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For saving the ID here's what I did : &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:b99c985a-ef9b-484b-b208-355a4ad912e3][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
private function pn_registerSuccessHandler( event:PushNotificationEvent ):void
&amp;nbsp; {
&amp;nbsp; message( "PN registration succeeded with reg ID: \n" + event.data&amp;nbsp; );
&amp;nbsp; _idField.text = event.data;
&amp;nbsp; mySharedObject.data._idField = event.data;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mySharedObject.flush();
&amp;nbsp; sendData();
&amp;nbsp; }
&lt;/pre&gt;&lt;!--[CodeBlockEnd:b99c985a-ef9b-484b-b208-355a4ad912e3]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But what should I put in my sendData function in order to send, in a text format, the informations ?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you for your answers,&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d42aba73-5bad-4b5c-87ba-be9543fa7447] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 01:35:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6903925?tstart=0#6903925</guid>
      <dc:date>2014-11-06T01:35:57Z</dc:date>
      <clearspace:dateToText>1 week 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

