Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Building the swf #26

Open
mscdex opened this issue Oct 18, 2015 · 1 comment
Open

Building the swf #26

mscdex opened this issue Oct 18, 2015 · 1 comment

Comments

@mscdex
Copy link

mscdex commented Oct 18, 2015

First off, I'm a newbie when it comes to writing/compiling Flash stuff so please bear with me.

I downloaded FlashDevelop and Apache Flex and I am seemingly able to build Playcorder.swf, but whenever I try to use the custom built swf in the browser, the swf never loads. All I see is the "Loading..." box in the middle of the window. I've confirmed that only the swfobject.embedSWF() callback is called, with a successful result, but pc.onloaded(), pc.onready(), etc. never fire.

What am I doing wrong? I even tried using the exact same mxmlc build command that you have in your gruntfile.js and the same thing happens. I've also tried to build a debug version of the swf and loaded up MonsterDebugger, but no trace information ever shows up. I am targeting Flash Player 11.9.

The only reason I need to rebuild the swf is because I want to be able to change the default codec from NellyMoster to Speex, so I can upload raw Speex audio (via the Flash multipart class) to a server.

Any help you can provide would be greatly appreciated.

@normanzb
Copy link
Owner

hey have you tried:

  1. deep clone this repo with its sub modules? this repo relies on some other module and should be cloned as well: git submodule update --init --recursive
  2. replace the custom built swf file with the original one? does it work?
  3. if 2) doesn't work neither, maybe its because of the way you open up the sample page? for example, it should be hosted rather open straight way from folder
  4. If 2) does work, have you tried to install a piece of debug flash player, run it with the build and then check the error log output? https://helpx.adobe.com/flash-player/kb/configure-debugger-version-flash-player.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants