ActionScript 3.0 :: The Purpose (the Practical Use) Of The Mandelbrot Set?
Nov 25, 2011I did not go that far in math. But can you tell me the purpose (the practical use) of the Mandelbrot set?
View 3 RepliesI did not go that far in math. But can you tell me the purpose (the practical use) of the Mandelbrot set?
View 3 RepliesI'm trying to create a simple flash that will draw the Mandelbrot set by looping through coordinates, sending those coordinates through iterations of the Mandelbrot function and drawing a line at those coordinates, who's color is dependent upon the amount of iterations taken. Here is that code:
ActionScript Code:
var dot:Sprite = new Sprite()
this.addChild(dot)
for (var X:int = 0; X <= 500; X++) { //Iteration for horizontal
[code]....
I'm sort of jumping in headfirst to some Flex/AIR stuff. I have a pretty solid background with AS3, but given the inherent hierarchal complexity of Flex (compared to regular Flash), I'm running into an issue.
Let's assume that you have an app where pretty much everything is event driven (common). Accessing elements in the near vicinity of the event target, or the event target itself, is trivial. I'm trying to find, however, the most practical (read: best, most efficient) way to find children that are far removed from the current context.
[Code]...
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]...
I have an array with lots of items with same names like
CloudObserverCMSStub edited
CloudObserverCMSStub edited
CloudObserverCMSStub created
[code].....
AS1, AS2 don't require import instructionAS3 require. Why
View 3 RepliesWhat is the use Font context in Flex?
View 1 RepliesThe use I have for it is for storing user credentials, and calling a transfer object that functions as a sort of "cache" for the current session in all of the flex modules.
Thinking about objects that have to be present in every module. Is there any alternative to a singleton instance for this?
I am trying to use an existing link with a flash file that is functional to also link to another page at the same time. Basically I am using Joomla and I have a flash file that has menus and pictures and such. I want to be able to click on a link within the flash file and still have it do its given function of pulling up an image or opening another menu or whatever the current function of that link is. The problem I am having is that I also want this link when clicked to navigate to a specific url to show aditional content on one of the Joolma pages.when one of the links in the flash file is click and it pulls up a specific image within the flash file.I want it to also pull up text or other content below my flash file that goes along with the image.
View 1 Replieswhat is the purpose of function.call() and in what situation in is used
View 1 RepliesI am currently migrating from RubyAMF to PyAMF. In RubyAMF you can return a FaultObject deliberately like so:
render :amf => FaultObject.new("Thats not your pie!")
Is there comparable functionality in PyAMF? I've searched the docs and can't find any mention of it.
When writing a custom layout for a List, what considerations need to be given for using the horizontalScrollPosition / verticalScrollPosition properties on the LayoutBase class itself (as opposed to the corresponding properties on the layoutTarget)
Looking at the HorizontalLayout class as an example, it always references and updates layoutTarget.horizontalScrollPosition. Is the horizontalScrollPosition of the LayoutBase class ever referenced / used?
What's the relationship between the property on the layout instance, vs the property on the layoutTarget instance, and when should each be used?
If you want to use content on another server, that server needs to host a crossdomain.xml file allowing access. If this file isn't there, flash won't let you access it. Given that it's easy enough to just write a proxy (say a php script that curls the external URLs) what is the purpose of this restriction? It seems that the content is still 100% available to external people, but there is just one extra hoop to jump through.
View 2 RepliesI am trying to design an output text box that will read the sum of 8 buttons. The total sum of the 8 buttons will change depending on which buttons are on and off. Whichever buttons are turned "ON" their sum will calculated and put into the output text box.
View 9 Replieswhats the purpose of having to have an extra class such as abstract class in Flash where the methods has no implementation,but the subclasses declare those implementations.The advantage of having the methods declared in subclass than the superclass is that it would not affect the other subclasses when there are certain changes.That makes me wonder, isn't it better not to extend(inherit) empty methods but directly create a class as its own? unless there is something that the child could use from parent.Anyone could give me examples of how applicable using abstract classes/interfaces?
View 3 Replies.goBack is this a legitimate command? what is it's actual purpose?
View 1 RepliesI'm trying to make a variation on Array for a very specific purpose. When I have the following:
public class TileArray extends Array {
// Intentionally empty - I get the error regardless
}
Why can't I do this?
var tl:TileArray = [1,2,3];
despite the fact that I can do this
var ar:Array = [1,2,3];
The error I receive is this: Implicit coercion of a value with static type Array to a possibly unrelated type
I'm using Actionscript. I'm currently working on a small game - In the game, I'm using a global variable called _global.battle to track, at where the player is (more difficult battles are being unlocked with story progression). I want the player to get from a town to a map where - depending on the variable, a certain number of battle locations is selectable. I put the following code on the button that let's you access the map:
ActionScript Code:
gate_btn.onPress = function(){
if (_global.battle = 1){gotoAndStop("map",1);}
else if (_global.battle = 2){gotoAndStop("map",2);}
else if (_global.battle = 3){gotoAndStop("map",3);}
else if (_global.battle = 4){gotoAndStop("map",4);}
else if (_global.battle = 5){gotoAndStop("map",5);}
}
My problem is the following: if I switch the variable to 2 (or higher), the button ignores this and sends me to "map",1 - and assigns the variable the value 1 again. I have no idea why it does that. I don't have any other code with this variable except in my title screen, where I give it the value 1 and on another screen, where I give it the value 2 (by doing this: _global.battle = 2;).
Can RSS Feeds be inserted into Flash?
I would like to create an animation whose sole purpose is to scroll a feed (like CNN), and that would change the source feed every 10 minutes.
I've been going over several tutorials and whatnot and I'm confused on the point of movie clip symbols and motion tweens. To me using the other tweens and symbols are "easier". Can someone explain to me why they're so beneficial to have been added to CS4/CS5? Except I understand that movie clip symbols can be adjusted using the 3D tools but is that the only difference?
View 1 RepliesI'm building a networked client app with Flash Builder, and would like to be able to set environmental variables or #define's such as server's hostname and port. For debugging purposes I want to connect the client with different servers (and for other devs too). In C/C++ I'd define TEST_PORT=8888 or something in the IDE or build environment, that way I wouldn't need to commit a settings file along with the client. But not sure what's the standard for Flash Builder.
View 1 RepliesI'm looking for a really really small linux distribution or process of making my own that's sole purpose is to get an air application to launch full screen and stay there; Essentially I'm building a home kitchen computer that runs entirely as an AIR app.
I have looked into using windows xp; and windows xp embedded but they pose so many issues I figured I'd try modern linux.
I have also seen TinyCore Linux which looks interestingly small but not sure what issues that poses in regards to running AIR and "hardware" accelerated display. I've also thought about stripping down an Ubuntu installation but I'm sure somebody must have done this already; google is just failing me right now.
[Code]...
I'm a bit confused with the purpose of these programs. For example if I want to create a game or utility app that runs on air. Can I design it in Flash Professional and later open in Builder for more heavy coding? Or is Catalyst supposed to be used as the design program?
I used to think that you design stuff in Flash Professional and then open the project up in Builder to do more deep coding.