Flash - Crash When Linking SWC With Alchemy

Apr 12, 2010

I have a project I'm trying to compile with alchemy. It will compile .o and .a files, but when trying to create a .swc, it will fail. It appears to crash with this error:

g++ -swc -o mylib.swc my-flex-interface.cpp mylib.a
Cannot yet select: 0x279c810: ch,flag = AVM2ISD::CALL - A call instruction 0x279c7a0, 0x29c4350
0 llc 0x00636dfe _ZNSt8_Rb_treeIN4llvm3sys4PathES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13insert_uniqueERKS2_ + 6078
1 llc 0x006373a2 .....

View 1 Replies


Similar Posts:


Flash :: Use STL With Alchemy?

Sep 14, 2011

While Alchemy supports compiling C++, it seems that using the using the STL is trouble, mostly due to a problem with std::string. What's strange is that Alchemy seems to be using GNU libstd++ v3.4.6. It's hard to believe that std::string is broken in GNU's STL.

View 1 Replies

Using Opencv In Flash Alchemy?

Jan 25, 2012

I have a project that uses quite a few opencv libs to do some image processing tasks. Now I need to build a Flash app for it. I read that Alchemy allows compiling c++ libs for FlashI wonder if anyone has tried to build flash apps using opencv libs and dlls

View 1 Replies

Flash :: Alchemy's AS3_Shim Broken?

Sep 13, 2010

I'm trying to use AS3_Shim in my alchemy code but it doesn't seem to be working.It always returns a NULL function pointer. There don't seem to be any examples of AS3_Shim's use, so I'm not sure what I'm doing wrong.Here is some example code:

static AS3_Val thunk_logtest(void *self, AS3_Val args) {
warning: this leaks
AS3_Val ns= AS3_String("mx.logging");[code]..........

View 1 Replies

Actionscript 3 :: Get A Reference To An Alchemy Asm Declared Variable Into Flash?

Mar 28, 2011

i have a variable declared in alchemy asm:

asm("var buffer:Vector.<Number> = new Vector.<Number>(100, true);");

i can populate it with data like so:

asm("buffer[%0] = %1;" : : "r"(index) : "r"(value));

what i can't figure out is how to get a reference of that asm "buffer" variable into actionscript.

(i did think of one way... what i did was to throw the "buffer" from alchemy asm, and then catch it in actionscript, but unfortunately it seems to leak a lot of memory).

is there a better alternative to doing this?

note that performance is critical, and using default alchemy marshaling is way too slow.

View 1 Replies

Using Adobe Alchemy To Get OpenGL Image From C++ Code To Flash App

Jun 2, 2011

I have C++ application that use OpenGL. Need to convert this app to flash app. Is it possible to do this with Adobe Alchemy? Is it will be possible to get from that swc current image (for example, with glDrawPixels) and print it on screen

View 2 Replies

ActionScript 3 :: Flash - OGG Sound Delayed (Adobe Alchemy Library)

Feb 6, 2012

I wanted to make live drums play with keyboard shortcuts. The problem was that MP3 is not good enough in this case (encoders adds random silence at beginning of the sound) and also flash itself makes delay (I tried use already buffered file with play specified_start_point_in_miliseconds)). So my solution is OGG (this format is gapless). I use compiled swc file from Adobe Alchemy library and simple frontend for it. Everything works fine, OGG file is playing, but its still much delay - no matter if its lodeaded external or as embedded, and if its first or n time. How to make sound play fast equally to key press.

Here is my very simple example code:
import flash.display.Sprite;
import flash.events.*;
import flash.utils.ByteArray;
import flash.events.SampleDataEvent;
import com.mauft.OggLibrary.OggStream;
import com.mauft.OggLibrary.OggEmbed;
[Code] .....

View 1 Replies

Flex :: Adobe Alchemy Tool Create Faster Running Flash Byte Code Than The Compiler?

Dec 8, 2009

I have seen a few blog entries on this and have had a discussion or two with my team mates but I would like to see what the stack overflow community thinks.

So why does the Adobe Alchemy Tool create so much faster running flash byte code than the flex compiler?

Also, when will the flex compiler be able to make similar performance gains? Will it require programmer specific use of special Array's or something of that nature to get the same performance?

View 2 Replies

Logging - Where (on OSX) Is The Flash CS4 Crash Log

Apr 15, 2010

I have one particular FLA that is crashing every time I try to compile (after switching to Snow Leopard). Flash just stalls and I am forced to use "Force Quit"... I have no idea what could be causing this and I cannot find any crash report. Where on the system does Flash put crash logs?

View 1 Replies

Flash :: IDE = CS3 Crash When Publishing

Jun 15, 2007

Installed Flash CS3 for the first month and everything was working ok. But mayhem kicks in the last couple of days when i tried to publish my document. it just keep crashing. i tried creating a new document with just one line of text and it still crash upon publishing. I uninstall the program, run winCS3Clean and install the program, THRICE, but the problem just wouldnt go away. this is very frustrating.

View 14 Replies

Flash CS4 :: Crash On Library Import?

Jun 16, 2009

Flash CS4 is crashing every time I attempt to import a collection of jpegs to the library.I've tried small groups (crashes eventually), running in obselete compatibility modes...This seems common (though no fix I've seen actually works) - is there an appliccable FAQ?

View 3 Replies

Flash :: CS5 Crash When Editing Preferences?

Mar 25, 2011

Does it happen to anyone else when you edit anything in the preferences window that Flash CS5 crashes? I've reinstalled the program as well.. any tips I can try?

View 2 Replies

IDE :: Flash CS3 Files Crash When Publishing To CS4

May 8, 2009

I have decompiled CS3 fla's and I am trying to publish them as CS4 files. I have Flash CS4 installed on my computer. Some of my files will publish but not all of them will. It is getting rather frustrating trying to publish these files while all I have changed is the text. Although as you must know, the text is now a graphic(from the Flash Decompiler), so I am now trying to publish the new file and it crashes. It does save as an fla but will not before a swf.

I know the message boards keep saying to uninstall Flash CS4 and re-install CS3 but this is not an option for me.

View 2 Replies

ActionScript 3.0 :: Possible To Let Flash Crash Without Taking Cs5 Down With It?

Jan 21, 2011

Is it possible to let flash crash without taking cs5 down with it?

View 1 Replies

Port C++ To Swf With Alchemy?

Feb 12, 2010

Alchemy allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2).

View 1 Replies

ActionScript 2.0 :: Foolproof Way To Crash Flash Player?

Nov 19, 2010

Long story short, I'm having my SWFs packaged by a 3rd party projector wrapper. That wrapper's "quit/exit" functionality appears to be broken. So I figured, why not just force a crash when I want to exit (triggered by user input)?

View 1 Replies

Font Causing Flash Crash On One Machine Only?

Mar 21, 2012

I have an issue whereby a new font (FFF Forward variant) installed on some machines works perfectly in flash (cs5.5) but on one machine causes an instant crash when the Type Tool is used.I know the font is the core of the problem but am unsure why it works on some flash installations (same versions) and not others?

I have tried every conceivable way of uninstalling/installing the font (even cmd prompt and safe mode!)I have flushed preferences files (obv inc typesupport folder)I have re-installed flash!I have even tried copying the prefs files from one of the working installations to the troublesome machine.I have run font verification and repair tools (nexus font, font creator, font val, font doctor, font lab...)No joy, still crashing

View 1 Replies

ActionScript 3.0 :: Code Seems To Crash Flash And Broswer

May 2, 2010

I am new to as3 although i have a little bit of knowledge of as2, which i think is being more of a hindrance than a help, so be gentle my flash movie compiles without any errors and also debugs without errors, but when I play swf file and move over the assets it frequently crashes the program running the swf, be it Flash itself or a browser.the FLA is very large but here is the code and a link to the swf.[code]

View 1 Replies

Professional :: Flash CS4 Crash When Scrolling In FLA Files

Jun 28, 2010

Today one of our artists started experiencing a crash in Flash CS4 Professional when scrolling the workspace around in one of his .fla files. All he has to do is hold down the spacebar and scroll around with the mouse; or use the scrollbars to scroll around. It has crashed about 10 times in the last hour, and we copied the file over to another machine and saw the crash there as well. We've only seen it occur with one particular file.

The machines are both Intel Core i7 machines with 8GB of RAM and two different video cards, one running Windows 7 and the other running Vista; and the crashes cause the Adobe "let me report this crash to the mothership" dialog box, so I don't think it's video card driver related; I think it's just a bug in Flash Professional. We're running version 10.0.2 with no updates available to Flash Professional when choosing "Updates..." from menu.

View 4 Replies

Professional :: Master Collection Flash Cs5 Crash Win 7 64 Bit?

Jul 31, 2010

opening included templates in Flash CS5 and then telling the program to test the movie within the environment shows Flash trying to export an SWF file and then crashes. the program will alllow the movie to be played inside the environment, however.
 
debugging yields the same crash:
 
Problem signature: 
Problem Event Name: APPCRASH
Application Name: Flash.exe
Application Version: 11.0.0.485
Application Timestamp: 4badda9d

[code]....

DW opens and using one of its templates, no problems so far.Read about <supposedly> certain .Wacom tablet drivers and flash...don't have any such device installed, but stopped the generic windows tablet service....no change in the problem.

View 6 Replies

Professional :: Simple AS3 - Flash 10.2 To Crash On All Platforms

Feb 22, 2011

Very simple code that causes flash 10.2 to crash on all platforms.

[Code]...

View 6 Replies

Professional :: Use Of Any Draw Tool Causes Flash CS5 To Crash

Jun 27, 2011

I recently installed the CS5 Master Collection on my MacPro for work. I need to use Flash CS5 in order to work on some projects in the office, however I'm encountering several issues that make it near impossible for me to use the software. First of all, when I start the program and select "New..." and select any type of new file, I'm greeted by nearly every button being greyed out, to where I cannot select them. I've found out that I can make these buttons usable by changing my workspace in Flash.

The issue that's causing me trouble is that whenever I select any sort of "Drawing" tool, Flash CS5 crashes immediately. Whenever I click on the line, pen, circle, rectangle, pencil, or brush tools, CS5 freezes briefly (about 2-3 seconds) and then immediately closes. I can still use tools such as the Pan tool, zoom, text, and selection tool. Also, whenever I select the Spray Can tool, I get the following error:
Unable to load the script. The file <filepath>/ProScripts/sprayBrush.jsx does not exist.

I have already tried updating my system, updating every Adobe product on this machine, reinstalling, and even using a seperate installation CD, but everything thus far has yielded the same results.
Info on my system:
MacPro running OS X V. 10.6
2 x 2.26 GHx quad-core proocessors
12 GB DDR3

View 2 Replies

Professional :: Flash Crash During Testing Movie-Mac

Jul 13, 2011

Flash CS4 frequently crashes after trying to test my movie. I have a MacBook Pro OS 10.5.8. I have updated Flash CS4 as well. Here are the problem details in the crash report.

[Code]....

View 1 Replies

Flex :: Why SWF Causing Flash Player To Crash

Aug 6, 2009

I've got a flex-based swf, which is loading an AS 2-based swf and then, negotiating further activity via a LocalConnection. From time to time, the AS 2-swf can request that the flex-based swf load a movie. I've arranged this via on(release){} functions. The AS 2-swf, I'm making in Swish Max. In Swish, when I set the on (release) on a text field, (to invoke .send() on my localconnection), it works splendidly. However, when I attempt to perform the same calls for an on(release) attached to a movieclip, it actually causes the Flash player, and even the browser plugin to crash. In fact, the browser (IE) crashes as well. I checked the debug trace that ie asked me to send to microsoft at the last IE crash, and i noticed a StackOverflow exception embedded deep in the trace, but I couldn't determine its source.

View 5 Replies

Actionscript 3 :: Flash Crash When Loading External Swf

Jun 30, 2010

This is a AS3 project created in FlashDevelop. It targets flash player 10.[code]...

create such a strange loop and error? I´ve been trying to solve it all day. Maybe some kind of settings in FlashDevelop or parameters to the MXMLC compiler?

View 2 Replies

ActionScript 3.0 :: Flash CS5 To Crash Even Though Its The Most Up To Date Version?

Aug 31, 2011

I've been very confused about how to use bitmapdata. Is it possible to turn a vector image into a bitmap in order to use BitmapData.hitTest method on it? and how would I go about that?

I've read several documents and I am still very confused. Can somebody walk me through this?

I've tried using hittest on prexisting bitmaps and it causes Flash CS5 to crash even though its the most up to date version.

View 4 Replies

ActionScript 3.0 :: Editing Buttons Causes Flash To Crash

Oct 16, 2011

I have a project that I have bee working on for quite a while, and just recently it began doing strange things. Anytime I try to edit a button symbol, Flash crashes immediately.

For example, if I go into the button symbol editing mode, it will be fine. But as soon as I move the play head to the overstate key frame, the whole program just disappears.

View 4 Replies

ActionScript 3.0 :: New Sound Causing Flash To Crash?

Mar 10, 2010

adding this in my class (i name it CGame)

Code:
var ns = new mysound();
ns.play(0,1);

makes flash cs4 crash. But not if it added to timeline/stage.I tried making new class with different name, then adding the code, and it works.So it just fails on CGame.

View 1 Replies

ActionScript 3.0 :: Flash Player Crash After Closing SWF

Dec 22, 2010

so I was having this weird phenomenon in a rather complex flash app, that even though the app worked fine and didn't throw any errors, it just crashed the flashplayer upon closing the SWF... I first thought that there was something in my code, that I was doing something wrong in my code, but I now have my app stripped down to this:

[Code]...

View 5 Replies

Flash 10 :: Not Work Correctly In Chrome And Will Ultimately Crash The Flash Player

Jan 20, 2012

If you set a .swf with wmode transparent mode and register the Event.RESIZE in it. It will not work correctly in Chrome and will ultimately crash the Flash Player. Of course same thing in FF, EI or any other browser works like a charm. Setting wmode to window fixes the problem but anyone knows a work around with wmode set to transparent?

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved