Chaotic Horde

Flash Applications and Games Development

Today,  

Hello,
I’m trying to pass an array of X arrays as parameters to a function such as :
var someArray = [0, 1, 2];
var someOtherArray = [A,B,C];
array = [someArray, someOtherArray,…];
myMC.someFunction(array);

The problem is that the function doesn’t see where the 1st array stops, it’s like passing a big array such as
myMC.someFunction(someArray,SomeOtherArray, …) becomes
myMC.someFunction(0,1,2,A,B,C) instead of myMC.someFunction([0,1,2],[A,B,C]);
I even tried to make a string such as str += "[array[0]]"+","+"[array[1]] … but it still passes everything as one big array….

So how to pass X arrays to a function??


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

Join internationally renowned ActionScript expert Colin Moock for an intensive full day of free ActionScript 3.0 training.

Don’t miss this rare opportunity to learn how to program from one of the world’s top ActionScript instructors.


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

ok i am making site right now, i have one button called "fullscreen mode" and i want when i preess on it (when site is opened in browser for example in ie explorer ) the site to be opened in the fullscreen mode


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  You’ve heard of Wi-Fi . . . but how about Wi-Fly?That’s the moniker tech analysts are using to label new inflight internet access applications. That’s right. Starting this month on select airlines, you can start checking email, watching the latest batch of YouTube videos, or catch the score of the Celtics game on NBA.comThe New York Times is reporting that Jet Blue, Virgin American and Alaskan Airlines are all rolling out test programs that allow fliers to access the Internet. The Times says that services will range anywhere from free of charge to $10 per flight. “I think 2008 is the…
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  

I got 2 classes one it’s a superclass and contains a static variable. The other it’s a subclass
(this is just an experimentation…)

While compiled, I got a msg error in subclass saying: the class or interface OOtest could NOT be loaded. I can’t calling a static variable of the mother class.

ex:
class OOSubtest extends OOtest {

public function OOSubtest() {
trace("test: " +OOtest.test);
}
}

class OOtest {
public static var test = "Aquarium";
}


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: If McDonalds can advertise, “Over 1 billion served” on each of its restaurants signs, then why can’t Comcast, Verizon, Sprint and the rest of the broadband world say the same thing?Well, technically, soon they can. That after a new report from Strategy Analytics that estimates over one billion broadband global users in 2008. China and India seem to be the growth hot spots, as the study says that the vast majority of this growth will come from emerging markets, according to company analysts. Strategy Analytics says that the Asia-Pacific region will lead the world in terms of total…
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

Hi!, this is my first post, i hope i can from here be part of this community, ok here is my question:

im using a FLV as intro for a webpage, so, i want to preload or do the buffering and then start to run, im using this code

buffer_txt.html = true;

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
stream_ns.setBufferTime(15);
myPlayer.attachVideo(stream_ns);
stream_ns.play("http://www.feedbackestudio.com/2m/demo4.flv");

var buffer_interval:Number = setInterval(checkBufferTime,100, stream_ns);
function checkBufferTime(my_ns:NetStream):Void {
var bufferPct:Number = Math.min(Math.round(my_ns.bufferLength/my_ns.bufferTime*100), 100);
var output_str:String = "";
output_str += "Buffering "+bufferPct+"%";
output_str += "
";
buffer_txt.htmlText = output_str;
}


and it works well, but what i want is to do some action when the movie ends. somebody have the code to do that?

thanx for your help!, and excuse my english im from argentina we speak spanish here


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  On a trip to Newport Beach, Oregon, this past summer, I was introduced to a global positioning satellite device for the first time.It was a real eye-opener. All I had to do was type in the address I was heading toward, and the satellite took care of the rest. For the two-hour trip, I was gently reminded by the device’s “voice — call it Julie Andrews-like in her “Sound of Music” days, to “turn right in one mile” or “turn left at Juniper Street” . . . and so on and so on until we reached our destination.Now I’m hooked. I bought my own GPS unit on my return home and, judging from the…
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  

Hiya, thanks for checking my post. I am really confused as what I am trying to do is so simple!
All I want to do is increment a counter every time a movie loads. I have a method (updateMovie) that is passed an MC and the url of the swf to load into it. My loader listener object then triggers another method that should count the number of movies loaded. For some reason I can’t access my counter (’loaded’).
If anyone can point out where I am going wrong here I would be really really grateful as I can’t understand this at all.
Thanks for any help
Schm

Here is some of the code from within my class:
ActionScript Code:
private var loaded:Number = 0;
//loads passed swf into mc
private function updateMovie(mc:MovieClip, url:String) {
var mclListener:Object = new Object();
mclListener.onLoadInit = mcLoaded(mc);
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip(url,mc);

}
//trigggered when mc is loaded
private function mcLoaded(mc:MovieClip) {
trace(“loaded:”+loaded);//traces undefined
trace(“mc loadeed:”+mc);
if (loadedlength) {
loaded++;
trace(“loaded:”+loaded);
}else{
trace(“all loaded”);
}
}


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  According to security researchers at BitDefender a new Trojan has been discovered which hijacks text based Google adverts and replaces them with ads from a totally different provider. Trojan.Qhost.WU acts by modifying the infected computers’ Hosts file to include a line which redirects the web browser from the expected .googlesyndication.com IP address to another which ensures that the browser gets its ads served from a completely different place instead of Google.”This is a serious situation that damages users and webmasters alike,” said Attila-Mihaly Balazs, a BitDefender virus analyst….
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

« Previous Entries