ActionScript 2.0 :: Make A Regular Tetraeder In 3d With Seoculars 3d Engine?

Mar 15, 2004

I'm trying to make a regular tetraeder in 3d with seoculars 3d engine. In this engine you have to use make3DPoint (x, y, z) Now for this tetraeder I want to use a variable s that is the length of one rib. so this was the code I wrote with help from Voetsjoeba

[AS]focalLength = 300;
make3DPoint = function (x, y, z) {
var point = new Object();
point.x = x;
point.y = y;

[Code]...

View 8 Replies


Similar Posts:


ActionScript 3.0 :: Make Perfect 3d Engine For Flash?

May 25, 2011

So, been looking for a way to make the perfect 3d engine for flash. I need to know though, what am I working with? Pixels? Can I use something to access the video hardware? Already taking a few math classes on Monday to get a fresh start so I need to know the best way to go about this. Like...how does the video card draw?

View 0 Replies

ActionScript 2.0 :: Make A Scrub Bar For A Regular Swf File That *enters Every Frame*?

Jul 21, 2005

I'm looking for script or a tutorial which allows me to make a scrub bar for a regular swf file that *enters every frame* on the way forward and back. I was trying this one out ....http:[url]......... but it skips frames. I need something that will execute scripts place in certain frames along the timeline when the scrub bar is dragged.

View 2 Replies

Make Flash Sites Search Engine Friendly?

Sep 11, 2010

I've made a Flash site and I want it to be optimized for search engine.What I need is, for every query on Google for this organization name I want respective Flash page to be displayed.

View 1 Replies

ActionScript 3.0 :: Make A Visual Novel Engine Script Interpreter?

Oct 17, 2011

I am trying to make a Visual Novel engine script interpreter. What it does is, it reads simple instructions from a source like: "DISPLAY_TEXT: Hello world", "SHOW_IMG: scene.png".

I figured:

while(read_next_instruction())
{
handle_instruction(instruction);
}

This looks fine so far. If next instruction is DISPLAY_TEXT, handle_instruction() will display the given text on the screen, and then the while loop will keep on reading. The problem is, some instructions will have to wait for the user to click on screen so it can jump to next instruction, but how can I do this, if the while loop won't wait for the user to click on the screen?

View 14 Replies

Flash :: 2D Engine To Use To Make Angry Birds Clone (to Run On Mobile)

Mar 17, 2011

There are several different physics engines available for Flash. What would be one you'd recommend to build a catapult (with slingshot) Angry Birds clone -- that will run well on mobile, once packaged via Air? the World Builder Alchemy port of Box2D vs Box2d For Flash?

View 3 Replies

Flash :: Make Black-outlined Objects Using Alternativa3D Engine

Dec 1, 2011

I'm trying to make black-outlined objects using the Alternativa3D engine, I'm going for a cartoonish look. How can I do this?

View 2 Replies

Media Server :: Make Server Sider(FMS) Two Streams,one Is Regular Another Is Compressed

Feb 1, 2010

i am developing video chat system ,  one side is model, another sider is customer. Now i want that model sider stream sended to FMS, and then FMS make two streams, that the one stream is regular, the other stream is compressed. the compressed stream is just for administrator, so it should be small.

View 1 Replies

Android :: Make Sure The SWF File From AIR Project Can't Be Opened Like A Regular SWF File?

Jul 7, 2011

I'm making a game with Flash CS5.5 and exporting it to a APK file (AIR for Android).The trouble is that the APK file is really just a ZIP file, so you can extract the content and inside there is my game as a regular SWF file. Anyone can upload this to any website and play the game there.

I don't want the SWF file to work unless opened like it should, inside the APK file through Android.Is there any way to know through ActionScript 3 code if the SWF file has been extracted from the APK file and has been opened as a normal SWF file?

View 3 Replies

ActionScript 3.0 :: Get Best 3D Engine?

May 17, 2010

I have plans for a 3D project but not sure which way to go.

View 5 Replies

Professional :: Can Export Same Project As Both AIR And Regular Swf

Sep 16, 2010

If I have a project that I want to make into both a .swf for an online game and an AIR desktop app, can I do that, or do I have to pick when I first create the file? Once I choose 'Flash File (Actionscript 3.0)' or 'Flash File (Adobe AIR)' am I restricted to only one or the other?

View 1 Replies

ActionScript 1/2 :: Does As2 Support Regular Expressions

Nov 2, 2010

I'm coding in AS2 using CS4 if it matters.Can I use regular expressions in this environment?

View 3 Replies

Regex - Flex 3 Regular Expression?

Mar 11, 2010

I've written a url validator for a project I am working on. For my requirements it works great, except when the last part for the url goes longer than 22 characters it breaks. My expression:/((https?)://)([^s.]+.)+([^s.]+)(:d+/S+)/i

It expects input that looks like "http(s)://hostname:port/location". When I give it the input: https://demo10:443/111112222233333444445

it works, but if I pass the input https://demo10:443/1111122222333334444455

it breaks. You can test it out easily at[URL].. Oddly, I can't reproduce the problem with just the relevant (I would think) part /(:d+/S+)/i. I can have as many characters after the required / and it works great. Any ideas or known bugs?

[Code]...

View 2 Replies

Regex :: Twitter Regular Expressions?

Aug 10, 2010

I need 3 different regular expressions one that finds at the beginning of the string a 'D' and a space then a name, so 'D patrickgates hello there' would return 'D patrickgates', or if all possible would return just 'patrickgates' one that will find the @ sign and a name together anywhere in the string so '@patrickgates hello, world' would work and return '@patrickgates' or if at all possible would return just 'patrickgates' one that will find 'RT' and a space and then '@' and the username at the beginning of the string so 'RT @patrickgates' would work if returning just the username and also being true isn't possible with one regex, then I could use one to match to, and one that will delete the 'D' or the '@' or the 'RT'.

View 2 Replies

Regex :: Compile Regular Expressions In AS3?

Oct 12, 2010

What is the best (highest-performance/lowest memory-usage, etc.) way to compile a regular expression in AS3? [code]...

View 2 Replies

ActionScript 3.0 :: Chat App - Regular Expression URL

Feb 10, 2009

I'm creating a chat app and I would like to if someone enters a url that it turn color and turn into a hyperlink. I am not sure how to write the regular expression. I guess the approach would be to check for "http://" or "www." or ".com" ?

View 0 Replies

ActionScript 3.0 :: Regular Expression To Add Tags?

Jul 9, 2009

I'm trying to create a replace method that allows me to surround parts of a string with tags. I tried this with a regular replace technique (join and split) but thats case sensitive. what i want is:

: "A nice example line"

and replace "Ice" in that line to surround it with bold tags, result:

text: "A n<b>ice</b> example line"

ActionScript Code:
var str:String = "A nice example line";
var pattern:RegExp = /(w+)-(w+)/gi;
trace(str.replace(pattern, "$2,$1"));

But i just can't figure out the replace pattern

View 4 Replies

ActionScript 3.0 :: Simple 2D Engine

Nov 16, 2009

Is there a simple scene management/rendering 2D engine for Actionscript 3 there? All I need is simple engine, wich I don't have time to write on my own for. I googled and found pushbutton, but it seems to be too big for my needs. I need simple scene and rendering.

View 1 Replies

ActionScript 3.0 :: Best Flash 3d Engine?

May 23, 2010

I'm thinking about learning a flash 3d engine. I need some advice on which one to use. There's quite a few out there. Which is the best? I'm also considering whether there're a good bunch of tutorials on the web, that can make the learning easy.

View 9 Replies

Excel :: Search Engine On A CD?

Nov 28, 2011

My new project consists in setting a CD containing a structured data sheet (CVS, XML or Excel) and a serach engine. The idea is to allow the user (even not connected) to make searches live on the CD. There will also be a up-to-date version of the data on internet so if the user is connected, the application will prioritary load the online data.I was thinking at using ACTIONSCRIPT and XML.My questions are:1- Is ActionScript + XML a good choice?2- Is it possible to think at PHP + XML (so how to embed PHP on a CD without a sever?)

View 1 Replies

ActionScript 3.0 :: Get Best Physics Engine?

Mar 9, 2011

I am in need for some 2D physics seen from "above and straight down". Basicly I can sum it up with a "throwing balls into walls" kinda physics.

There seem to be quite a few physic engines for as3 out there, but I wonder if anyone have anyone special to recommend regarding my particular need as well as performance of the engines.

View 9 Replies

ActionScript 3.0 :: Four 3D Engine Benchmarks

Sep 19, 2009

I recently benchmarked the four most popular 3D engines (Papervision3D, Away3D, Sandy, and Alternativa3D). The latest versions of each. Default settings, no mip mapping or any advanced features turned on.My main reason for doing this was to see how my 3D engine compared, performance wise. But I thought I would post the benchmarks, as I'm sure some of you might find them interesting, or useful, if you use Flash 3D engines.First I'll explain the benchmark and why I did this particular test. It's 1000 texture mapped planes, 100 by 100 pixels, each comprising of 2 polygons. So that's 2000 polygons and 4000 vertices being rendered per frame.Now my reason for doing textured mapping is because the vast majority of people are going to use texture mapping in their 3D work, as opposed to wireframe or vector filled polygons, so obviously the texture mapping performance is important.And I decided to do 1000 small planes, rather than just one huge 2000 polygon plane because this test has a significantly larger amount of vertices than 1 big plane, thus being more of a test for the 3D transformations.Also being that there are 1000 planes, it tests how quickly the engines traverse the list of models, do the transformations, and add them to the renderer each frame. Again, this is more of a task than having just 1 model.Now as for the results, funnily enough, they are pretty much ranked in terms of popularity Papervision being the clear winner, then Away3D, then Sandy, then Alternativa.I get 19fps for Papervision, about 11fps for Away3D, 7.5fps for Sandy, and a shocking 2.5fps for Alternativa.It's given me a new found respect for Papervision. It has very respectable performance, much faster than the rest in terms of raw poly pushing power. I previously thought PV was overrated, and it's success mainly due to great marketing etc, but no. From the demos etc, I thought away3D would be faster, but actually PV is almost twice as fast.It's impressive that they've created a very easy to use, versatile and user friendly engine, with pretty good performance to boot. I think underrated PV before, because I'd seen fairly simple things like a 3D menu, or some 3D images run at like 10 frames a second and use 75% of the CPU. In hindsight, this was obviously just some horrible programming, by people who didn't know what they were doing.

I thought I would stick up for Alternativa though. It might lose badly in terms of raw polygon pushing, but it's a very advanced engine, and goes about things in a different way. The reason it can handle those big scenes in the demos on their site is because of some fairly advanced clipping and dynamic triangulation, minimising the amount of polys being rendered at any one time. Particularly the dynamic triangulation. Objects that are further away have their polygons reduced dramatically, then more polygons are added when viewing up close, particularly at an angle.Kind of surprised about Sandy. Having a skim through the classes, it seems pretty well written and fairly lightweight and streamlined. Papervision seems a bit bloated in comparison. But PV's code is clearly far more efficient.I'd also like to say this doesn't mean you shouldn't use Away3D, Sandy, or Alternativa. Obviously I explained A3D above, and I know Away 3D has a lot of features that people like, and things generally look quite good in Away3D.

View 7 Replies

Data Integration :: PHP Regular Expression Of URL In Text?

Feb 27, 2008

I have some text that is displaying from a database table and inside that text is a web address (i.e.,

[Code]...

View 1 Replies

ActionScript 3.0 :: Use The Standard/regular Tweening Within Flash?

Nov 20, 2008

I was following this tutorial. He uses the following line for Tweening:

Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME,
onComplete:function() { slideTimer.start(); }});

Instead of using this special designed class for Tweening, how do I use the standard/regular Tweening within Flash so I don't have to always include the .as file with my project? One other thing is, he uses something like this: intSlideCount = xmlSlideshow..image.length();

What are the two dots between the xmlSlideShow and image.length(); means?

View 1 Replies

ActionScript 3.0 :: Call A Funtion At Regular Interval?

Jun 1, 2009

how a function can be called at regular interval for limited times in AS3.0 and one more thing the timer should not be started automatically. I have to trigger that method.

View 7 Replies

ActionScript 3.0 :: Pass A Variable Within A Regular Expression

Sep 29, 2011

I am trying to understand some basics of Regular Expressions.For just a experiment I wanted to count the total words in a string.var str:String = "hello, this is some text to count the word hello and to check if Hello is ignored by case and if hellow is different";[code]Here i get the array of the values. and using it's length I can use the total number. This works, but the regular expression is not dynamic.[code]

View 2 Replies

ActionScript 3.0 :: Regular Expression In A Switch Case?

Oct 17, 2011

I have a string "52x + 60" and i want to extract 52x and 60 using regular expressions and a switch case
 
Is this the right way of doing it?
 
var equation:String = "32x + 5"
var numberExract:RegExp = /d+/
var xExtract:RegExp = /d+/x/ 
for(var i:Number=0; i<equation.length; i++)

[Code]...

View 5 Replies

ActionScript 3.0 :: Decimal Point Regular Expression

Oct 17, 2011

I've got this regular expression for decimal points:
 
var decimalPattern:RegExp = /(d+)(.)(d+)/gi
var result:Object = decimalPattern.exec(equation)
var i:Number = 0

[Code]....
  
Why is my output when i trace the number array this
 
3.2
3.2,3,.,2

View 1 Replies

ActionScript 3.0 :: Regular Expression - Skip The Next Character?

Nov 15, 2011

I have a string "4 + x + 5" and i want to change the x to 1x When using a regular expression for x i end up in an endless loop because when the x is changed to 1x, the regular expression finds the x in 1x and applies it to that Is there anyway of making is skip the next character? Here is my code:

[Code]...

View 5 Replies

Actionscript 3 :: Regular And Strong Tween Does Not Work?

Jun 8, 2010

new Tween(Image1movieClip, "y", Strong.easeInOut,
Image1movieClip.y, thetargetY, 1.5, true);

the following error occurs, access of undefined property Strong...however Back and Bounce works here..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved