catree / in-spirit Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/in-spirit
Automatically exported from code.google.com/p/in-spirit
Me gustaria saber si existe algún manual de uso de esta librería
Original issue reported on code.google.com by [email protected]
on 7 Oct 2010 at 9:15
What steps will reproduce the problem?
1. Load 3 or more images into ASSURF
2. Save out reference data using ASSURF.exportReferenceData() and
Util.savePointsData()
3. Load the points in again using ASSURF.importReferenceData()
This results in:
Error: Error #2030: End of file was encountered.
In my project, the points.ass file length (uncompressed) is 8,272,412.
in importReferenceData():
detectPrec = 1, descrSize = 64, numRefs = 8
when i=0, ba.position is set to 12 (ref: 0 1000 751 7319)
when i=1, ba.position is set to 4,040,116 (ref: 1 1375 1033 7363)
when i=2, ba.position is set to 16,208,972, which causes the first ba.readInt()
to throw the EndOfFile error
So, I'm thinking that the error is in the line
ba.position = 12 + (16 + (40 + (descrSize << 3)) * refPointsCount ) * i;
But I don't know what the underlying data format is.
Or perhaps I am just saving or loading the file incorrectly?
Original issue reported on code.google.com by [email protected]
on 25 Oct 2010 at 10:28
What steps will reproduce the problem?
1. Build Mosaic
What is the expected output? What do you see instead?
Does not build -
C:\Documents and Settings\J\Desktop\untitled folder\src\Main.as(78): col:
37 Error: Type was not found or was not a compile-time constant: FlickrEvent.
private function loadPhotos(event:FlickrEvent):void
^
C:\Documents and Settings\J\Desktop\untitled folder\src\Main.as(118): col:
35 Error: Type was not found or was not a compile-time constant: TileBankEvent.
private function onTileLoaded(e:TileBankEvent):void
^
C:\Documents and Settings\J\Desktop\untitled folder\src\Main.as(175): col:
33 Error: Type was not found or was not a compile-time constant: FlickrEvent.
private function onUserFind(e:FlickrEvent):void
^
C:\Documents and Settings\J\Desktop\untitled folder\src\Main.as(180): col:
36 Error: Type was not found or was not a compile-time constant: FlickrEvent.
private function onFlickrError(e:FlickrEvent):void
Original issue reported on code.google.com by [email protected]
on 25 Feb 2010 at 6:18
What steps will reproduce the problem?
1. In your test .FLA, remove the Mouse.CLICK listener and instead trigger
the upload instantly
2. Test the movie within Flash - it works
3. Test in a browser - nothing happens (I don't get a security error either)
This seems to be a problem with URLLoader and the way the content-type is
set. I replaced line 281:
urlRequest.contentType = 'multipart/form-data; boundary=' + getBoundary();
with
urlRequest.requestHeaders.push(new URLRequestHeader('Content-type',
'multipart/form-data; boundary=' + getBoundary()));
and the upload will proceed immediately.
Original issue reported on code.google.com by [email protected]
on 22 Sep 2009 at 8:00
What steps will reproduce the problem?
1. Code calls MultipartURLLoader with all listeners
2. Run in all browsers
What is the expected output? What do you see instead?
It works in all tested browsers except for Firefox on a Mac. In this I get a
2032 stream error.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2012 at 11:28
What steps will reproduce the problem?
1. create a MultiparUrlLoader; add progress event
2. add file data
3. load
What is the expected output? What do you see instead?
Handler of progress event should run during uploading
What version of the product are you using? On what operating system?
version 1.3; window7
Please provide any additional information below.
Hope progress event works same as FileReference
Original issue reported on code.google.com by [email protected]
on 7 Dec 2012 at 11:42
I'm trying to leverage the LZMAEncoder.swc in a stand-alone environment (i.e.
small CS5-based project). I'm thinking there may be other dependencies the .swc
is trying to reference? Any help would be appreciated!
What steps will reproduce the problem?
1. var enc:LZMAEncoder = new LZMAEncoder();
2. Runtime crash with VerifyError: Error #1026: Slot 34 exceeds slotCount=0 of
String.
What is the expected output? What do you see instead?
Should continue without issue. Here is a snip of the exception thrown:
verify global$init()
stack:
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
0:getlocal0
stack: global
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
1:pushundefined
stack: global void?
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
2:setslot 35
stack:
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
4:getlocal0
stack: global
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
5:pushundefined
stack: global void?
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
6:setslot 37
stack:
scope: ~ ~ ~ ~ ~ ~ ~
locals: global *
...
...
3615:getscopeobject 0
stack: global
scope: global ~ ~ ~ ~ ~ ~
locals: global *
3617:findpropstrict cmodule.lzma::exportSym
stack: global global
scope: global ~ ~ ~ ~ ~ ~
locals: global *
3620:pushstring "_setjmp"
stack: global global String
scope: global ~ ~ ~ ~ ~ ~
locals: global *
3623:getglobalslot 34
VerifyError: Error #1026: Slot 34 exceeds slotCount=0 of String.
at ru.inspirit.lzma::LZMAEncoder$cinit()
at global$init()[E:\_exp\SevenZip\src\ru\inspirit\lzma\LZMAEncoder.as:15]
at LZMA::test()[C:\depot\samples\LZMA\test.as:45]
Original issue reported on code.google.com by [email protected]
on 19 Dec 2010 at 11:50
What steps will reproduce the problem?
1. Use described steps in tutorial to setup MultipartURLLoader object
2. Run flash in IE 8
3. Try uploading photo
What is the expected output? What do you see instead?
Expected: Server should get a request to save the photo.
Currently no request is received at server. Working fine for FF, Chrome
What version of the product are you using? On what operating system?
Tested on Win Server 2003, Windows 7, Flash player 10 & debugger version
Original issue reported on code.google.com by [email protected]
on 24 Feb 2012 at 8:54
So the 2176 security issue rears its ugly head when submitting multi-part
data across triggered by an ExternalInterface call.
I read elsewhere about the problem and figured it wasn't able to be fixed.
Turns out it can.
I'm not sure why the "cotentType" property was set and not the
"requestHeaders" but if within the doSend() method you change:
urlRequest.contentType = 'multipart/form-data; boundary=' + getBoundary();
TO:
urlRequest.requestHeaders.push(new URLRequestHeader("Content-Type",
'multipart/form-data; boundary=' + getBoundary()));
Everything seems to work then even with ExternalInterface. Again I really
don't know why it was the other way, but this class is really convenient
and great. It makes adding data a very simple both strings and file data.
So I really love this class. Hope this helps.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2010 at 11:49
What steps will reproduce the problem?
1. Add two or more file to the MultipartURLLoader.
2.
3.
What is the expected output? What do you see instead?
I want all files to be uploaded, but only one does.
What version of the product are you using? On what operating system?
Please provide any additional information below.
In the beginning of getFilePartHeader method, line 5, code:
- bytes = 'Content-Disposition: form-data; name="Filedata"';
should be changed to:
- bytes = 'Content-Disposition: form-data; name="' + part.dataField + '"';
After this small fix MultipartURLLoader loads all my files.
Thanks Eugene!
Original issue reported on code.google.com by [email protected]
on 20 Feb 2012 at 7:24
Hi!
Add this Event metadata into loader class:
[Event(name="complete", type="flash.events.Event")]
[Event(name="httpStatus", type="flash.events.HTTPStatusEvent")]
[Event(name="ioError", type="flash.events.IOErrorEvent")]
[Event(name="progress", type="flash.events.ProgressEvent")]
[Event(name="securityError", type="flash.events.SecurityErrorEvent")]
[Event(name="dataPrepareProgress",
type="ru.inspirit.net.events.MultipartURLLoaderEvent")]
[Event(name="dataPrepareComplete",
type="ru.inspirit.net.events.MultipartURLLoaderEvent")]
This will enable autocompletion for event listeners using modern IDEs.
Thanks.
Original issue reported on code.google.com by [email protected]
on 8 Jan 2012 at 12:27
What steps will reproduce the problem?
1. Open the test.fla in Flash cs3 pro
2. clicked Test Movie
3. click upload button
What is the expected output? What do you see instead?
Data should be sent to server.
What version of the product are you using? On what operating system?
Flash CS3 pro on Win7 32 bit
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Jul 2011 at 12:10
[deleted issue]
It would be great to be able to access the interesting points as the camera
frames are analyzed. I see that it is available in the deprecated version, but
it seems that all of the SURF info is coming from the clib?? And I don't know
how to access it.
If you give me a clue about how to access that data (sorry -- I haven't worked
in AS in years), I'd be glad to attempt it myself and submit it to the
repository.
Original issue reported on code.google.com by [email protected]
on 21 Oct 2010 at 10:28
Maybe I have overlooked something, but I wonder if there is a way to speed
up the matching process a bit in the case where you have several reference
images.
Right now it looks like that for every call to getMatchesToReference a new
integral bitmap is calculated and the whole extraction of interest points
is being run. Since there is only one buffer for reference maps it is
necessary to rewrite that buffer for every reference map that should be
checked. However in order to find matches all is needed is the points of
interest which do not change in static images (except if the options are
changed).
So wouldn't it be faster to have a method that allows me to directly send
in the previously extracted points of interest of a reference map which I
only have to calculate once and can store?
Original issue reported on code.google.com by [email protected]
on 14 Feb 2010 at 9:34
...
ml.addEventListener(Event.COMPLETE, onLoadComplete);
ml.load(URL);
...
private function onLoadComplete(e:Event):void {
trace(e.target.data);
}
(It is all ok with the server response (xml) using URLLoader)
This is very necessary feature.
Mark Ledford (on your blog) said: "I think this class should extend
URLLoader directly so that these things are accessible".
Original issue reported on code.google.com by [email protected]
on 17 Sep 2009 at 4:40
I have download LZMAEncoder but i don't know how to use LZMAEncoder to
decompress .7z file and add to flash.
Help me.. please...
Original issue reported on code.google.com by [email protected]
on 3 Dec 2010 at 9:49
I use the code and compile, but the points are not displayed. Somebody could
help-me?
- Are there some tutorial to compile the example in this site?
[]s
Original issue reported on code.google.com by [email protected]
on 14 Aug 2011 at 11:37
Пожалуйста, добавьте в репозиторий
исходные коды к этому проекту. В частности
интересуют cи код к части архиваторов,
собранных алхимией.
Original issue reported on code.google.com by max%[email protected]
on 21 Jan 2011 at 1:01
You can do that using:
http://nexus.sonatype.org/oss-repository-hosting.html
If you need any help I can assist also.
VELO
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 11:35
What steps will reproduce the problem?
1. Try and send async
2. See that nothing is sent to the server
Instead of
I use the latest version of the code, with windows 7 and, checked in all
browsers.
Currently I added the event listener and removing it myself so data would be
sent,
Simple to fix, add this line in the load method when checking if all the data
is prepared(or if you deem it not right, in another place):
addEventListener( MultipartURLLoaderEvent.DATA_PREPARE_COMPLETE, startLoad);
Removing the listener in doSend method:
if (_async)
removeEventListener( MultipartURLLoaderEvent.DATA_PREPARE_COMPLETE, startLoad);
New startLoad signature:
public function startLoad(event:MultipartURLLoaderEvent):void
thats about it to get it working in async mode.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2012 at 12:01
What steps will reproduce the problem?
1. download pngencoder.swc.zip on a Mac
2. double click
3. you get a folder with a swf inside.
What is the expected output? What do you see instead?
a swc
What version of the product are you using? On what operating system?
Mac
Original issue reported on code.google.com by [email protected]
on 10 Sep 2010 at 8:20
I implemented the surf engine in flash/AS3 :
public var surf:ASSURF;
public var surfOptions:SURFOptions;
surfOptions = new SURFOptions(capture_sp.width, capture_sp, 200, 0.003, true,
4, 4, 2);
surf = new ASSURF(surfOptions);
and then destroy it on button click :
surf.destroy();
but memory is never released....
Is there a trick to completely freeing memory ?
thanks.
Original issue reported on code.google.com by [email protected]
on 16 Jun 2010 at 1:20
Hi,
I get the following error with both the async encoder and the simple synch
encoding:
RangeError: Error #1506: The specified range is invalid.
at cmodule.gzip::FSM_imalloc$/start()
at cmodule.gzip::FSM_pubrealloc/work()
at Function/<anonymous>()
at Function/<anonymous>()
at ru.inspirit.encoders.png::PNGEncoder$/encode()[E:\_exp\PNGEncoder\src\ru\inspirit\encoders\png\PNGEncoder.as:161]
I saw in your blog that someone else had an issue with this as well.
I use also this script, but I don't know if there is a conflict with it:
http://segfaultlabs.com/devlogs/alchemy-asynchronous-jpeg-encoding-2
Original issue reported on code.google.com by [email protected]
on 21 Mar 2011 at 9:05
I need to do a POST that works similar to navigateToURL. I started with
version 1.3, refactored the code a bit and added the method navigate. I use
this new method in conjunction with a wait window on top of my app.
Since I'm not using the _loader, the listeners are not utilized.
Original issue reported on code.google.com by [email protected]
on 30 May 2011 at 4:58
Attachments:
What steps will reproduce the problem?
1. Upload a plain text file containing "Hello World" (11 bytes)
2. Once uploaded, check the file and you'll notice that it's 13 bytes.
3. Characters CRLN were added to the file.
What is the expected output? What do you see instead?
Uploaded file should not have the CRLN characters at the end.
What version of the product are you using? On what operating system?
r118, Windows Vista 32-bit
Solution?
Under MultipartURLLoader.constructFilesPart() do not add a line break after
the last file since closeFilePartsData() adds one right after.
if (i != _fileNames.length - 1) {
postData = LINEBREAK(postData);
}
i++;
Original issue reported on code.google.com by [email protected]
on 26 Apr 2010 at 9:53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.