Actionscript 3.0 :: Building A 3D Scene In Flash CS 5
Jun 22, 2010
with the advent of Flash Player 10 and now Adobe's Flash Professional CS5 i was thinking of creating a simple 3d scene consisting of movieclips, without relying heavily on as code or a 3d engine.
A simple scene where a user can interact or travel between the movieclips using their mouse. Now i have built a quick scene in flash cs5 by just creating dummy mcs, the problem is there is no camera control using the tools.
Sure you can select all and transform the mcs at one go in 3d space and add relevant keyframes, but that still doesn't give us any freedom in having an actual 3d camera able to fly through the scene.
Is there any way to create a simple flash 3d scene using library movieclips, with the ability to adjust camera fly settings on mouse movements? That is, not relying too much on as code?
View 2 Replies
Similar Posts:
Jan 21, 2009
I have some old AS2 code from a client that has a loader in scene 1 and the movie in scene 2. I built and external loader in a separate SWF but they want the loader, and movie to be in the same SWF but different timelines. I figured I could build scene 1 with two frames. The first frame would have this code on frame 1:
pBar.width = (Math.round(this.bytesLoaded/this.bytesTotal) *
100)
on frame 2 the code would be:
if(this.bytesLoaded == this.bytesTotal)
{
[Code]....
I figured I could use the timeline as a constant checker of bytes, but it seems that every time it gets to the if statement it halts, even though I have a else statement telling it to go back to frame 1
View 3 Replies
Jan 27, 2011
ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.
[Code]...
View 1 Replies
Sep 13, 2004
Check out this code:
[CODE]...
everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried
[CODE]...
View 2 Replies
Nov 30, 2010
I am try to go from a main scene to a second scene in Flash. The code work just fine to take me there, but when the scene appears it seems that I lose focus with the scene and the actions that should runs doesn't until I click once on the screen. Now I am using a button to navigate from one scene to another. If I use a movieclip instead of a button then everything works just fine. In my second scene I am using the keyboard to control different things in the scene.
View 1 Replies
Oct 14, 2011
I have an Actionscript coded flash file which run perfectly without any error. I am not getting why it shows an error after i do insert a scene before or a frame before the current frames;
[Code]...
View 1 Replies
Aug 18, 2009
I have no idea what to call it or where to start looking, so I am putting it in the generic and hopefully someone can point me to the right forum or area. Here is my project and I am trying to teach myself how to do these things. I had great help in making buttons on here a while back, now I am trying to build an object right in flash. The easiest thing for most to relate to is a computer that is being built from scratch. So, You start with a base picture of an open sided computer with a list of components underneath. By draggin those components to the box, it snaps them in place. You can also remove them the same way. When done, you click a tally button and it shows a list of all the components you added with product numbers.
View 2 Replies
Aug 20, 2011
converting my swf to exe and app. I know that there are several options available. My application will be frequently updated so update feature is essentions for me.
p.s. As another option, I can make app and exe out of a loader app that will load main application module every time it is updated.
my main concern is about build in update feature inside projector eg. Mac app will be able to check for new version of my app automatically...
View 4 Replies
Jan 2, 2009
building a preloader in Flash. It's about pre-loading swf files in the background while the visitor is watching a page. For instance, I have a start page built in HTML. It will have links to various swf-clips. I would like for those swf-clips to start caching immediately once the HTML page is loaded so that there is no (or little) delay once the visitor clicks on any of the links.
View 1 Replies
Jan 10, 2010
I'm trying to figure out where to get started on a menu like the one found at:There are several links, and as you rollover each of them, it changes the image above them. However, the image above them has links in it as well.I'm completely lost on where to get started as it seems like rolling over opens another page right above it.
View 4 Replies
Oct 12, 2009
HOW do I go about doing it?Ive tried...buttonon "over" create to movie clipinside movie clip have my animations and sublink buttonsit works fine, but there's one problem, The hit area of the main button HAS to cover the hidden sublinks, so even if you scrolled your mouse over the bottom of the button (in the invisible area) it will still show since its in the hit area).How can I create a simple nav drop down? I seriously have went through almost all tutorials, both video and text, and nothing has worked! I am using Actionscript 3, or whatever the tutorial says to use.edit: Here is something I'm working on. Its a button, and on the rollover it creates the animation. Obviously it doesnt work, because you cant have a button inside a button, so I don't know the actionscript to do this.
View 2 Replies
Aug 26, 2010
Building a webpage entirely in Flash??I have to admit that I really like flash.I am using it for about 2 years, but I am still not sure if building a webpage entirely in flash would bee a good idea. In HTML I can't achieve the same look, and feel, on the other hand sacrificing the look for functionality is the last thing I would do.
View 2 Replies
Feb 1, 2011
I've taken 32 pictures of an item, on a rotating plate. Then, I removed the background and kept the file in PSD. I imported to library in Flash then created the "picture animation" that shows the item rotating. I want to add button to control the rotation and I wish to add some SPAY area on some of the pictures so, when a user is looking at the item, rotates it at will, some areas will highlight and will provide the user with links to more information.Should I use Firework to set the areas ?then establish their relation in Flashr should I add links and compositions directly in Flash and build everything from there ?
View 2 Replies
Mar 21, 2012
I'm having trouble with building iOS applications in flash. I just bought an iPad and want to start building apps for it. I hav done simple apps for iPhone before but nothing too fancy. The problem is, I can build it and compile it fine but when I try to install on my device it comes up with the error saying:
"ITunes: 'APPNAME' failed to install." I can compile it as an iPhone app and it works fine. I'm pretty sure I've got my provisioning right because I have both my iPhone and iPad devices added. Anyone got any ideas of why my apps only work while I compile them as iPhone apps?
View 3 Replies
May 11, 2010
I'm using CS5 flash professional to build a swf. I have it publishing to flash 8, actionscript 2. but it will only work with browsers that have 10.1+ plugins, no matter what I try. is there something really obvious that I'm missing? Edit: I'm using swfobject.embed. it looks like this: swfobject.embedSWF("/foo.swf", "myContent", "400", "300", "9.0.0", "/foo.swf", flashvars);
View 2 Replies
Apr 14, 2011
I was wondering how to go about doing a preloader that slowly reveal a building outline line by line.
View 1 Replies
May 23, 2011
I've been tasked with building an interactive map of all the states in the US and just wondering what the best way is to go about this? I know I could build this fairly easily in Flash but one of the requirements is for it to work on an iPhone so obviously that rules Flash out!
Requirements:
Must work across all browsers and handheld devices.
Must be updatable via Wordpress.
Must include a small info box that pops up when each state is hovered.
The look of the map will be designed by us (we'd want complete control of this as we're graphic designers!) so this also rules out a custom Google map.
I've done a search on here and found two examples, the first is exactly the kind of thing we want but is done in flash - example I don't think I'll be able to create popup bubbles when hovering over each state. An example I like is - Transmit's feature section. How was this built and how could I recreate something like that?
View 1 Replies
Jan 31, 2009
Im building for the first time a website with flash (ac3). but Im not a total n00b to flash.My plan is it to creat a main.swf file which holds things like the navigation and the language selector (you can choose "ru" or "eng") and it has a function which loads the subpages.swf (i think its better to make the subpages unique becouse they wont look the same at all) e.g. if I click on the second navibutton it should load the 02.swf inside of the main.swf __and__ destroy the old .swf which was there befor. I dont know how to write this function the best way (addChild / removeChild maybe?), but i know how to addEventListener to the buttons.My second problem is inside of this (e.g. 02.swf) will be a function which fillout the textfields with xml data. So this function needs to get the language var from the main.swf to parse xml with the right language. I know how to do the parsing part. But i dont know how to send a var from main.swf to the page.swf.
View 4 Replies
Aug 7, 2005
Im doing a thing where you "build" a watch.. you specify how much of each part you want and then submit... i think i need something simialar to if/else so that...
textbox.iron = "3" && silver = "50"
then textbox.result = "failed"
I need something like that.. but in actionscript
View 2 Replies
Aug 6, 2009
I've been building Flash web sites for a long time now, as a freelance developer. I usually work alone, and so I'm the only one that touches the production work I do.Since I'm in this working position, I don't get a lot of exposure to other styles of flash production. I was wondering if any of you have examples of the best ways to produce high quality flash websites. I'm not talking about huge team projects, but small 40-50 work hour sites.[code]
View 2 Replies
Jun 1, 2010
I'm a .Net developer who is trying to mend my evil ways and learn the Adobe development cycle--so if this a really obtuse question--please forgive me. I was once a graphic artist and I am very familiar with some Adobe products. I am having trouble understanding the workflow as it pertains to creating custom controls, or even reskinning controls and then using them in Flash builder. I haven't really dug into Catalyst, but I am comfortable in Flash Professional and I would like to believe I could take designs from my employers graphic artists, created in Illustrator, and bring the artwork into Flash professional and create custom components, or more likely skinned components, in Flash and export them for use in Flash Builder.
Our goal is to allow designers to create vector graphics skins for controls and applications in Illustrator (or possibly Fireworks) and to be able to apply those skins to controls and custom components in Flash Builder for deployment to the web or the desktop in an Adobe Air application. Ideally the designer would be able to update the designs easily at a later point.
Flash allows for skinning to be done fairly easily within the Flash application, but I have had some problems exporting controls or even implimenting them in Flash builder. The only "video" on that workflow used a movie clip from Flash and set it's "isButton" property to true in Flash Builder...so if a designer built a simple button and designed the states in Flash, I would have to convert it to a movieclip?
If I start with a Flex ready component from the "AeonGraphical" library, and apply a new skin, how do I successfully import that into Flash Builder?
- MX skins can be created in Illustrator and Fireworks and imported into Flash Builder however the format is obsolete and the designs rasterizes and are unacceptable even before scaling.
- Illustrator files can be saved in FXG format and dropped into an assets package in Flash Builder. These images can then be easily used in FB; however mapping them to a control requires each state to be a separate image and to be manually wired to the states of a skin. This is method of skinning is feasible but not ideal...Am I missing a step or improperly importing the files?
- Illustrator files can be saved as an FXG file and imported into Catalyst. In catalyst the artwork can be associated with a control type and the states of the control can be edited in using illustrator. The catalyst file (FXP) can then be imported into Flash Builder as a project which will provide a skin for that type of control. Remaining problems include scaling (skin doesn't stretch) and referencing the skin outside the project.
So that leaves me with Flash Professional as the seemingly most competent tool for creating & skinning custom controls. Using the very detailed and helpful online documentation on customizing controls (found here) I can create custom skins and have no problems implementing artwork from Illustrator--for an application authored in Flash Professional (not so much for Flash Builder).Catalyst can let you create "one off" costum controls easily, but creating one custom skin for several buttons (for example) is not so intuative and pulling it into Flash builder yeilds mixed results...
Flash is in and of itself a rich IDE and could be used to create an event driven application for AIR, but its not really geared to that user triggered, event-driven development model. I have been able to adjust my mindset to create successful prototypes of form based/even driven application that take advantage of Flash's powerful features, but some of my coworkers are having trouble adjusting their Microsoft Mindset (despite exposure to the remarkably "derivitaive" Expression studio) and strongly prefer the Flash builder coding environment.
Are there any resources; web pages with examples or step by step walk throughs, or videos which follow a process of taking a design from a grapjics application and using it to create a custom skin--and applying it in Flash Builder? The process is fairly straitforwards in Flash Professional--but my team and I are having less success in Flash Builder.
As a longtime user of Adobe products, I have by nature of that association become the inhouse Adobe Evangelist and not only have I taken the position seriously--I have managed to convince upper management to abandon WPF and Pyxus (for mobile applications) and develop AIR applications which will span platforms and lend elements to mobile AIR applications. They have even initiated a program which will likely result in our delivering Andriod based tablets to our dealer networks preloaded with AIR applications for business.
While I know know this is all "do-able" I am working double overtime to become competent enough to make this happen...but the workflow between Flash Builder and Flash is only sparringly covered online and the information lacks details...I have found that browsing the online videos sometimes turns up better results than searching (doing "Google Gymnastics")--for example Flash Downunder series has great stuff that doesn't always show up when searching Google...And we joined Lynda.com, and while they have lots of great stuff, they need to develop more stuff on CS5 specifically...
Where can I find information on creating/applying custom skins from Ai to Flash Builder and all points between? (I'll buy any recommended books as well...) Of course we have agressive deadlines and unfortunately there is no experienced Flex/Air developer on our staff (yet)...The "Classroom in a Book" series on Flash and Catalyst have only just started shipping...is that where I should look? Are there any online resources that address both skinning and creating custom components for AIR applications in Flash and/or Catalyst?
View 1 Replies
Aug 9, 2009
im building a little flash website for a friend, struggling my way through. Its quite a steep learning curve as this is my first bit of flash work.Heres the problem, i built the part below, added buttons that should scroll through a series of pictures when clicked (which will be replaced with pages later).
The buttons work, and when pressed for the first time they select the right page. However pressing the buttons in a certain order seems to mess things up.
If i press page 1, page 2, page 3 then press page 2 again, page 1 is displayed
View 2 Replies
May 13, 2009
Having installed Amara flash slideshow builder it failed to run stating my flash was not installed or out of date. I knew this was not the case but uninstalled and re-installed flash anyway. I tested it on the adobe site, all ok and also tested it on a couple of sites using flash. All ok. Same problem with Amara tho', not recognised.So downloaded SWF 'n slide, another slideshowmaker. It also failed to recognise any flash installed (with dialog).Following some research I downloaded SubInACL from microsoft and ran it to ensure all my permissions were ok, but seems they were ok as it hasn't changed anything. What do I do now? I'm kind of stuck, I really need a flash slideshow builder, but seems they won't run, why?
View 3 Replies
Jun 17, 2010
I have a project in which I have an opening scene of a main image and 8 thumbnail buttons. This opening scene is pretty basic, as the thumbnails would link to a new scene or frame label (however I build it). This 2nd scene or instance in the timeline is where I would display another large image, and 6 new thumnail images that, upon rollover, would swap the large main image with the large version of the active thumbnail.
Basically I have a main 'menu' of category thumbnails that link to an instance in the timeline that displays the initial large image for that category, and allows the user to mouseover the other thumbnails to see the large images, and then click to go to a specific URL for more information. The trouble I have with my rusty, limited AS knowledge is how to effeciently write the AS so that the image swap works. I quickly ran into a wall trying to acomplish this using a very OLD method that would require a LOT of jumping around the timeline.
View 3 Replies
Nov 3, 2010
Can Facebook apps be written in Flash CS3 or do I have to use Flex? I'm more comfortable with Flash, but it seems geared toward Flex.One of the Facebook SDK examples (FriendsList_flash) contains an FLA file but it won't load in Flash CS3. Does it require a new version or am I doing something wrong?
View 1 Replies
May 4, 2010
Does Flash Builder 4 allow one to automate building Flash CS5/as3 .flas?
View 1 Replies
Dec 27, 2010
My client wants to distribute a video to some people, specifically car dealers, but he doesn't want the video to end up on Youtube or something like that. Therefore he wants the recipients of the video to be able to see it only once. My idea to implement this is:Generate a unique key per viewerSend each viewer a link to a page with a Flash based video player, with their key in the URLHave Flash get the video from the server. On the server the key is checked and the file sent (using php's readfile or something equivalent).Then the key is invalidated.I was thinking this wouldn't take more than a day to build.I know that if you want somebody to be able to play something, you implicitly give them the power to record it as well, but the client just wants me to make it as hard as possible.
View 2 Replies
Mar 2, 2011
Is it possible to build a flex 4 application that references or uses the flex 4 libraries (or any libraries that are compatible) without the project compiling them into the main SWF of the project.
So in a nut shell, I have a project and I want to load the flex 4 library from the server, is this possible? I've seen articles on compiler settings. Could this be the solution to loading the library from the server?
View 1 Replies
Feb 17, 2012
I want to develop a game like wordfeud for android and iPhone. For now I don't have a mac so I am not able to use xcode to develop for iPhone. Therefore I have decided to use adobe AIR so I can link the game to both android and iPhone.
I am able to build offline games like tetris etc. but what should I look into when I want the game to be multiplayer just like wordfeud where you can have several games running at the same time. I know I need a server for this, but can I use xampp for now just to test the application and then export the db to a real server or is it a different kind of server I must use?
View 3 Replies
Feb 22, 2009
I'm trying to make a drawing program in Flash 9 (AS3 ) which will allow the user to make their own caravan decking design. I'm having trouble getting it finished as I have only been working in Flash for about a week. Please see attached files.I think I'm on the right track, but heres 4 things I need to complete the work:
Add Object Focus: When the user moves the mouse over one of the decks I would like the decks border colour to change (0xFF0000) and to activate focus.
Add Object/Clone Copy: When the user starts to drag the deck and the deck has focus I would like the program to instantly clone that object to simulate the decks having an unlimited number.
Add Rotation: When the deck has focus I would like the registration point to be reset to the middle of the sprite. Currently I only have it working on one.
Add Collision Detection: I will have a basic drawing of a caravan in the middle of the screen and I wish for the deck to never go over the border of the caravan. When the user let's go of the mouse I would then like the collision detection to include both the attached deck and the caravan.
View 0 Replies