Comments (4)
ok... the problem is not fzip.swc
I tried ./mxmlc -library-path+=lib ../projects/as3-xlsx-reader-master/src/LoadXLSXExample.as
with fzip.swc in it but still blank page..
from as3-xlsx-reader.
Hi there!
The only output is given via trace so you should try this:
and you should see:
"[SWF] LoadXLSXExample.swf - 28,836 bytes after decompression
Attempting to load Example Spreadsheet.xlsx
'Example Spreadsheet.xlsx' unzipped and loaded: 11 files are inside the xlsx
getCell:A3 3 A
Cell A3=Hello Excel
[Unload SWF] LoadXLSXExample.swf
"
Some output in the swf itself would be good so I'll add that shortly along with a few tweaks to bring this project up to 2016
from as3-xlsx-reader.
I was able to confirm this but ran into an issue with the security sandbox:
(fdb) run /Users/ben/code/scratch/LoadXLSXExample.swf
Attempting to launch and connect to Player using URL
/Users/ben/code/scratch/LoadXLSXExample.swf
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
[SWF] Users:ben:code:scratch:LoadXLSXExample.swf - 28,836 bytes after decompression
(fdb) continue
[trace] Attempting to load Example Spreadsheet.xlsx
[trace] *** Security Sandbox Violation ***
[trace] Connection to file:///Users/ben/code/scratch/Example Spreadsheet.xlsx halted - not permitted from file:///Users/ben/code/scratch/LoadXLSXExample.swf
[Fault] exception, information=SecurityError: Error #2148: SWF file file:///Users/ben/code/scratch/LoadXLSXExample.swf cannot access local resource file:///Users/ben/code/scratch/Example Spreadsheet.xlsx. Only local-with-filesystem and trusted local SWF files may access local resources.
Execution halted in 'LoadXLSXExample.swf' at 0xffffffff (-1)
This was fixed by compiling the swf with -use-network=false
to allow for the local sandbox
(fdb) run file:///Users/ben/code/scratch/LoadXLSXExample.swf
Attempting to launch and connect to Player using URL
file:///Users/ben/code/scratch/LoadXLSXExample.swf
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
[SWF] Users:ben:code:scratch:LoadXLSXExample.swf - 28,836 bytes after decompression
(fdb) continue
[trace] Attempting to load Example Spreadsheet.xlsx
[trace] 'Example Spreadsheet.xlsx' unzipped and loaded: 11 files are inside the xlsx
[trace] getCell:A3 3 A
[trace] Cell A3=Hello Excel
from as3-xlsx-reader.
Great! Thank you.
from as3-xlsx-reader.
Related Issues (7)
- Hi guys got a wee patch for 24+ column excel sheets, added a load from bytesArray, and a get worksheets in excel database method, and unfortunately don't have git install so can't push the patch HOT 2
- How to write something ?
- Accessing Notes HOT 1
- Cell value when it reference another cell, which again reference another cell - missing HOT 1
- Browse for the file HOT 5
- how to access each cell value HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as3-xlsx-reader.