[Logo]
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
[Register] Register / 
[Login] Login 
using SWC files  XML
Forum Index » Alternativa3D 5
Author Message
aliceffekt


Joined: 13/06/2008 19:15:29
Messages: 3
Offline

hi.

I would like to know if there's any documentation on using swc files. I am using Flash CS3 and I can't seem to be able to open them or to import them in flash .

I looked throught he documentation but I couldn't find anything about it.

Thanks a lot.
rumblesushi


Joined: 13/06/2008 01:36:18
Messages: 3
Offline

Quite simply, you put them in your component folder (program files/adobe/flash/en/config etc) - and restart Flash. You then drag them into a document to load the libraries (from the components panel), then delete them from the stage.

Then start coding, and voila, all the classes are ready for import.
cyberwillis


Joined: 31/05/2008 23:53:50
Messages: 17
Offline

devine lu linvega aliceffekt wrote:hi.

I would like to know if there's any documentation on using swc files. I am using Flash CS3 and I can't seem to be able to open them or to import them in flash .

I looked throught he documentation but I couldn't find anything about it.

Thanks a lot.

Try to look on this document how to load the SWC to compile in CS3, Flex Builder or Flex 3 SDK using FlashDevelop IDE.

http://docs.alternativaplatform.com/display/TDEN/Connecting+library

bye

This message was edited 3 times. Last update was at 13/06/2008 21:10:53

aliceffekt


Joined: 13/06/2008 19:15:29
Messages: 3
Offline

thanks a lot i will try it now
aliceffekt


Joined: 13/06/2008 19:15:29
Messages: 3
Offline

okay I figured out how to put the component in the library of the project .

I ve downloaded the .as files of the geometry tutorial .

I've made a project with the two .as files and a .fla file. But I have never worked with project files before. What should I write in my .fla to include the 2 .as ?

I ve added the Alternative platform in my .fla and published the project but it gives me a white screen as there s nothing in my scene.

This message was edited 2 times. Last update was at 14/06/2008 21:06:44

cyberwillis


Joined: 31/05/2008 23:53:50
Messages: 17
Offline

problems in my post... sorry

read my post below

This message was edited 2 times. Last update was at 15/06/2008 00:05:21

cyberwillis


Joined: 31/05/2008 23:53:50
Messages: 17
Offline

devine lu linvega aliceffekt wrote:okay I figured out how to put the component in the library of the project .

I ve downloaded the .as files of the geometry tutorial .

I've made a project with the two .as files and a .fla file. But I have never worked with project files before. What should I write in my .fla to include the 2 .as ?

I ve added the Alternative platform in my .fla and published the project but it gives me a white screen as there s nothing in my scene.

Hi...
First of all, you need get some introduction about Actionscript 3 and timeline of Adobe Flash CS3. The main timeline on the Flash CS3 is like a MovieClip instance, then anything you put by actionscript into the main timeline need extends the main MovieClip.
Case you main time line have more that once frame you need that you Main Class of your project extends Movieclip. Case you main time line have just one frame you need that your main class of the project extends Sprite(convention adobe have adoted dont waste mamory of the machine and you can read more about this on live documments from the Flash CS3).

In the properties painel you probably can see the Document Class field (thats is the main file of your project point). That file will extends you main timeline (MovieClip or Sprite)

If you take look in your portion of code here in the main file of the project:
This is the properties from the Main .FLA that you need put in yout FLA project. Than you comment it on the code to avoid compile errors, and put in the document properties.
color: BLACK
frame rate:100

Now look this another portion of the code:
To this one, you see that it extends a Sprite or like I said the main unique frame of the timeline, that is our case.
All you need to do is to put the reference of the main file of the project in the Document Class field as GeometryTutorial and everything will work good. Don't forget that you cannot use .as here.

As one option rather you use Document Class field, you can instantiate the main object class int the timeline.
Use a blank keyframe from the first layer and put the action follow actionscript on it:


Thats all.

But Seriously you need take a look on the FLash Cs3 documents to understand all about classes before try to make your own code on it.
FLash 9 is very different Flash 8 if you use Actionscript 3 and have many instruction migration to be learned.

Good Luck.

This message was edited 3 times. Last update was at 15/06/2008 00:14:29

Jeboslav


Joined: 04/07/2008 19:22:08
Messages: 3
Offline

Please don't take offense but you English is not good. I can't understand what you are saying. Could someone make a video tutorial on this subject and post it on you tube. It would be weary appreciated.
 
Forum Index » Alternativa3D 5
Go to:   
Powered by JForum 2.1.8 © JForum Team