Professional :: Can Flash Be Used To Construct 3d Objects?
Jan 6, 2012
I have an idea for a web site image in which a 3d object moves across a background, turning as it moves and thereby demonstrating its 3d nature. Obviously, Flash supports design of the static background and the motion of the object. But can Flash construct that 3d object with the complexity of say for example Autodesk? If not, and I have to construct the object with a 3d design application, what 3d file formats does Flash support?
View 6 Replies
Similar Posts:
Apr 21, 2009
I'm seeing lots of cool clocks made in flash, but they load the time based on your machine's date and time. I want to construct a clock which takes the time from an official time server so it will always be up to date.
View 2 Replies
Jun 7, 2010
In Flash, if i create a custom Movieclip, and compile it to a SWC, i can use it in .fla files (by linking to the .swc)..
[Code]...
All the arrangement of graphics on the custom movieClip's layers is preserved. If i subclass UIComponent and compile to a swc, I can use the custom Class in my .fla file, but the new instance doesn't seem to construct the children arranged on the layers.
I know that the correct way to make a custom component is to have the two frames, first to specify bounding box, second frame for assets, and that the first graphic in frame 1 is removed at runtime. But i'm not really trying to make a reusable component - i just want to use the UIComponent class (It seems to have some nice extensions to Sprite). As i really want some hand-positioned layers inside the component i figured i could have the bounding box as the first element on frame 1 (knowing that it would be removed), but any other items i put on frame 1 would be preserved - buttons, images, lines, etc.
View 2 Replies
Jul 9, 2010
I see plenty of AS3 examples of loading 1 image file into a 1 frame movieclip, but how can you take a folder full of images, load them and treat each image as an individual frame of a single movieclip?
View 3 Replies
Nov 10, 2010
When I copy layers and edit the objects on stage, the objects also change in the other layer(s).
How do I duplicate a layer so that I can modify it with the objects in the old layer being unaffected? There must be a really easy way?
View 2 Replies
Sep 19, 2010
Is it possible to use 3D objects created in 3D Max, Blendor, iClone etc. to perform animation to make Flash Movie more realistic? Can I make nice animations like in iClone 4 Software? If it is possible to use 3D Objects in Flash
View 2 Replies
Apr 2, 2010
I have a question about a library one would create inside a Flash document. I have a bunch of pieces of graphics objects inside a library for a FLA file. I then drag these pieces onto stage to build a more complex object. I then select all those pieces and group them and convert this new object into a movie clip. From there I move it into the library for that FLA file. I notice there is both a graphic for this object plus the movie clip for that object. To me these are 2 separate objects. So when I delete the graphic of the object, it also deletes the movie clip I created of the object.
View 5 Replies
Nov 26, 2010
I'm planning to add a page to my site that would have sample music from a variety of artists. There would be several sentances about the musician, then a free Flash mp3 player I'm using. I'm planning at least a dozen of these on the page. I didn't anticipate any problems, but a page where I had done something similar suddenly stopped working. Nothing I've tried will fix it. I don't want to go ahead until I find out if there are details I need to know about having multiple Flash objects on a page. Here's a link to the page that broke ... supposed to be a second instance of the player below the paragraph that talks about Ramblin' Jack Elliott ... instead there's just space ...
[URL]
View 2 Replies
Dec 31, 2011
I am playing around with saving .xml files from data in my game. I know how to convert an xml object to a ByteArray and write that to a FileReference. What I need to know now is how to go from an empty xml object (using var xml:XML = new XML()) to a fully populated xml object.
Can someone show me what functions to use to add nodes and values? Specifically I need to know how to make several of the same type of node. Here's a sample of what the final xml should look like[code]...
View 2 Replies
Mar 21, 2010
is there a logic explanation why my flash projects when exported as an avi or quicktime etc etc the objects that were masked are not animated? and what do i have to do in order for project to be as i see it when i test the movie and it appears fine.
View 7 Replies
Aug 10, 2010
For whole damn month I spend writing script for a actionscript application on Flash CS5. I had my Window$ Crashed!! and when I tried opening the flash file, it says "error opening File!". my swf is sized 0 KB, I even bought a decompiler, Trillix Flash Decompiler and tried to decompile the swf, it says swf corrupt. Now all I have is some classes and external swfs. Those thousands of as3 codes inside the fla file and the library objects are all gone.
View 2 Replies
Apr 11, 2011
is there a logic explanation why my flash projects when exported as an avi or quicktime etc etc the objects that were masked are not animated?and what do i have to do in order for project to be as i see it when i test the movie and it appears fine
View 1 Replies
Feb 21, 2009
I am trying to construct a timed loop... so far without success.What I need is a loop where iteration 0 + i + 1 starts a few seconds after iteration 0 + i. I tried putting a timer inside the loop but the loop seems to simple skip the timer instead of executing it sequentially before starting the next iteration. Here is the code snippet:
Code:
var iTimer : Timer;
for( var i:int = 0; i < 2; i++ )
{
trace( i + " i iterations" );
[code]....
The loop does not seem to wait for jLoop() to be executed. It speeds ahead onto the next iteration, instantiating a new timer and thus screwing up the timing of the iterations. I have tried different things like putting break and continue statements in there but to no avail.
View 8 Replies
Mar 12, 2010
how I can avoid this type of ridiculous code I am having to use:
function resetText():void {
pathText_textField_1.text = "";
pathText_textField_2.text = "";
[Code].....
In lingo I would run a repeat loop using the base "pathText_textField_" and adding the number as a string for each one. Is this possible in as3? I mean can I construct the mc reference using code somehow? I can of course make the names as a string in a loop but you cannot use a string as a mc name right? If not then how else can you send the same instruction to multiple mcs?
View 6 Replies
Feb 16, 2011
IE 8 Flash CS4 v10 Windows XP Home SP3 (NOTE: The word "Resize" refers to an HTML change of the movie size; it does not refer to a Window resize)
Objective: Display a transparent 800x600 flash movie in IE, stretching movie to 100% width and height of webpage but keeping the objects within the movie from getting re-scaled. Objects are re-positioned at runtime via ActionScript with values meant to be relative to stage dimensions.
Problem: The movie resize is messing up the object re-positioning. The movie is indeed stretching to 100% of the width & height of the browser window's client area, but the objects are repositioned relative to something else (perhaps screen dimensions, but not sure). Result: Objects which were programatically positioned relative to original stage size are spaced way too far apart in IE, in some cases off the screen entirely, though they were not like this in the Flash editor.Question(s): Why are objects which were positioned within the original stage dimensions being kicked off the browser screen while the movie itself remains entirely on-screen even after resize? What dimensions/values are guiding the automatic post-resize repositioning of the objects? (These proportions appear to be different from the change in proportions of the movie itself.)
View 1 Replies
Dec 21, 2011
when i convert an object to a symbol and edit it into Edit in Place and getting out of Symbol Editing Mode after the change have been made, the edited objects are also showing on stage.
View 2 Replies
Jan 12, 2011
How do I pass values by reference inside a for each construct in AS3? Basically, I want something equivalent to the following code in PHP:
foreach ($array as &$v) {
$v = $v + 1;
}
This would allow me to change all elements of the collection $array through a single loop.
View 3 Replies
Aug 10, 2010
So what will be faster:a) From actionscript construct library items and put on stage and Tween;b) Or keep those library items on stage, but not on visible zone and then with actionscript make them appear with a Tweener?
View 9 Replies
Dec 25, 2010
I declare this class which has a value x (In it's own document)[code]...
View 3 Replies
Oct 30, 2005
How to construct a preloader for the thumbnails in the xml gallery.
So far, I've got Code:
this.onEnterFrame = function() {
nfilesize = tscroller.getBytesTotal();
nloaded = tscroller.getBytesLoaded();
thumbpreload._visible = true;
if (nloaded != nfilesize) {
thumbpreload.thumbpreloadbar._xscale = 100*nloaded/nfilesize;
else {
thumbpreload._visible = false;
}};
I'm having 2 problems (that I know of)... I'm not sure that "tscroller" is the movieclip I want to preload for the thumbnails, and I can't get my movieclip entitled "thumbpreload" (which is set _visible = true; here) to show up. This preload function seems to conflict with the main image preloader and cause it to stop working. The file I'm using can be found here: [URL]
View 2 Replies
Mar 19, 2006
I'm an intermediate AS2 coder starting to use better OOP practices. I have searched for the answer to this but have not found anything, perhaps because everyone else learned it a long time ago.It appears that classes which extend an MC which is contained inside a different MC do not run their constructor immediately after the containing MC is instantiated. Also this MC's methods are not immediately available. As a result I need to wait a bit, by using onLoad or another frame.Here is an illustration which I have made as slim as possible:
LIBRARY:
--Symbol with ID "ball", linked to AS2 class "Ball".
--Symbol with ID "box", linked to AS2 class "Box". This symbol contains an instance of "ball" which I dragged in there and gave an instance name "ball_0".
--Symbol with ID "launcher", linked to AS2 class "Launcher".[code].....
QUESTIONS: How can I fix this so that setB would work in the above example? I have found two workarounds but I wonder if there is another which feels less kludgy.
Solution A): As seen in the example, put into Ball an onLoad function (or maybe just its constructor) which then runs any initialization functions. As a result I need to store in the object some properties which the object can find in itself and use for initialization.
Solution B): Put the method call on a timeline frame after the frame in which the attachMovie is done.
At the heart of this question is, why can I set the ball's properties (as seen with setA) but not be able to call its methods successfully? On one hand, I can see that the thread is busy with the box's initialization and can't be expected to run ball's constructor right away, even though ball has been instanced. But on the other hand, I am actually calling a method of an instance which is obviously there, so shouldn't it have the common decency to do as I ask?
Bonus question is, is the fact that this does not work a bug in Flash AS2 or is it perfectly to be expected due to some CS common sense which I lack?Another bonus question is, is this a harebrained way to use Flash AS2 classes—linking symbols to AS2 classes which extend MovieClip (or which are subclasses of classes which themselves extend MovieClip), and using attachMovie to instance all of these MCs except the one "Launcher" which is the only thing on the .fla's stage? It's a cornerstone of my architecture so I'd like to know if this is utterly daft.
View 4 Replies
Aug 25, 2009
How do you properly set a public variable or property in a construct? I'm pretty sure this is the wrong way of going about it:
Code:
private var subNavLoader:Loader = new Loader();
public var type:String;
public var w:Number;
public var h:Number;
public var path:String;
[Code] .....
View 5 Replies
Jun 16, 2009
Is it possible to construct an vertical sliding thumbnails of images. The example is shown at following path: [URL]
View 1 Replies
Jan 22, 2009
I'm really trying to learn and construct a for loop in a practical, useful manner. I'm familiar with for loops, but I've never used one in a practical application. I understand the syntax.
[Code]...
View 7 Replies
Sep 1, 2009
I built an application on Windows XP and Vista. And it seems that the sound channel constructor decides not to run with no speakers attached. Runs fine when headphones are plugged in, but when no speaker device is present the Sound object is constructed, but the Sound Channel never seems to make it.
I did some testing and even the most basic Sound Constructor fails to create the default sound channel if there are no speakers connected.
In the following example channel turns up as null if no speakers are present on a Windows machine. I/O Error doesn't throw anything for me either.
This is a modified version of the example from the Adobe Docs:
Code:
private var channel:SoundChannel;
public function sound_test(){
var request:URLRequest = new URLRequest("audio.mp3");
[Code]...
View 3 Replies
Aug 26, 2009
I built an application on Windows XP and Vista. And it seems that the sound channel constructor decides not to run with no speakers attached. Runs fine when headphones are plugged in, but when no speaker device is present the Sound object is constructed, but the Sound Channel never seems to make it.
View 1 Replies
Jun 13, 2011
I have been searching for a tutorial to teach me how to create a custom form. Unfortunately there are none. I've tried taking a few free forms I have found and customizing them but to no avail. Therefore, I have come to this fountain of knowledge to see if I can find what I am looking for. I want to fully understand how to construct the forms and the php file in the event I need to create different types of custom forms successfully. I need a form that has the name, email, phone number and of course the send button.
[Code]...
View 1 Replies
Dec 9, 2009
DISCLAIMER: relatively new to Flex/AS3, I might be missing something obvious. After doing some research it appears that using the for(var property:String in object) does not guarantee the enumeration order of properties, however it doesn't say anything about modifying the VALUE that property points to as changing the for...in loop.
[Code]...
As a solution I can create a temp object to store the data while doing the loop on the original object, and then replace the original object with the modified data, but I'd like to know what exactly is going on.
So my question is, does the value of object property modify the looping order of the for...in construct? And if so, should it or is this a bug?
View 3 Replies
Sep 21, 2010
I have a movie clip that runs in its own timeline. I want to stop the movie clip from playing whenever the mouse is clicked (in this application I am actually using a touch screen and I want the movie clip to stop playing whenever the screen is touched). In addition, I want the movie to rewind back to frame one so that none of the movie clip images are left on the screen.
View 3 Replies
Jan 16, 2011
Internally Flash obviously keeps a list of the primitives drawn using Graphics so I wondered if you have many such primitives in a Sprite, can you re-position/remove/alter individual items rather than clear and re-draw everything? Or is this deeper into the bowels of Flash than you're allowed (or recommended) to go?
View 4 Replies