You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Oleg Konovalov <ol...@gmail.com> on 2016/02/19 05:41:23 UTC

Flex on Win10

Hi,

I recently started doing Flex development on Win10 with FB4.7/Flex SDK4.6
on Flash player 20

Got a few strange issues:
1) tried to create a simple Flex App (Hello World),
it gave me security error 2148 that my app SWF can't trust SDK4.6 SWF
I have never seen it before


2) tried to use trace() inside the app.  created mm.cfg, put in the root.
Running Flash player 20 in Chrome with Debug.
It still did not create the log or even the Logs directory where it
supposed to go:
c:\users\myid\AppData\Roaming\Macromedia\Flash Player\...

Are these Flash20 issues or Win10?  How to fix it?

Please advise.

TIA,
Oleg.

.

Re: Flex on Win10

Posted by Clint M <cm...@gmail.com>.
Looks like the flashlog.txt file location has changed as per:
https://forums.adobe.com/thread/1491485


Win7: %USERNAME%/AppData/Local/Google/Chrome/User Data/Default/Pepper
Data/Shockwave Flash/System

WinXP: %USERNAME%/Local Settings/Application Data/Google/Chrome SxS/User
Data/Default/Pepper Data/Shockwave Flash/System

Mac: /Users//Library/Application Support/Google/Chrome/Default/Pepper
Data/Shockwave Flash/System

Linux: /Users//Library/Application Support/Google/Chrome/Default/Pepper
Data/Shockwave Flash/System

ChromeOS: /home/chronos/user/Pepper Data/Shockwave Flash/System

On Fri, Feb 19, 2016 at 6:18 AM, olegkon <ol...@gmail.com> wrote:

> Chris,
>
> Yes, I am running in Debug FP:
>
> YOUR SYSTEM INFORMATION
> Your Flash Version
> 20.0.0.306 (debug version)
> Your browser name
> Google Chrome (PPAPI)
> Your Operating System (OS)
> Windows (Window 10)
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12036.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: Flex on Win10

Posted by olegkon <ol...@gmail.com>.
Chris,

Yes, I am running in Debug FP:

YOUR SYSTEM INFORMATION
Your Flash Version	
20.0.0.306 (debug version)
Your browser name	
Google Chrome (PPAPI)
Your Operating System (OS)	
Windows (Window 10)



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12036.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Flex on Win10

Posted by Clint M <cm...@gmail.com>.
2) tried to use trace() inside the app.  created mm.cfg, put in the root.
Running Flash player 20 in Chrome with Debug.
It still did not create the log or even the Logs directory where it
supposed to go:
c:\users\myid\AppData\Roaming\Macromedia\Flash Player\...

Are you actually running the debug player?

Setting it up in Chrome is a bit of pain... basically you have to replace
the existing Chrome PPAPI player with the one from the flash installer at
the location Chrome expects it's player to be.

Or do something like this:
https://helpx.adobe.com/flash-player/kb/enable-flash-player-content-debugger-in-google-chrome.html



On Thu, Feb 18, 2016 at 8:41 PM, Oleg Konovalov <ol...@gmail.com> wrote:

> Hi,
>
> I recently started doing Flex development on Win10 with FB4.7/Flex SDK4.6
> on Flash player 20
>
> Got a few strange issues:
> 1) tried to create a simple Flex App (Hello World),
> it gave me security error 2148 that my app SWF can't trust SDK4.6 SWF
> I have never seen it before
>
>
> 2) tried to use trace() inside the app.  created mm.cfg, put in the root.
> Running Flash player 20 in Chrome with Debug.
> It still did not create the log or even the Logs directory where it
> supposed to go:
> c:\users\myid\AppData\Roaming\Macromedia\Flash Player\...
>
> Are these Flash20 issues or Win10?  How to fix it?
>
> Please advise.
>
> TIA,
> Oleg.
>
> .
>

RE: Flex on Win10

Posted by Saul Diaz <cr...@gmail.com>.
I can debug FF and Chrome..  Microsoft or adobe, one of them, need to get
out their high horse and release a debugger for Edge/IE at least. 

regards
-----Original Message-----
From: olegkon [mailto:olegkon@gmail.com] 
Sent: Monday, February 22, 2016 10:37 AM
To: users@flex.apache.org
Subject: Re: Flex on Win10

Clint,

> Win7: %USERNAME%/AppData/Local/Google/Chrome/User Data/Default/Pepper 
> Data/Shockwave Flash/System

I don't get the System directory there, not there...
Is it different for Win10?

I am able to debug only in Firefox (not Chrome, IE or Edge).
Is there way to get Trace working with FF on Win10?



--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12045.h
tml
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex on Win10

Posted by olegkon <ol...@gmail.com>.
Clint,

> Win7: %USERNAME%/AppData/Local/Google/Chrome/User Data/Default/Pepper
> Data/Shockwave Flash/System 

I don't get the System directory there, not there...
Is it different for Win10?

I am able to debug only in Firefox (not Chrome, IE or Edge).
Is there way to get Trace working with FF on Win10?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12045.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Flex on Win10

Posted by Clint M <cm...@gmail.com>.
You'll see this error if flash builder is unable to edit the flash player
trust file on your local machine.

Run flash builder as admin and reimport the project.

Or as a workaround you can edit your global security config settings and
trust the directory that the swf lives in.

Or you can just blindly trust c:\ (because life is short and swfs aren't
much of security threat)
https://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
note: this is the actual swf app you use to edit the settings not an image
of the settings

Here's what mine looks like on windows:
https://www.dropbox.com/s/iaj7b0dgf60m8ao/Screenshot%202016-02-19%2008.49.12.png?dl=0

p.s. i love that it's still a macromedia url

On Fri, Feb 19, 2016 at 6:14 AM, olegkon <ol...@gmail.com> wrote:

> Tried running FB4.7 (on Eclipse 4.2.2/64) as admin, still getting same
> exception:
> SecurityError: Error #2148: SWF file
> file:///C:/web/FlexTest1/bin-debug/FlexTest1.swf cannot access local
> resource file:///C:/web/FlexTest1/bin-debug/framework_4.6.0.23201.swf. Only
> local-with-filesystem and trusted local SWF files may access local
> resources.
>         at flash.net::URLStream/load()
>         at flash.net::URLLoader/load()
>         at
>
> mx.core::CrossDomainRSLItem/load()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem.as:227]
>
> I tried to deploy it to Tomcat7 as external web module, that eliminated
> security error,
> so that helps me to proceed, I am just very surprised to see that
> exceptions,
> I have done lots of Flex development on FB4.5 and earlier versions of
> Windows and Flash Player,
> don't remember seeing that issue.  What has changed?
>
>
> The log file and Logs dir still is not there.
> I have put mm.cfg into  c:\Users\myid  correct?
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12035.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: Flex on Win10

Posted by olegkon <ol...@gmail.com>.
Tried running FB4.7 (on Eclipse 4.2.2/64) as admin, still getting same
exception:
SecurityError: Error #2148: SWF file
file:///C:/web/FlexTest1/bin-debug/FlexTest1.swf cannot access local
resource file:///C:/web/FlexTest1/bin-debug/framework_4.6.0.23201.swf. Only
local-with-filesystem and trusted local SWF files may access local
resources.
	at flash.net::URLStream/load()
	at flash.net::URLLoader/load()
	at
mx.core::CrossDomainRSLItem/load()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem.as:227]

I tried to deploy it to Tomcat7 as external web module, that eliminated
security error,
so that helps me to proceed, I am just very surprised to see that
exceptions,
I have done lots of Flex development on FB4.5 and earlier versions of
Windows and Flash Player,
don't remember seeing that issue.  What has changed?


The log file and Logs dir still is not there.
I have put mm.cfg into  c:\Users\myid  correct?






--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12035.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Flex on Win10

Posted by Scott <co...@gmail.com>.
Try running flash builder as 'administrator' (right click on flash
builder icon).

On Thu, Feb 18, 2016 at 11:41 PM, Oleg Konovalov <ol...@gmail.com> wrote:
> Hi,
>
> I recently started doing Flex development on Win10 with FB4.7/Flex SDK4.6
> on Flash player 20
>
> Got a few strange issues:
> 1) tried to create a simple Flex App (Hello World),
> it gave me security error 2148 that my app SWF can't trust SDK4.6 SWF
> I have never seen it before
>
>
> 2) tried to use trace() inside the app.  created mm.cfg, put in the root.
> Running Flash player 20 in Chrome with Debug.
> It still did not create the log or even the Logs directory where it
> supposed to go:
> c:\users\myid\AppData\Roaming\Macromedia\Flash Player\...
>
> Are these Flash20 issues or Win10?  How to fix it?
>
> Please advise.
>
> TIA,
> Oleg.
>
> .