Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

877575 Posts in 32868 Topics- by 24310 Members - Latest Member: Muzuh

May 19, 2013, 09:54:35 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Mixing FlashDevelop AS3 with Flash CS5.5
Pages: [1]
Print
Author Topic: Mixing FlashDevelop AS3 with Flash CS5.5  (Read 353 times)
VictorGrunn
Level 0
***


View Profile Email
« on: June 24, 2012, 10:10:59 PM »

Heya all. I've been plugging away at AS3 games, mostly with Flixel via FlashDevelop, and I'm curious of something.

How would I go about integrating assets I create in Flash CS5.5 into my FlashDevelop code? Like, let's say I put together a nice menu or interface in CS5.5. Is there any easy way to get that - the image, code and all - into FlashDevelop? Or is it so much of a hassle that the better path is to decide to work in one or the other and stick with it?
Logged
nikki
Level 10
*****


View Profile Email
« Reply #1 on: June 24, 2012, 11:43:06 PM »

you could create a fla with all the assets you want in the library, export that as swc.
and that swc file could be referenced from your flashdevelop (as an external library)

i don't know if you can mix and match flixel in the mix aswell.(since the way of displaying isn't the same)

maybe https://github.com/minimalcomps/minimalcomps the ui library could be useful too.

Logged
st33d
Guest
« Reply #2 on: June 25, 2012, 02:24:52 AM »

Seconded. This is pretty much how I'm building a game in my spare time. Animation and interface is a lot simpler and faster to assemble.

At work I use the timeline for laying out interface on separate labelled frames. It makes localising the game easier.
Logged
Moczan
Level 5
*****



View Profile
« Reply #3 on: June 25, 2012, 02:27:22 AM »

Yep you can output SWC files (in Publish Settings) and add them to your library in FlashDevelop. You need to assign them a class in Flash CS5.5 (I suggest using a package name like assets.BGCity etc.) to access them in your Flex project.

As for using Flash CS5.5 create assets with Flixel or FlashPunk, you would have to draw them to BitmapData, if it has animations it's a little bit more work, but it's perfectly doable.
Logged
omgnoseat
Level 2
**



View Profile
« Reply #4 on: June 25, 2012, 06:17:25 AM »

Like people said, publish an SWC. From the top of my head;
- Go to file -> publish and select SWC.
- Then click publish and there should be a SWC file in your project's folder.
- Then either browse there in flashdevelop, or add it if your flashdevelop folder differs from your Flash CS 5 project.
- Then rightmouse the SWC file in flashdvelop, "and select add to library".
Logged
VictorGrunn
Level 0
***


View Profile Email
« Reply #5 on: June 25, 2012, 02:44:22 PM »

Thanks all, I'll give that a shot.

Also, you can mix and match flixel to a point (after a certain point you're in "Why bother?" land), since you can access the stage/addchild/etc through FlxG. Even if it's not really practical, learning this would be nice since I want to do some work in CS5.5, but I really enjoy the whole FlashDevelop thing.
« Last Edit: June 26, 2012, 02:14:52 PM by VictorGrunn » Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic