|
knugen
|
 |
« Reply #30 on: Thu, Sep 17, 2009 » |
|
I had the same problem as Rinkuhero. I checked if what I had created was a project and it was, but for some reason i keep getting an error. What am i doing wrong? Help will be appreciated.
Make sure that the relative path from the .as file to the data folder is correct and that the file you are trying to embed exists. An easy way to embed files is to find the file in the project tree of FD, then right click -> Insert into document.
|
|
|
|
|
Logged
|
|
|
|
kavs
Newbie

Posts: 14
|
 |
« Reply #31 on: Sun, Sep 20, 2009 » |
|
I just formatted and installed Windows 7, and figured it'd be worth trying to get Flixel all hooked up on my new kit with the FlexSDK. I ended up getting this in my output window at compile time: Running process: C:\Projects\Tools\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Projects\Flash\FlixelTest\FlixelTest\FlixelTest.as3proj" -ipc 92313676-9c51-4486-87cc-b860275f41fb -compiler "C:\Projects\Flash\FlexSDK" -library "C:\Projects\Tools\FlashDevelop\Library" Using the Flex Compiler Shell. Building FlixelTest mxmlc -load-config+=obj\FlixelTestConfig.xml -debug=true -incremental=true -benchmark=false -o obj\FlixelTest633889686136403711 INITIALIZING: Failed, unable to run compiler
Unable to start java.exe: The system cannot find the file specified Could not compile because the fcsh process could not be started. Build halted with errors (fcsh). Done (1)...which I fixed by actually installing Java. I found the offline ones didn't work as well, so I found this link. After I verified and installed up to 6.16, my compile worked fine.  Just throwing this out there incase people encounter similar problems.
|
|
|
|
|
Logged
|
|
|
|
Raider192
Newbie

Posts: 2
|
 |
« Reply #32 on: Thu, Sep 24, 2009 » |
|
Make sure that the relative path from the .as file to the data folder is correct and that the file you are trying to embed exists.
An easy way to embed files is to find the file in the project tree of FD, then right click -> Insert into document. Thanks for the help, but i still don't quite understand. I'm pretty sure that the relative path is correct, and that the files exist, but heres what i have so far: http://i38.tinypic.com/210ioeu.jpgSorry i couldn't just post the image, i don't know how lol  .
|
|
|
|
« Last Edit: Thu, Sep 24, 2009 by Raider192 »
|
Logged
|
|
|
|
overboy
Newbie

Posts: 2
bad girl
|
 |
« Reply #33 on: Mon, Oct 19, 2009 » |
|
Hey, I'm kind of new to the whole Flash thing, so I figured I'd try this out to get started. I did everything that was said in the first post, but when I try to test it, this error pops up: Running process: C:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Users\18906\Desktop\Flixel\Flixel.as3proj" -ipc d7bdbaf9-8932-4e14-8254-8c9dc970bf92 -compiler "C:\Users\18906\Desktop\FLASH\flex_sdk_3.4.0.9271" -library "C:\Program Files\FlashDevelop\Library" Using the Flex Compiler Shell. Building Flixel mxmlc -load-config+=obj\FlixelConfig.xml -debug=true -incremental=true -benchmark=false -o obj\Flixel633915768855960253 INITIALIZING: Adobe Flex Compiler SHell (fcsh) Starting new compile. Loading configuration file C:\Users\18906\Desktop\FLASH\flex_sdk_3.4.0.9271\frameworks\flex-config.xml Loading configuration file C:\Users\18906\Desktop\Flixel\obj\FlixelConfig.xml obj\Flixel633915768855960253 (411646 bytes) (fcsh) Build succeeded Done (0) [Capturing traces with FDB] Application not found
Can someone help me with this? I pretty much have no idea what I'm doing. 
|
|
|
|
|
Logged
|
|
|
|
|
Titch
|
 |
« Reply #34 on: Mon, Oct 19, 2009 » |
|
From the error, it sounds like it compiled but it can't find the flash player to play it back with. Try re-downloading and installing the Flash Debug player and Debug ActiveX player, double check that FlashDevelop is looking in the right place for them (it's...somewhere in the options). Also, try changing the project settings from 'Play in extrernal player' to 'play in popup'.
|
|
|
|
|
Logged
|
Free cake whippings every day at #flixel on irc.freenode.net.
|
|
|
overboy
Newbie

Posts: 2
bad girl
|
 |
« Reply #35 on: Mon, Oct 19, 2009 » |
|
I just changed the setting to 'play in popup' and it worked fine. Thanks. 
|
|
|
|
|
Logged
|
|
|
|
|
Titch
|
 |
« Reply #36 on: Mon, Oct 19, 2009 » |
|
You may still want to look to the origional problem. I've had some framerate issues using the popup/tabbed viewer, once my code got to decent size frame rate started to crawl. It worked FINE in browse, just not in the FlashDevelop player.
|
|
|
|
|
Logged
|
Free cake whippings every day at #flixel on irc.freenode.net.
|
|
|
shinobitaichou
Newbie

Posts: 2
|
 |
« Reply #37 on: Mon, Oct 26, 2009 » |
|
I cant get this damn thing to work  Here's the output I get. Running process: C:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Documents and Settings\Stephen\My Documents\Flixel Project\Flixel\Flixel.as3proj" -ipc 64e46183-988d-451a-b2ca-f26e9871396d -compiler "C:\Program Files\Adobe\flex_sdk_3.4.1.10084" -library "C:\Program Files\FlashDevelop\Library" Using the Flex Compiler Shell. Building Flixel mxmlc -load-config+=obj\FlixelConfig.xml -debug=true -incremental=true -benchmark=false -o obj\Flixel633921567477343750 INITIALIZING: Adobe Flex Compiler SHell (fcsh) Starting new compile. Loading configuration file C:\Program Files\Adobe\flex_sdk_3.4.1.10084\frameworks\flex-config.xml Loading configuration file C:\Documents and Settings\Stephen\My Documents\Flixel Project\Flixel\obj\FlixelConfig.xml C:\Documents and Settings\Stephen\My Documents\Flixel Project\Flixel\src\flixel_v1.25\Mode.as: Error: A file found in a source-path must have the same package structure 'flixel_v1.25', as the definition's package, ''. Build halted with errors (fcsh). (fcsh) Done (1)
Can anyone tell me what this error means?
|
|
|
|
|
Logged
|
|
|
|
|
Rybar
|
 |
« Reply #38 on: Mon, Oct 26, 2009 » |
|
your directory structure isn't quite right... copy the contents of the flixel_1.25 folder out directly under src.... so that mode.as, and the com and data folders are in the root of source, and try compiling again.
|
|
|
|
|
Logged
|
|
|
|
shinobitaichou
Newbie

Posts: 2
|
 |
« Reply #39 on: Mon, Oct 26, 2009 » |
|
your directory structure isn't quite right... copy the contents of the flixel_1.25 folder out directly under src.... so that mode.as, and the com and data folders are in the root of source, and try compiling again.
Ahhhhh, I see. I just tried it. Works great. Thanks a lot 
|
|
|
|
|
Logged
|
|
|
|
|
cai
|
 |
« Reply #40 on: Sat, Oct 31, 2009 » |
|
I've written a similar tutorial for the new github version of Flixel/Mode, available on Mode's github wiki: http://wiki.github.com/AdamAtomic/Mode/running-mode-in-flashdevelopHopefully it will help those who are using the newer version, as some there are some key differences to directory structure.
|
|
|
|
|
Logged
|
In the end, it was not guns or bombs that defeated the aliens, but that humblest of all God's creatures: #flixel on irc.freenode.net
|
|
|
Andrey
Newbie

Posts: 4
|
 |
« Reply #41 on: Wed, Nov 25, 2009 » |
|
Spent about a hour wondering why I cannot compile Mode using github files. Then found your tutorial on how to compile it (it is exactly as I tried). But still no luck. Are you sure your tutorial works? I think the github has Mode version which is not compatible with new Flixel. Here are the errors I'm getting: Using the Flex Compiler Shell. Building Flixel mxmlc -load-config+=obj\FlixelConfig.xml -debug=true -incremental=true -benchmark=false -o obj\Flixel633947629522451219 INITIALIZING: Adobe Flex Compiler SHell (fcsh) Starting new compile. Loading configuration file D:\Program Files\FlashDevelop\Tools\flexsdk\frameworks\flex-config.xml Loading configuration file D:\work\flash\flixel\obj\FlixelConfig.xml D:\work\flash\flixel\src\com\adamatomic\Mode\MenuState.as(39): col: 9 Error: Call to a possibly undefined method setCursor through a reference with static type Class. FlxG.setCursor(ImgCursor); ^ D:\work\flash\flixel\src\com\adamatomic\Mode\MenuState.as(89): col: 28 Error: Access of possibly undefined property kA through a reference with static type Class. if(_ok && !_ok2 && FlxG.kA && FlxG.kB) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\MenuState.as(89): col: 39 Error: Access of possibly undefined property kB through a reference with static type Class. if(_ok && !_ok2 && FlxG.kA && FlxG.kB) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(74): col: 12 Error: Access of possibly undefined property kLeft through a reference with static type Class. if(FlxG.kLeft) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(79): col: 17 Error: Access of possibly undefined property kRight through a reference with static type Class. else if(FlxG.kRight) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(84): col: 12 Error: Call to a possibly undefined method justPressed through a reference with static type Class. if(FlxG.justPressed(FlxG.A) && !velocity.y) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(84): col: 29 Error: Access of possibly undefined property A through a reference with static type Class. if(FlxG.justPressed(FlxG.A) && !velocity.y) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(93): col: 12 Error: Access of possibly undefined property kUp through a reference with static type Class. if(FlxG.kUp) _up = true; ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(94): col: 17 Error: Access of possibly undefined property kDown through a reference with static type Class. else if(FlxG.kDown && velocity.y) _down = true; ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(120): col: 13 Error: Call to a possibly undefined method justPressed through a reference with static type Class. if(FlxG.justPressed(FlxG.B)) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(120): col: 30 Error: Access of possibly undefined property B through a reference with static type Class. if(FlxG.justPressed(FlxG.B)) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(124): col: 12 Error: Call to a possibly undefined method justPressed through a reference with static type Class. if(FlxG.justPressed(FlxG.B)) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\Player.as(124): col: 29 Error: Access of possibly undefined property B through a reference with static type Class. if(FlxG.justPressed(FlxG.B)) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\VictoryState.as(29): col: 50 Error: Call to a possibly undefined method justPressed through a reference with static type Class. if((_timer > 0.35) && ((_timer > 10) || FlxG.justPressed(FlxG.A) || FlxG.justPressed(FlxG.B))) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\VictoryState.as(29): col: 67 Error: Access of possibly undefined property A through a reference with static type Class. if((_timer > 0.35) && ((_timer > 10) || FlxG.justPressed(FlxG.A) || FlxG.justPressed(FlxG.B))) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\VictoryState.as(29): col: 78 Error: Call to a possibly undefined method justPressed through a reference with static type Class. if((_timer > 0.35) && ((_timer > 10) || FlxG.justPressed(FlxG.A) || FlxG.justPressed(FlxG.B))) ^ D:\work\flash\flixel\src\com\adamatomic\Mode\VictoryState.as(29): col: 95 Error: Access of possibly undefined property B through a reference with static type Class. if((_timer > 0.35) && ((_timer > 10) || FlxG.justPressed(FlxG.A) || FlxG.justPressed(FlxG.B))) ^ Build halted with errors (fcsh).
|
|
|
|
|
Logged
|
|
|
|
PlayOrDie
Full Member
  
Posts: 151
Game Over
|
 |
« Reply #42 on: Thu, Nov 26, 2009 » |
|
Strange.. there now seems to be a problem with downloading mode from your wiki page?
|
|
|
|
|
Logged
|
Make it work reliably and fast. Donald Lebeau - Gauntlet
|
|
|
Keldorn
Newbie

Posts: 11
PHP Programmer
|
 |
« Reply #43 on: Fri, Nov 27, 2009 » |
|
Help, there is no mode.as, in the Flixel package @ http://github.com/AdamAtomic/flixel The structure of it is entirely dirrent is some aspects, is this tutorial outdated? Its the one linked from the homepage. What a show stopper. I wanted to see the "awesome come to life!"
I'm Useing FlashDevelop 3.0.6.EDIT: Nevermind, I though you meant litteral the demo was in the flixel package. Darn aspergers, I always take stuff too literal.  I'm trying out the demo now, http://github.com/AdamAtomic/Mode
|
|
|
|
« Last Edit: Fri, Nov 27, 2009 by Keldorn »
|
Logged
|
|
|
|
|
|
|