Adobe Scout is not starting a new session for loaded SWFs - actionscript-3

I have an issue with Adobe Scout. It does not listen (doesn't start a new session like it should) for a SWF loaded by another (main) SWF. The SWFs have advanced telemetry enabled and the setup is correct as described in http://www.adobe.com/devnet/scout/articles/adobe-scout-getting-started .html. Please help
I am using Win 7 64-bit, the latest versions of Adobe Scout and Flash Player, Chrome 32 / IE 11. Also I have made sure that the Scout server is listening, as descibed in the article linked above: Verify that the Scout server listening. Open Scout, and then type localhost:7934 into your web browser. It should respond quickly with "server dropped connection", "no data received", or something similar (since Scout is not an HTTP server). Scout should show the error message "can't start a session because the telemetry data isn't valid". If the browser stalls for a long time, and then comes back with "server not found" or something similar, then the socket isn't working.
Thank you

This adobe article states that:
When you run Flash content in a web browser, Flash Player typically
runs in a separate operating system process. There's only one process
for all the SWFs running in that browser, including any related worker
threads, and Flash Player manages the execution of these SWFs so that
it looks like they're running independently. Each running SWF is known
as a player instance, and this corresponds to a session in Scout.
Worker threads are player instances too. For AIR content, there's only
one main player instance, plus any workers it uses
So separate scout sessions are started for Worker SWFs (separate runtime instance). If you simply use a Loader, those telemetry data are included in your main session.

Related

Unix: Keeping an instance of flash player running as a daemon...?

I'm pretty new to unix operating systems. I'm running CentOS 6.5, and I need to run 1 (or more ideally) instances of Flash Player continually in the background, I've no idea how to do this.
The reason is because in Flash I'm using the RTMFP protocol to send data between clients P2P, and it would be useful for me to have a few test clients running on my server all the time.
How would I go about doing this? The flash program needs to be visually navigated through its menus to get it into the state required. Currently I'm just using putty, what can I install to get a GUI to do this, and how might I go about getting Flash Player (10.1 up) to work?
Thanks a lot!
I think I have an idea what you're trying to do. To clarify, you want to have several flash applications running in browsers or via a flash player to act as test users to test your RTMFP protocol?
If this is the case, use VNC (something like running multiple instances of x11vnc on different ports) to log into several GUI accounts on your system and run the application (Linux is multiuser by default). You can close out the VNC without ending your session. This should work for what I think you're trying to do.
Hope this helps.

Compiler errors in Flash Pro

I am using Flash Professional authoring tool with ActionScript 3 code. Basically, I'm trying to capture a live webcam feed using NetConnection, NetStream Camera and Video classes via Flash Media Development Server. When I run the code I receive this in my output:
ArgumentError: Error #2126: NetConnection object must be connected. at flash.net::NetStream/ctor() at flash.net::NetStream()
I don't really understand what could be causing this error my code is perfectly fine..Its very frustrating. When I debug I get this:
SecurityError: Error #2028: Local-with-filesystem SWF file file:///C|/Users/Name/AppData/Local/Temp/Untitled%2D1.swf cannot access Internet URL rtmfp://localhost/flashExam.
[SWF] C:\Users\Name\AppData\Local\Temp\Untitled-1.swf - 3853 bytes after decompression
It appears the swf file cannot gain access FMS. Why is this? And, does anyone know what I can do to resolve these issues?
Are you running the SWF locally, e.g., opening in the browser or from a local HTML opened in the browser? Flash doesn't let you normally connect to servers and services outside of the domain. Try running a local server (e.g. XAMPP/Apache) or hosting it somewhere and trying again.
You could also try changing your flash settings to allow your swf location to be trusted. Generally the flash player doesn't allow a swf running from the file system to access resources on the internet. Try heading over to the settings panel and add the folder you are running your swf from.

Flex application with access to local filesystem and network?

I'm developing kind of standalone kiosk and having trouble as in title.
Explanation:
Application is launched in Google Chrome with "--app=file://..." option
Application should play video files from local filesystem after user
interaction and after playback is finished app will send log-message
to web server.
Problem:
When using with "-use-network=false" i can use local files and cannot
send messages.
When using with "-use-network=true" i can send messages but cannot
red local files.
When using with debugger and Safari on Mac locally - no problems.
Is there any way to get around this?
Software used: Debian, latest Google Chrome with latest pepper Flash.
As written in Adobe docs:
The local-trusted sandbox—Local SWF files that are registered as
trusted (by users or by installer programs) are placed in the
local-trusted sandbox. System administrators and users also have the
ability to reassign (move) a local SWF file to or from the
local-trusted sandbox based on security considerations (see
Administrator controls and User controls). SWF files that are assigned
to the local-trusted sandbox can interact with any other SWF files and
can load data from anywhere (remote or local).
Besides that, I doubt there is an easy way to do both networking and access local files since this is how Flash security sandboxes work. Or you could write an AIR app (2.6 is last supported version on Linux) or wrap your swf in a native app that would act as a layer between .swf and network/filesystem interfaces.

Error #2148: SWF file Cannot acces local resources

I'm trying to load a local video to display it and I'm having this error ( Error #2148) at runtime, I have read in many places what this problem is, about flash security and all that stuff but there's no solution anywhere and some people say that it can't be done.
My swf works fine when loading from internet, I have my cross-domain on my server but is completely necessary for me to create a standalone version which can run without internet connection and load the videos from file system.
May be with different compiling options? I'm using Flash Builder 4.6
Any idea how could I achive a local resource loading?
P.D. I know that the trusted folder can resolve the problem but that implies a configuration change in every computer it runs and I need it to be portable like in a USB to run on any computer that has Flash Player.

how to pack phonegap blackberry application with a video?

I am developing application for blackberry using phonegap.
I have a requirement to display video in my application.
I want to package my application with the video.
I copied my .mp4 file in www/resources folder.
When i run ant blackberry load-device ..Number of sign files got increased and signing was successful.
But loading to device gave following error..
[exec] Copyright 2001-2009 Research In Motion Limited
[exec] Connecting to device...
[exec] Connected Loading Test 0 of
Error: The specified module was rejected by the device and cannot be loaded
[exec] 0 bytes sent at ~0 bps
[exec] Disconnected '
Is there any way to package the application with video file.
Please help.
Size of a BlackBerry app cannot be bigger than 16256 KB
If an application exceeds this limit it cannot be installed/run.
I recommend to split your application to two parts. The first part installs on the device, and then downloads video to memory card. Do not use internal filesystem to store large amounts of data. Because internal memory filesystem shares space with critical system modules. And when there is shortage of internal memory, then device goes mad, and may restart itself accidentaly, freeze issues occur, etc.