I see, sorry for misunderstanding. The next step is to create an FLA. You need an FLA to run the AS and create an SWF. So make a new FLA and save as whatever name you want, then in the
Publish settings>Flash>Actionscript 3.0 Settings>Document Class> Type 'HelloWorld". You must save this FLA in the same folder as .AS file. After you get the hang of this, you can then change where the files are, but for now it's easier to understand if you keep it all together in teh same folder. -Pete On Thu, Oct 29, 2009 at 1:38 PM, J87513 <[email protected]> wrote: > > Ok, here is a step by step. I saved the helloworld.as, but can't > change the publish settings in the ActionScript window so that's where > we are now, only in fla project window can I change the class... > > http://heliopoolsolar.com/1.jpg > http://heliopoolsolar.com/2.jpg > http://heliopoolsolar.com/3.jpg > http://heliopoolsolar.com/4.jpg > http://heliopoolsolar.com/5.jpg > > On Oct 29, 1:29 pm, Peter Kapelyan <[email protected]> wrote: > > I'm happy to help out. I onced had the same problems as you. > > > > Do you see a sphere now - or still get the 13 errors? Can you paste the > 13 > > errors, or a screenshot if you still get them? > > Also can I see what the folder "away3d" looks like (what is inside)? > > > > -Pete > > > > > > > > > > > > On Thu, Oct 29, 2009 at 1:12 PM, J87513 <[email protected]> > wrote: > > > > > and thanks again for your help, alot > > > > > On Oct 29, 1:07 pm, J87513 <[email protected]> wrote: > > > > Ok, I copy and pasted the link and saved it as HelloWorld.as. I > opened > > > > flash and selected an ActionScript File. I saved it, but I can't and > > > > the class, it only has that option in the .fla project window? How do > > > > i change the class now? > > > > > > On Oct 29, 12:52 pm, Peter Kapelyan <[email protected]> wrote: > > > > > > > Try this one instead of Basic01, Save this file as "HelloWorld.as" > and > > > again > > > > > in as3 setting set "HelloWorld" as your class > > > > > > >http://away3d.com/examples.php?example=211 > > > > > > > It's the one I always start with :) > > > > > > > -Pete > > > > > > > On Thu, Oct 29, 2009 at 12:48 PM, J87513 < > [email protected] > > > >wrote: > > > > > > > > For some reason when I test the movie the whole 13 error business > > > > > > doesn't happen anymore, ?. But after I test the Bsc1.fla movie it > > > > > > still gives me a blank screen. They are all in the same files, > here's > > > > > > a screen shothttp://heliopoolsolar.com/flashfiles.jpg > > > > > > > > On Oct 29, 12:34 pm, Peter Kapelyan <[email protected]> > wrote: > > > > > > > What are the errors? Most likely it can't find Away3D because > you > > > need > > > > > > that > > > > > > > folder called "away3d" alongside the FLA. > > > > > > > > > -Pete > > > > > > > > > On Thu, Oct 29, 2009 at 12:31 PM, J87513 < > > > [email protected] > > > > > > >wrote: > > > > > > > > > > Ok I opened a new .fla project and named it Bsc1.fla. Then I > went > > > to > > > > > > > > file>publish settings>flash>acitionscript 3.0>settings and > typed > > > in > > > > > > > > the Document class Basic01. I think that it found the class > > > because > > > > > > > > after I click the green check a message came up and said, > "The > > > > > > > > definition for this class was found at > FlashProjects/Basic01.as." > > > The > > > > > > > > Bsc1.fla is located in the same file as the away3d file, of > > > course. I > > > > > > > > tested the movie and it says that there are 13 reported > compiler > > > > > > > > errors. Was I supposed to leave the actions code empty in > > > Bsc1.fla? It > > > > > > > > still shows a blank screen. > > > > > > > > > > On Oct 29, 12:08 pm, Peter Kapelyan <[email protected]> > wrote: > > > > > > > > > I haven't looked at the .as but if you create a Blank FLA > and > > > in > > > > > > > > > > > Publish settings>Flash>Actionscript 3.0 Settings>Document > > > Class> > > > > > > > > > > > Type 'Basic01" and click the green check, it should find > it, > > > publish > > > > > > the > > > > > > > > SWF > > > > > > > > > and now it should work > > > > > > > > > > > -Pete > > > > > > > > > > > On Thu, Oct 29, 2009 at 12:05 PM, J87513 < > > > > > > [email protected] > > > > > > > > >wrote: > > > > > > > > > > > > Ok, that seems pretty simple and I think that I have that > > > down. I > > > > > > > > > > downloaded the Basic01.as sample file from > > > > > > > > > http://www.flashmagazine.com/Tutorials/detail/away3d_basics_a_simple_ > > > . > > > > > > > > .. > > > > > > > > > > > > and I opened it and saved it in the same file with away3d > > > file. I > > > > > > > > > > think that the problem is that the flashmagazine tutorial > > > does not > > > > > > > > > > have the .fla to go with the Basic01.as? Can that be the > > > issue? I > > > > > > > > > > thought that I need the .fla and the .as? It still shows > a > > > blank > > > > > > > > > > screen I think because there is no .fla to go with the > .as. > > > Am I > > > > > > > > > > right? Shouldn't the tutorial have the .fla? > > > > > > > > > > > > On Oct 29, 11:21 am, Peter Kapelyan <[email protected] > > > > > wrote: > > > > > > > > > > > Hi! > > > > > > > > > > > > > Welcome to away3d. > > > > > > > > > > > > > Sorry to hear you are having problems, maybe I can > help. > > > > > > > > > > > > > Try to put the folder named "away3d" that has the > folders > > > like > > > > > > > > > > "animation, > > > > > > > > > > > blockers, cameras, containers, etc etc" into the same > > > folder as > > > > > > your > > > > > > > > .FLA > > > > > > > > > > > file and .AS file. Then Flash will find it. There is > other > > > ways > > > > > > to > > > > > > > > tell > > > > > > > > > > > flash where to find Away3D, but this is the easiest, > > > fastest way > > > > > > to > > > > > > > > get > > > > > > > > > > > started and see something more than a white screen! > > > > > > > > > > > > > Please let me know if it works. > > > > > > > > > > > > > -Pete > > > > > > > > > > > > > On Thu, Oct 29, 2009 at 11:07 AM, J87513 < > > > > > > > > [email protected] > > > > > > > > > > >wrote: > > > > > > > > > > > > > > I'm really new to away3d and am having some trouble > > > trying to > > > > > > set > > > > > > > > it > > > > > > > > > > > > up. I've set it up so away3d_2_3_0 is in the same > file as > > > Adobe > > > > > > > > Flash > > > > > > > > > > > > CS4, but I don't think that flash is finding the > away3d > > > support > > > > > > > > files. > > > > > > > > > > > > When I download the sample files (.as) from > > > flashmagazine.comall > > > > > > > > I > > > > > > > > > > > > see is a white screen when I test the movie. Any > advide? > > > > > > Anything > > > > > > > > > > > > would be of help. Thanks, J. > > > > > > > > > > > > > -- > > > > > > > > > > > ___________________ > > > > > > > > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > > > > > > > > HTTP://AWAY3D.COM > > > > > > > > > > > -- > > > > > > > > > ___________________ > > > > > > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > > > > > > HTTP://AWAY3D.COM- Hide quoted text - > > > > > > > > > > > - Show quoted text - > > > > > > > > > -- > > > > > > > ___________________ > > > > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > > > > HTTP://AWAY3D.COM- Hide quoted text - > > > > > > > > > - Show quoted text - > > > > > > > -- > > > > > ___________________ > > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > > HTTP://AWAY3D.COM- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > - Show quoted text - > > > > -- > > ___________________ > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > HTTP://AWAY3D.COM- Hide quoted text - > > > > - Show quoted text - > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
