Alchemy C++ & AS3 in one IDE
Hi guys,
I wonder if someone can help me.
I can compile alchemy code using gcc/g++, I can compile the as3 using mxmlc. Nice Thanks very much but I'm trying to setup and integratd toolchain to avoid having to faff around in the command line. What I would really like is to setup an integrated solution using Eclipse/FB SDK and CDT then string them all together so that when I hit 'build' it compiles the c++, links the swc output to the as3 then builds the as3 into an swf......... sounds simple but what a nightmare I'm having getting it working.......
I figure that someone has to have cracked this problem already, can someone throw me a bone here? perhaps even a simple template project, or simply some project settings which have worked for them?
Thanks very much indeed!
Alex
Check this tutorial:
http://blog.tartiflop.com/2008/12/setting-up-an-alchemy-development-environment-in-flex-bu ilder-3/
I personally attempted a different approach to integrating eclispe with cygwin on windows and compiling alchemy directly from the IDE with no hacks/tricks but ended up getting frustrated and writing bash scripts to do the compilation for alchemy and still working with flashdevelop for flash. However I did find this exhaustive tutorial for integrating alchemy dev into flex builder. Hope this is what you're looking for.
Similar Messages
-
Error when running jaxb-example-ant-script on sun one ide
I get following error message when i run the ant-compile target for
jwsdp-1.1\jaxb-1.0\examples\users-guide\SampleApp1 on the SUN ONE ide,
when I run the same script directly in a console it is working:
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
at com.sun.tools.xjc.Driver.buildXMLSchemaDOMForest(Driver.java:583)Hello.
It is a classpath problem. Add the crimson.jar to the project classpath. -
How to move my Developments from One IDES to Another IDES system ?
Hi,
I have one requirement that, I need to copy/move my developers developments from One IDES System ( with erp 6 ehp5) to another IDES system which have upgraded configuration ( ERP 6 with EHP6).
Both systems have same SID - XYZ,
Could anyone please suggest solution to solve the issue?
regards,
chandrababu kattaHi,
BLOBs are a different kind of data, so they won't move along if you migrate the data. If there are a lot of BLOBS you can write a data migration, otherwise you can just upload them again in your new schema.
Regards,
Joni -
Dual hard disk drives on one IDE
I am running 2000pro. I have recently installed an HP dvd200i on the same IDE channel as my MSI CDR/RW drive model # MS-8340. My MSI drive worked great up until the dvd200i was installed. While the dvd200i works fine, my system no longer sees the original MSI drive. In fact, upon boot up, my system runs an auto detect on the IDE channels and only see's one of the two drives. I have selected one as master and the other as slave. I tried using the IDE cable that the motherboard (Amptron K7-810XLM) came with and also the IDE cable that the dvd200i came with. No combination of cable or jumper settings will bring the MSI drive back onboard. Is it possible that my MSI drive has failed??? Or am I missing something else??? ( I have been frustrated with HP drivers before on another system. Please tell me that they did not just do it to me once again. )
Yes, I have tied connecting each drive as being the master and both drives connected with the end connector. In fact, the HP dvd200i will not operate if it is selected as the master, although this is the selection recommened by their installation software. It would only work selected as the slave. The mother board is an Amptron K7-810XLM and did come with a smart cable. HP does not recommend this kind of cable and sent a non-smart cable with the drive. I achieve the same results with both drives no matter which cable I use. Here is something else that I have just learned. I hooked up another cd drive to where the MIS drive was located, and my system recognized that there was indeed another drive on the Primary master. Hmmmm.... sounds like my MSI drive has failed. Would it be possible for an HP driver to fail the MSI drive??? Coincidence maybe??? The MSI cdr/rw is only about two months old.
-
Class exclusion in AS3 in Flash IDE
Hi,
I've been looking high and low for a way to exclude class
file from compiling into a swf on publish, similar to the
functionality available when publishing AS2 apps (outlined here:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000817.html).
I've found references on how to do this when compiling with
the command-line compiler (detailed here:
http://www.bit-101.com/blog/?p=941),
but so far I've haven't been able to find anything that details how
to do this in the IDE.
I'm hoping someone here might have an answer. I'm going to
change my approach to a number of applications if I can't find an
answer to this.
Thanks,
--SteveNo, I have never heard of this. I've only ever used dynamic
techniques
to evaluate types. If I need to use functions in classes, I
include the
classes. If they're included in a separate SWF, I call them
there. If
it's a matter of suppressing warnings, I go back to step one.
If I need
local instance, I go dynamic.
In all honesty, I can't say I can see why this would ever be
necessary.
I mean, I completely understand excluding code out of a SWF
when you're
not using it or if it's supplied by a parent SWF. I use this
technique
every day to slim down code. But:
1. If I need to use ColorTween, I dynamically evaluate it at
runtime so
that I don't need to include it in my child SWF (this is
actually better
since I can do something else if the parent doesn't have it
for some
reason).
2. Use the generic type *. Whatever's in the parent, use it.
Depends on
how important the declaration is.
3. Dynamically determine the type at runtime so that if the
parent has
it, I can check to see if it is a ColorTransform and, if so,
use it.
The first step allows me to make my own instances, regardless
of which
SWF I need to use them in. The second step allows me to
reference
existing instances, regardless of which SWF they're in. The
third step
allows me to check if, either in step 1 or step 2, the type
is correct.
I don't think even think there's a fourth option in this
list, is there?
That being said, the only time I could ever see myself
needing a class
exclusion is if I simply said something to the effect of:
public var myVar:ColorTransform;
...in foo.fla. But that, to me, seems very dependent and kind
of
pointless. If you happen to run this SWF in a parent that
doesn't have
ColorTransform...well, that's the end of that, no?. I mean,
whatever is
depending on ColorTransform is basically out of luck and you
get a
run-time error, is that right?. Using dynamic evaluation, the
parent may
or may not have it and your code can continue to run and not
toss it's
cookies every time it needs to use a ColorTransform instance.
Also,
ColorTransform can be used from another SWF, and not be
hard-bound to a
parent instance (pre-existing condition). The only thing is,
you simply
don't specify that myVar has to be a ColorTransform, you
determine that
at runtime.
If I understand this correctly, you may as well include the
ColorTransorm class in foo.fla because if you're code is
depending on it
(using the above declaration), and you need to load the
parent to use
it...what's the difference from including it? If it's not
required, why
declare it or declare a strong type?
Maybe you can provide me with another example of how this is
intended to
work. Like I said, I understand the concept but I fail to see
the
practical use. I guess this may explain why I've never heard
of
this...the situation where this would be required has simply
never come up.
Patrick
swrb1977 wrote:
> Hi Patrick,
>
> AFAIK, it's just called class exclusion. I'm not
surprised if you're not
> familiar with this feature, there is no check box in the
IDE to click or
> anything and it's only mentioned once in the
documentation. This is how it
> works:
>
> Let's say you have an FLA called foo.fla and let's say
that foo.fla uses a
> class called "com.foo.ColorTween". You can tell Flash to
publish this FLA
> without the ColorTween class by creating an XML file
called "foo_exclude.xml"
> and placing it in the same directory as the FLA. The
contents of
> foo_exclude.xml looks like this:
>
> <excludeAssets>
> <asset name="com.foo.ColorTween" />
> </excludeAssets>
>
> When you publish the FLA, Flash will look for this XML
file. If it find it, it
> excludes the classes listed ("com.foo.ColorTween").
>
> Now, if you try to run this SWF, the player will freak
out when it tries to
> use this class. However, if you loaded this SWF into a
parent SWF that already
> contained that class, it would be able to run fine.
>
> This is described pretty well in this link
> (
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?
> context=LiveDocs_Parts&file=00000817.html). I think
Colin Moock also discusses
> the topic in Essential ActionScript 2.
>
> In terms of what I am trying to do specifically, I need
to export some library
> items as a swc, but not include the base classes. I
won't go too much further
> into why... I don't want to further confuse the issue.
>
> Hope this clarifies things a bit.
> -
One IDE drive and one ATA drive in a single RAID enclosure?
I just got an OWC AL Elite dual-drive RAID enclosure, and was told, by OWC, that I could drop an IDE drive and an ATA drive into the enclosure and it would work fine.
It's not - If I unplug one of the drives, it works fine: the drive mounts and shows up in Disk Utility, but when both drives are plugged in, it doesn't mount, and Disk Utility sees the drive as a single 2TB drive (one drive is 300GB the other 160GB).
any thoughts? I have the jumpers on the drives set at Cable Select, I tried them both on Master and the drive wouldn't even show up in Disk Utility.
thanksYes. I have it. They sell a model for ATA drives and SATA drives. Go into the "external enclosures" section and scroll down about halfway. It's in the multi-drive section.
-
Dual Boot, Two harddrives. one Sata one Ide
Hello I have a slight problem. On one of my Hardrives (the ide one) windows xp is installed and when I set the boot priority to that hard drive windows xp start without a problem, ie windows bootloader is on it.
And when I set the sata hd as the first bootpriority grub starts and arch boots without a problem. However my problem is that I want the sata hd (with grub) to be able to boot the to, so I dont have to change the hd boot priority. How can it be done ?
It doesnt work this way
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/sdb3 ro vga=792
initrd /kernel26.img
# (1) Windows Xp
title Windows Xp
root (hd1,0)
makeactive
chainloader +1
# (2) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26-fallback.imgtitle Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)
Last edited by wonder (2008-06-15 08:26:53) -
One ide ,one sata,grub problem
I have two hard disk,first boot ide,second boot sata.I install grub and archlinux on the ide disk. The problem is the ide one can boot ,but the sata one can't boot?(I have installed winxp and archlinux on this disk).
ide disk ------hda
nec dvd-rom-----hdc
sata disk -------- I don't knowThank you!I have use persistent block device name to resolve it.
http://wiki.archlinux.org/index.php/Per … ice_naming
"/boot/grub/menu.lst"
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
# Linux Grub
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 3
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
title windows (on 80G /dev/hda0)
root (hd0,0)
chainloader +1
# (0) Arch Linux
title Arch Linux(on 80G /dev/hda8)
root (hd0,7)
kernel /boot/vmlinuz26 root=/dev/hda8 ro
initrd /boot/kernel26.img
# (1) Arch Linux(on 80G /dev/sda9)
title Arch Linux Fallback
root (sd0,8)
kernel /boot/vmlinuz26 root=/dev/sda9 ro
initrd /boot/kernel26-fallback.img
title LFS 6.1.1(on 80G /dev/hda8)
root (hd0,7)
kernel /boot/lfskernel-2.6.11.12 root=/dev/hda8
title Arch Linux (on 250G /dev/sda14)
root (hd1,13)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/sata14_arch ro
initrd /boot/kernel26.img
#title windows (on 80G /dev/hda0)
#root (hd1,0)
#chainloader +1
title windows (on 250G /dev/sda0)
root (hd1,0)
chainloader +1 -
_root to AS3 - EASY ONE!
I swear I've googled all over for this before I posted. I've tried things I've read, but nothing's worked (or made sense to me, for that matter).
What I have is pretty basic. Trying to do what WOULD have been this in AS2:
mute_btn.addEventListener(MouseEvent.CLICK, onMute);
function onMute(e:MouseEvent):void {
_root.soundbars_mc.gotoAndStop(2);
Both mute_btn and soundbars_mc are on the main timeline. I can't get this to work, and I know it's easy. Any help???
Thanks!AS3 gets picky (aka stupid) at times, requiring you to tell it what it already knows anyways. Try using...
MovieClip(root).soundbars_mc.gotoAndStop(2); -
[915 Series] How do I enable the IDE raid Slots (the yellow ones)
On the Bios there is an option to enable the onboard raid slots, but whem I
enable it, noting happens, and in the next restart, this item doen't show in
the bios menu.
I read on the forum that this problem appened to other owners of this
motherboard, but I couldn't find any solution.
I've already installed the Via IDE Raid Drivers in "»Windows install »F6."
When I tried to install the upgrade of this drivers form the Drives&
utilities CD, a message apeard saying that it could't find the hardware, so I
installed them anyway from a floppy disk in "»Windows install »F6."
I have connected to the blue IDE slot one IDE drive and one DVD drive, and
in the second slot(yellow), another IDE drive.I've tried to exange the drive
positions but the drives on the raid slots where never recognized.
I know from the forums that others have solved this problem, so I think this
is not a mainboard mailfunction.
Please someone help me in this issue.
Thank you.Tanks everyone
I also tried that procedure but I thik i have a problem in Bios or in the motherboard.
When I enable The raid controler in Bios this Item just disapears form the options, next time I restart.
Strange, no?
No mater I took the computer to the shop where I bought the Moterboard and monday, I hope I have good News.
At that time I'll give you notice of what's happening.
See you
"My Gear: Motherboard MSI 915G Neo2 Platinum
Pentium 4 3.0GHz 630
1024 Mb of ram oem
Graphic card Nvidia Geforce 6200
HDD Hitachi IDE 80Gb 7200 133
HDD SCSI II 37Gb and PCI Controler Adaptec
Drive DVD Recorder LG GSA 4163B
Drive DVD Player Toshiba
Sound Card Digidesign Digi 001 -
How to debug alchemy( i.e., c/c++) code?
Hi all,
i want to debug the alchemy code
can any one have idea how to debug,
waiting for inputs
thanks in advancePlease see my post further down these forums, "Debugging Alchemy Applications with Netcat" .
I have hacked together a perl script that functions similarly to gdb, but for alchemy applications -- they must be compiled with "-g". There is no breakpoint support. The debugger is run first, then alchemy will connect when run. http://alchemy-hacks.googlecode.com/svn/trunk/debugger/acdb -
Hi guys,
I'm trying to have a timer start when you enter the area where x < 45 and y is < 504 with your mouse and then by the time the timer is over if your mouse is still in that area the action happens. I've been finding things about clipevents and mouselisteners and I just can't seem to get the coding right on them. Right now I have something thats looks like this...
if (_ymouse<= 504 && _xmouse<= 45) {
timer.start();
var timer:Timer = new Timer(1100);
timer.addEventListener(TimerEvent.TIMER, timerHandler);
function timerHandler(event:TimerEvent):void {
if (_ymouse<= 504 && _xmouse<= 45 && menumask_mc.currentFrame != 10){
menumask_mc.gotoAndPlay("rollout");
timer.stop();
if (_ymouse<= 504 && _xmouse<= 45 && line_mc.currentFrame != 10){
line_mc.gotoAndPlay("lineout");
timer.stop();
I used to have them written as _root._xmouse.... but I kept getting the error "access of undefined property" so I took out the root because this coding is actually on the first frame of the main scene anyway so I figured it didn't actually need it and then I was still getting the error "access of undefined property" for _xmouse... Is _xmouse not valid is AS3? Any ideas? It's driving me nuts.
Note: I know theres the hitTestObject thing and thats what I initially used but its too choppy for me. If I make an empty mc that sits under my menu layer for the hitTestObject then it doesn't work if your sitting over one of the menu buttons but if I make the hitTestObject to be my actual menu then it only works in very specific points so thats why I want it to just register when the mouse is in the area.AS3: mouseX
-
Ideas for text based budget management and software
I'm looking for suggestions for text-based software or just basic scripts for tracking expenses.
For the last six months I've been recording my purchases in text files, one file for each month.
An entry looks like this:
01/01/2013,Schnucks,banana, groceries,1.00,cash
It works pretty well for recording info, no alternative system could be much faster than just adding a line to a text file.
Now that I've been recording data for about 6 months, I'm more interested in parsing through it to see what I'm spending in each month and in various categories. At the moment, I just run the files through grep and awk to get what I want. I'm contemplating writing a python program to let me filter and calculate totals and do whatever else comes to mind: importing credit card statements, generating graphs, etc. But at that point, I feel like I'm probably just re-inventing the wheel.
Does anybody want to share how they are handling a similar case?
I'm ok with changing my entry format, but I'm pretty attached to handling things as text files. I don't need anything more complex if it adds to the overhead of creating an entry.Hey, I been doing something very similar!
Except it also will measure income, so I can know how much I have done/expend this month, week, etc.
I don't have it at hand atm, but I use : to separate the fields, and use slashes to escape it (like \:)
Yes, that is a DSV file.
I haven't dedicated time to work on it lately, but I was writing a perl script to do the calculations.
One idea I have is to create an additonal file for a list of expenses names, like this:
milk-z:Milk brand Z:milk
milk-y:Milk brand Y:milk
the first field is an unique code for the product, second field a description, and third field is a category.
That way I could see how much I have expend on milk, no matter the brand.
On the expenses file, an expense would be similar to this:
2012-12-20:expense:milk-z:5.0
The first field has the date, in the format YYYY-MM-DD; that order is important to be able to sort the file if is necessary
Second field has "expense"; it could be "income" if it was an income
Third field is the product code - if its something I don't buy regulary, I could be only a name (like "new led tv" or something), if is an income, the reason behind the income.
And fourth field is just the amount of money.
Oh, I think I'll dedicate some time to the project again -
Trying to burn a playlist in itunes and i get this message at the end 'The attempt to burn a disc failed. An nknown error occurred (4450)'. This is with a new Dell laptop running windows 8. The playlist was 17 songs from cd's and itunes. Any ideas?
try this...
This is how I managed to fix the problem...and I hope this helps others in the similar situation.
I tried with another program..latest version of Nero, and this was also stopping at the 'initialising' stage. I was now lost! I thought the last resort is to give Evesham (My PC manufacturer) a buzz. They were very helpfull. Basically go into 'Control Panel', 'System', and click on the Hardware tab, then 'Device Manager'. Uninstall everything in the DVD/CDRom Drives. Then uninstall everything under the catagory IDE ATA/Atapi disk controllers. This is where my problem was, as I only had one IDE channel here. You should have 4 or 5! Reboot your machine, and everything will automatically re-load. I tried burning using Nero and it worked. Then the big test was iTunes. It worked 1st time!
I asked why the IDE channels have dissappearred, and he said sometimes uninstalling Programmes occasionally removes them.
I hope this will help others who are having problems to burn stuff on iTunes. -
Hi all,
I'd like to know how to be able to display multiple screens within one frame. Depending on the choice made on the first screen, the second screen should be either "View Default" or "Modify Default." The modifying will involve a number of other screens.
One idea is to group by Panel and control panels. Any better idea?
Regards,
OmerDo you mean multiple displays in one frame? If so, you have several options. With JTabbedPane you could dynamically add new views to the frame, with the disadvantage of only being able to see one at a time. JSplitPane allows you to nest various views within one frame, though has the disadvantage of having extremely complex display logic when several split panes are displayed at the same time, and of displaying all displayed panes simultaneously.
Perhaps the best possibility is to use JDesktopPane, within which you can insert as many JInternalFrames as you want.
Maybe you are looking for
-
HT204022 Cannot delete photos from new iPad
When I hit edit and then select the photos, the red delete button does not become active to allow me to delete. Any ideas as to what I should do? I just got the new ipad today and restored it to my old ipad 2 via my MacBook. It's like I don't have
-
Mail Tips working in OWA not Outlook client
Added a throttling policy to limit the recipients per 24 hour period and it works as expected. The issue I have is that the Mail Tip will show in OWA that they have hit their limit but in the Outlook client it just errors out with no Mail Tip. All ot
-
Why does the mac mini have poor resolution for a new samsung led 60 tv. I have an apple TV connected to another HDMI port and it is perfect
-
Google is set as my search engine but whenever I search something in the address bar it searches with Yahoo! How do I get rid of Yahoo! as my search engine when it is not even set to be my search engine in the first place?
-
How do you save a movie as in imovie10 and save it as high definition
I don't see any save as tab. It looks as if the only way I can save a project is to use the share tab and share in a file but there's no options that let you save it as a HD video. In 9 there were various formats you could use that would save your vi