A Flash Developer Resource Site

# Search:

Type: Posts; User: Somar

Page 1 of 11 1

## Search: Search took 0.02 seconds.

by Somar
Replies
2
Views
894

### I know you haven't solved for the verticies yet,...

I know you haven't solved for the verticies yet, but still... wouldn't you rather use cubic regression instead of a cubic spline so that the curve will actually go through all four points and there...
2. ## Thread: Turn latitude/longitude into X,Y coordinates?

by Somar
Replies
17
Views
73,069

### For my example I made them up and over exagerated...

For my example I made them up and over exagerated them. For a city... I'd imagine you're going to be getting into the decimals... the left edge of the city might be at say 60.2 degrees longitude and...
3. ## Thread: Turn latitude/longitude into X,Y coordinates?

by Somar
Replies
17
Views
73,069

### Well assuming your map is a Mercator projection...

Well assuming your map is a Mercator projection or of the sort you should be fine with exorcyze's algorithm because meridian lines are distributed at equal intervals eg. every 5 cm on the map is 10...
4. ## Thread: Turn latitude/longitude into X,Y coordinates?

by Somar
Replies
17
Views
73,069

### EDIT: ignore this post :P ...

EDIT: ignore this post :P

http://mathworld.wolfram.com/SphericalCoordinates.html

This is a two step problem. First you must convert your spherical coordinates into cartesian coordinates, and...
5. ## Thread: Turn latitude/longitude into X,Y coordinates?

by Somar
Replies
17
Views
73,069

### you may want to try this code by exorcyze...

you may want to try this code by exorcyze (modified a bit)

var x = 0;
var y = 0;

function getPoint(lat, lon, mapwidth, mapheight) {
x = (180+lon) * (mapwidth / 360);
y = (90-lat) *...

by Somar
Replies
10
Views
1,918

### If you're looking for something more like a...

If you're looking for something more like a curved rope I'll try to get something done. Might get a little tricky though.

by Somar
Replies
10
Views
1,918

### It wouldn't really make sense to model that as a...

It wouldn't really make sense to model that as a series of springs (eg. a bunch of elastic bands looped together), but instead you should probably model it as a series of rigid "sticks" connected...
8. ## Thread: Can't run Flash 8

by Somar
Replies
2
Views
1,487

### No, it just continues off from the number of days...

No, it just continues off from the number of days before I uninstalled.

Macromedia Flash 8 Video Encoder also does not work, but the Flash 8 player works fine (ie. I can view flash 8 examples...
9. ## Thread: Can't run Flash 8

by Somar
Replies
2
Views
1,487

### Can't run Flash 8

I open the program and get to the "Macromedia Product Activiation" screen. I check "I want to try Macromedia Flash. (29 days remaining)" and then continue. The Flash 8 splash pops up and a few...
10. ## Thread: Deceleration over a distance

by Somar
Replies
1
Views
2,052

### Part 1) Vi^2 + 2ad = Vf^2 And we know that Vf =...

Part 1)
And we know that Vf = 0 and d = 370

Therefore:
Vi^2 + 740a = 0
a = -(Vi^2)/740

Which would translate to this AS:
this.wheelDeceleration =...
11. ## Thread: formular for *skewed* ellipse motion

by Somar
Replies
2
Views
3,775

### I think he wants something more along the lines...

I think he wants something more along the lines of this:

x(t) = Cx + a*cos(theta)*cos(t) - b*sin(theta)*sin(t)
y(t) = Cy + a*sin(theta)*cos(t) + b*cos(theta)*sin(t)

where:
Cx and Cy are the...
12. ## Thread: Forgive me ignorance, oh great gurus

by Somar
Replies
5
Views
586

### You're an idiot :D Just playing hehe. What's...

You're an idiot :D
Just playing hehe. What's wrong with using:
Name = this._name;

I don't undestand what else you want it to do?
Also, why do you need to make a variable containing the name if...
13. ## Thread: [Resolved] Flash Player 7 Beta

by Somar
Replies
94
Views
18,832

### Wait, so those are ALL new? Ah! I thought only...

Wait, so those are ALL new?
Ah! I thought only certain ones were. Didn't bother looking into it much. Thanks a bunch :)

by Somar
Replies
3
Views
330

### Or otherwise you can erase it's instance name,...

Or otherwise you can erase it's instance name, and set it's Variable property (in the properties panel) to naamin
15. ## Thread: [Resolved] Flash Player 7 Beta

by Somar
Replies
94
Views
18,832

### Err... Has anyone compiled a listing of all the...

Err...
Has anyone compiled a listing of all the new objects/functions?
16. ## Thread: [Resolved] Flash Player 7 Beta

by Somar
Replies
94
Views
18,832

### I think he meant

I think he meant

:)
17. ## Thread: Calculating Collision Points On A Rectangle

by Somar
Replies
2
Views
1,988

### Nothing to do with this thread but i was messing...

Nothing to do with this thread but i was messing around with the ellipse equasion and realized that:

y = +- (b^n * (1 - (x/a)^n))^(1/n)

begins to approximate a rectangle with width a and height...
18. ## Thread: modelling a spring (from the actionscript forum)

by Somar
Replies
2
Views
1,216

### Well let's see: (Bolded variables are vectors) ...

Well let's see:
(Bolded variables are vectors)

Newton's second law says that the force acting on a body is equal to the body's acceleration multiplied by it's mass.
F = ma
Hooke's law says...
19. ## Thread: base 10 logarithms in Actionscript

by Somar
Replies
4
Views
3,042

### Yeah. log e a ln a log n a...

Yeah.

log e a ln a
log n a = --------- = -------
log e n ln n

log e x = ln x = Math.log(x)

by Somar
Replies
5
Views
1,238

### BTW, Thanks for changing all the passwords on...

BTW, Thanks for changing all the passwords on everything! :confused:

Later,
Somar!

by Somar
Replies
5
Views
1,238

### Huh, I had nothing to do with that. Later,...

Huh, I had nothing to do with that.

Later,
Somar!
22. ## Thread: Streaming Live Audio...

by Somar
Replies
14
Views
2,957

### Wow! That sounds SO awesome! It's almost as good...

Wow! That sounds SO awesome! It's almost as good as WinMX, oh well!

by Somar
Replies
24
Views
3,454

*phew*
24. ## Thread: XML Sockets or Comm. Server?

by Somar
Replies
24
Views
3,454

### You're telling me flash is constantly asking for...

You're telling me flash is constantly asking for updates from the FlashCom server? GAY!!!

*back to sockets*
25. ## Thread: XML Sockets or Comm. Server?

by Somar
Replies
24
Views
3,454

### Socket = XMLSocket; :P True that though, No...

Socket = XMLSocket;
:P

True that though, No need for a unique onXML handler... just make a generic Socket and handle the XML through the onData function.

However you still can't stream...
Results 1 to 25 of 257
Page 1 of 11 1

 » Home » Movies » Tutorials » Submissions » Board » Links » Reviews » Feedback » Gallery » Fonts » The Lounge » Sound Loops » Sound FX » About FK » Sitemap