Re: [flexcoders] Re: Problem with Flash 13

2014-05-17 Thread edgardo edmore...@gmail.com [flexcoders]
hola:
en  AS3 / Flex

var urlExcelExport:String =  "
http://midominio.ar/php/create.php?name=mypdf.pdf&method=inline";;
var variables:URLVariables = new URLVariables();
var bytes:ByteArray = myPDF.savePDF(Method.LOCAL);
var u:URLRequest = new URLRequest(urlExcelExport);
u.contentType = "application/octet-stream";
u.method = URLRequestMethod.POST;
u.data = bytes;
  navigateToURL(u,"_blank");

en PHP el create.php


funciona ok



2014-05-16 19:27 GMT-03:00 diamondschedu...@yahoo.com [flexcoders] <
flexcoders@yahoogroups.com>:

>
>
> Also this thread:
>
> https://forums.adobe.com/thread/1474415
>
>
>
>  
>



-- 
saludos
edgardo


Re: [flexcoders] Whay are too many itemrenderers being created?

2014-02-20 Thread edgardo
El 14/02/2014 03:34, "Chris Velevitch" 
escribió:y
>ojuouoyoyoyo
>  jiihk
>yoyoyomkkyoyoyoyoyopipup
> I'm using Flex yooyo witkh gAir 4.0 to create a mobile appbupui.iyo.yoyoyo
>
> I have a spark list with a custom mxml itemRenderer. Only 4 instances
will be visible in the list. The dataprovider is initially hluu
>
> When I assign the arrayp collection with an array of 14b7 items, I get
147 traces on dataChange event and on the render event. I traced out the
value of 'this' and I get 147 unique objects.
>
> I was under the impression that only 4 instances of the itemRenderer will
be created and get reused as I scroll through the list.
>
> What have I overlooked?
>
> The list is defined as:-
>
> change="lImagesChange(event)" itemRenderer="PhotoThumbNail"
> doubleClickEnabled="true" doubleClick="showImage(event)">
> 
> 
> 
> 
>
> and the itemRenderer is defined as:-
>
> 
>  xmlns:fx="http://ns.adobe.com/mxml/2009";
> xmlns:s="library://ns.adobe.com/flex/spark"
> dataChange="onDataChange(event)"uouojiyo
> render="onRender(event)"
> width="150"hlyo height="175"up
> hlup
>
> 
> 
> 
>
> 
> 
> 
>
> 
>
> --
>
>
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> Topic: TBD
> Date: Monday, 28th February
> Details and RSVP on http://www.meetup.com/Sydney-Adobe-Platform-User-Group
>
> 
El 14/02/2014 03:34, "Chris Velevitch"  escribió:
>
>
>
> I'm using Flex 4.11 with Air 4.0 to create a mobile app.
>
> I have a spark list with a custom mxml itemRenderer. Only 4 instances
will be visible in the list. The dataprovider is initially empty.
>
> When I assign the array collection with an array of 147 items, I get 147
traces on dataChange event and on the render event. I traced out the value
of 'this' and I get 147 unique objects.
>
> I was under the impression that only 4 instances of the itemRenderer will
be created and get reused as I scroll through the list.
>
> What have I overlooked?
>
> The list is defined as:-
>
> change="lImagesChange(event)" itemRenderer="PhotoThumbNail"
> doubleClickEnabled="true" doubleClick="showImage(event)">
> 
> 
> 
> 
>
> and the itemRenderer is defined as:-
>
> 
>  xmlns:fx="http://ns.adobe.com/mxml/2009";
> xmlns:s="library://ns.adobe.com/flex/spark"
> dataChange="onDataChange(event)"
> render="onRender(event)"
> width="150" height="175"
> >
>
> 
> 
> 
>
> 
> 
> 
>
> 
>
> --
>
>
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> Topic: TBD
> Date: Monday, 28th February
> Details and RSVP on http://www.meetup.com/Sydney-Adobe-Platform-User-Group
>
>