it is set to 240 (screenDPI of my device)
it also looks good on other devices like a samsung note tablet and a
very old samsung ixyzxyz phone e.g.
it is just the new device of my customer (for now...)
but i will try to return 320 as runtimeDPI on that device
( just found a good class to identif
Hi,
What is applicationDPI set to? In my experience I found it best not to set this
but with seeing you application or it's code it's hard to know what advice to
give.
Justin
hi,
this is what I'm doing
but as the real dpi is 373 i have to return 320 for that device (instead
of 480, which would be without own provider)
but still 373 and 320 is a not to small difference
Am 06.02.2014 23:59, schrieb Justin Mclean:
Hi,
One way around this issue is to provide you ow
I think the distinction needs to be made between creating (or updating
native code in) iOS ANEs for use in a flex/air project and
compiling/packaging a flex/air app that uses a precompiled ANE (with iOS
support).
You need Mac OS for the former, but windows alone is fine for the latter.
On Fri,
Hi,
One way around this issue is to provide you own runtime DPI provider. [1] Just
make sure it returns one of the known DPI buckets.
Justin
1.
http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c682e5a9412cf5976c17-8000.html#WS19f279b149e7481c-2a25e9b212d622ff5e8-8000
Ok, thanks, this is what i thought.
too bad that 373 is far away from 320 and 480
as the App has an applicationDPI set (no fluid layout etc.)
is there any other option than to adjust everything for that device (as
it's the main customers one)?
Am 06.02.2014 23:42, schrieb Justin Mclean:
H
Hi,
Capabillities.screenDPI should be a number close to the actually DPI (but some
devices it may be wrong) not one of the dpi buckets.
The runtimeDPI method MUST return one of the DPI buckets not the actual dpii or
all sort of odd things can occur.
Justin
Sorry I have no idea i've not compiled iOS ane myself.
You should be able to compile via the command line using: mxmlc
+configname=airmobile Main.mxml
Maybe it takes so long as you are virtualizing OS X? leave it on over night
and see if it finishes, could just be really really slow
On 6 Februa
the htc one max is reporting 480 as Capabillities.screenDPI
but pixel density is 373ppi (as read in the web)
it's not my device but a customer's one
on my own device the Capabillities.screenDPI reports 240 which is correct
but to test, when i return a random number like 532 from
public function g
I've done some tests, based on the findings that you guys did, and for
example disabling the pdf plugin of the chrome and activating the Fox It
Reader viewer and checked that it doesn't support the unencoded url... Based
on this and on your findings it's better to assume that using this method to
p
Hi,
Capabilities.screenDPI is passed to classifyDPI to work out what DPI bucket
you are in. I check if Capabilities.screenDPI is returning what you expect. I
expect 373 to be placed in the 320 bucket.
mx_internal static function classifyDPI(dpi:Number):Number
{
if (dpi <= 140
Hi
The runtimeDPIProvider rounds the true DPI number up/down so it matches
one of 120,160...640
However, if your device is 373 (and not a typo), i would expect the
result to be 320, not 480 (as 320 is closest to the true value).
You could override the class to return the true value, but the
Hi,
when extending mx.core.RuntimeDPIProvider and overriding
public function get runtimeDPI():Number
it seems that is has to return one of the DPIClassification constants,
any other number than 120,160,240,320,480,640 is ignored
is that true?
the thing is that the htc one max is reporting 480
I see PDFs in Chrome here on my mac. Have you disabled Chrome PDF Viewer in
chrome://plugins/ ?
The URL is working when the URL has the Space and NOT the %20 in the URL.
Actually, when I clear my Browser cache,
Chrome shows only the first page. But when I load it the second time, it jumps
to p
I just tried that url here in Safari and the URL does get escaped by Safari,
turning it into:
http://portal.beelogicsoftware.com/BeelogicIMS/manuals/pt_PT/BeelogicIMSChangeLog.pdf#pagemode=bookmarks&nameddest=Alterações%20no%20Portal
But, although Safari, IE and Firefox do display the PDF, neithe
This example works without any problems for me and it shows me the PDF on page
7 (Altera... no Portal):
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" mi
Flash Builder in the MacOS VM works fine except compiling iOs project...
This same project compiles good on Flash Builder PC when I deactivate
ANEs, but I want to compile in a Mac in order to activate these ANEs.
Nothing in the Error Log view.
Could you give me the command line for comiling i
Pedro,
Have you tried to monitor the network traffic to view the actual request being
sent out by navigateToURL?
Use your browser developer tools/web inspector/firebug/fiddler or whatever it
is called in your browser.
Try to monitor both, when you type in the url in your browser and the actual
I'm not at the PC right now, so I'll try both things later.
But I've remembered one thing the url field on urlrequest, mantains the
correct URL, so it doesn't encodes it.
Pedro Serralha
No dia 6 de Fev de 2014 16:43, "Pedro Serralha" <
pedro.serra...@elegedata.com> escreveu:
> My code
>
>
Is this a web app or AIR app? If web app, what happens if you try to open
the PDF from JavaScript?
On 2/6/14 8:43 AM, "Pedro Serralha" wrote:
>My code
>
> var strURL:String =
>"http://portal.beelogicsoftware.com/BeelogicIMS/manuals/pt_PT/BeelogicIMSC
>ha
>ngeLog.pdf#pagemode=bookm
Hi,
What is the browser that you are using?
In chrome to download/open a file i get some issues to.
Miguel
> From: pedro.serra...@elegedata.com
> To: users@flex.apache.org
> Subject: RE: Problems openning PDF file using navigateToURL
> Date: Thu, 6 Feb 2014 16:43:48 +
>
> My code
>
>
My code
var strURL:String =
"http://portal.beelogicsoftware.com/BeelogicIMS/manuals/pt_PT/BeelogicIMSCha
ngeLog.pdf#pagemode=bookmarks&nameddest=Alterações no Portal"
var urlReq:URLRequest= new URLRequest(strURL)
What are you actually passing into the URLRequest parameter?
On 2/6/14 8:07 AM, "Pedro Serralha" wrote:
>Marcus thank you for replying.
>
>But for what I understood, on both links you've sent. They tell how to
>encode parameters on URL and the escape() is to convert a string to a
>URL-encoded fo
Marcus thank you for replying.
But for what I understood, on both links you've sent. They tell how to
encode parameters on URL and the escape() is to convert a string to a
URL-encoded format, which is what I don't want.
As you can see
http://portal.beelogicsoftware.com/BeelogicIMS/manuals/pt
Hi Chris,
yes, basically the presenter variable defined in the thumb skin is done
like this:
you add these 3 lines, and then use the presenter.buttonColour in the
component where you want to use it.
BR,
Martin Miko
On Thu, Feb 6, 2014 at 10:28 AM, Tintin <1955.mille.mig...@
Well it isn't something I've ever tried.
Can you compile anything via Flash Builder? (you said it works fine but does
that include compiling?)
Have you tried compiling via the command line? Maybe if you posted the logs?
Have you looked at the error view in Flash builder: Window -> Show View ->
Hi,
Nobody can help ?
Thanks
Le 2014-02-05 22:57, Claude BERNARDINI a écrit :
Hi,
I try to compile a iOs flex Project (with ane)on a iAktos Mac OS 10.7
VM under VirtualBox.
All seems good :
- Flash Builder 4.7 works well
- XCode is installed
But the compilation freezes under Flash Builder.
or maybe easier this:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/package.html#escape()
Am 06.02.2014 um 13:24 schrieb Pedro Serralha :
> Greetings my friends
>
>
>
> In our Webapplication we have some buttons that open an PDF file.
>
> We are using the navigateToURL m
This may help you:
http://stackoverflow.com/questions/3487479/url-encode-variable-in-as3
Am 06.02.2014 um 13:24 schrieb Pedro Serralha :
> Greetings my friends
>
>
>
> In our Webapplication we have some buttons that open an PDF file.
>
> We are using the navigateToURL method.
>
>
>
> The
Greetings my friends
In our Webapplication we have some buttons that open an PDF file.
We are using the navigateToURL method.
The problem is that we are using bookmarks within the pdf and to open an
link and point to an bookmark the URL used is something like
http://portal.beelogicsoft
Hi Martin
Would you please explain one last point which I can't quite see. You use the
following code in the custom HSlider:
// injecting the presenter
public function set presenter(p:SliderView_Presenter):void {
_presenter = p;
if (thumbInst)
31 matches
Mail list logo