Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / I made the most amazing flash applet ever!

Author
Message
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 30th Aug 2010 06:36 Edited at: 18th Sep 2010 05:29
And I made it on the most amazing website ever.
[links out o' date]
I'm using a language called haxe and compiling that haxe code to flash. This is mainly because I'm too cheap to shell out the $200 for adobe's flash studio, because haxe is open source, and because when I look for free stuff "open source" generally piques my interest.

I do have one itty bitty problem though... http://www.neurofuzzydev.com is different than http://neurofuzzydev.com
The page you can see at www.neurofuzzydev.com is the default page for hostgator. neurofuzzydev.com is one i can change.

So... What's up with that, and how can i fix it? I see tutorials on the internet on how to permanently redirect one page to another (so I could probably get that working), but I can't even find where the files for www.neurofuzzydev.com are located!

CocaCola
15
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 30th Aug 2010 07:33
How the HECK is that annoying music I love it lol!

I want coke, not Pepsi!
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 30th Aug 2010 08:25 Edited at: 1st Sep 2010 15:37
xD

About the cracks in the loop - it's due to the mp3 codec. Switching sounds to .wav files removes the issue, but... the file's like 5 mb. As an mp3, it's like 65 kb, and I don't want to figure out a seamless loop workaround for mp3 files.

Shadowtroid
15
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 30th Aug 2010 20:54 Edited at: 30th Aug 2010 20:56
I hate you Neuro Fuzzy.

HEY GUYS CLICK THE FLASH FOR FREE PIE

edit: I set my adblocker to block your images. HE HE HE

Virtual Nomad
Moderator
19
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 31st Aug 2010 08:04
you know, logging folks out from TGC is a way old joke. my hope is anyone who does it get's banned but, atleast i know who to add to my ignore list here.

Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 31st Aug 2010 08:41 Edited at: 1st Sep 2010 15:37
that was a random link i pulled out of my butt. The real accomplishment I was showing off was the flash applet at the bottom of the page that played music, and I decided to test out my html skills. Link remov'd because I'll be doing a lot more testing.

BearCDP
15
Years of Service
User Offline
Joined: 7th Sep 2009
Location: NYC
Posted: 1st Sep 2010 00:58 Edited at: 1st Sep 2010 01:09
Rofl that song's hilarious, along the with the output of your haXe app.

Why did you choose haXe over Flex w/ AS3? I worked on a Flex/Flixel project so I'm familiar with FlashDevelop, etc., but I haven't heard of haXe.

The looping problem isn't too hard to work around. I spent a lot of time working on the music playback of a game with Flex (actually, the Flixel framework, but it's built on Flex). The music was comprised of 5 tracks containing different instruments that played simultaneously in sync (Ex: drums, cymbals, bass, guitar, keyboard). I needed to be able to swap out one loop for another in order to change the feel of the music. Also, at a phrase boundary (usually 4 or 8 bars, but dependent on configuration) it would detect if the player had advanced to the next level, and if so, play a drum fill in time and quickly crossfade to the next set of music tracks on the beat.

It's a pain, but totally possible in Flash. There's a utility I found called mp3loop, which will modify the mp3 files such that the last bit of sound is stretched to fill that gap you'd normally hear, and unnecessary headers/footers are stripped to speed up decoding.
Link: http://www.compuphase.com/mp3/mp3loops.htm

If the rhytms in a piece of music, this approach might feel a slight lag between loops, and if the loops aren't all the same length (and are long, and run for a long time, so this is unlikely), you'll gradually perceive that they get out of sync. This isn't a problem though if you implement some smart resets and don't make giant loops. And of course, for a single track of music it works perfectly.

Alright, I'll shutup now since I could go on typing for pages and pages about challenges in interactive audio implementation, so I'll just end with two more links:
http://blog.andre-michelle.com/
http://www.audiotool.com/

Check out this WIP flash game from the Global Game Jam!
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Sep 2010 04:49 Edited at: 1st Sep 2010 15:37
xD Rofl I'm an idiot! Since virtual nomad was pissed I figured I'd remove the link till I had something to show... but I had it like everywhere else in plaintext in my post. I just removed the hyperlink XD. I edited it back in with the link that got VN annoyed taken out.

Also, I found out that that animated gif works horrifically in IE, a bit laggy in chrome, pretty good in firefox, and wonderfully in opera.

Thanks for the post BearCDP! I was inspired by your post to check out your website, and I think your compositions (programs, music, ideas) are awesome. Most notably that "Rebel" proof of concept. I have a pretty similar concept I wanted to work on, but my developing skills aren't quite up to par.

As for the HaXe thing... I was looking for an alternative for the adobe flash software, and it was basically the first thing I found. I don't like that it has a small user base though. If there is a great tutorial or guide on how to get a free flash development environment set up (IE not haxe) that would be great, but I basically want to spend my time programming, not worrying about what stuff is. I'm also not totally sure what flex is...

I'll check out the music looping stuff

BearCDP
15
Years of Service
User Offline
Joined: 7th Sep 2009
Location: NYC
Posted: 1st Sep 2010 06:05 Edited at: 1st Sep 2010 06:06
Thanks so much for visiting my site! I'm glad you like my stuff

I think Flex may be right up your alley. Basically, it's the Adobe Flash library. Except, it's free and most of it is even open source.

Here's their info page: http://www.adobe.com/products/flex/?promoid=DINEZ

You use ActionScript 3 just like scripts in Flash CS4, except it's all code and you can write it in FlashDevelop.

Or, if you're a student or not employed as a software develop, you can get Flash Builder 4 free at https://freeriatools.adobe.com/

It's basically an Eclipse-based IDE for the Flex SDK, so you get to debug and step-through your programs among other nice things. I learned about it because the global game jam team I joined was using Flixel to make their game. I definitely recommend checking it out. The developer also has a nice tutorial on his wiki setting up Flash Builder with the Flex SDK and Flixel.

Check out this WIP flash game from the Global Game Jam!
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Sep 2010 08:07 Edited at: 1st Sep 2010 15:37
Hmm... I think I'll try that flex/flashdevelop.

But... right now, I'm focusing on website creation. I want to create a website based around development, but the "website" part of that takes precedence. I think I'm pretty much set on knowledge of the standard html tags, and I'm now working on CSS. After I learn some o' that, I'll try to create a bsic page, then it's on to basic javascript, and then I think I'll try some php, then SQL, and finally try integrating some open source blagging/forum software into everything. After that, hopefully I'll know how to implement stuff, and I can really worry about what to implement.

Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 1st Sep 2010 08:12 Edited at: 1st Sep 2010 08:46
i love how you actually brought a domain so early

Oh you use hostgator... oh dear.

Are you on a linux or windows server?

If its linux check if hostgator allow htaccess

If they do then do this, Make a new file in your FTP in the root directory (just inside HTDOCs if you see that folder) and call it .htaccess insert this code into the file:

That should work (it forces the www.)

CAUTION: doing htaccess wrong can cause error 500s and make pandas sad.

[Edit]
If you want to learn HTML/CSS/PHP/AJAX/ASP/Javascript/More i highly HIGHLY advise http://www.w3schools.com/ it is a lifesafer.
Another good site i recommend is: http://www.switchonthecode.com/tutorials
And for when i get code blocks: http://www.rinkworks.com/stupid/

Smoke me a kipper, ill be back for breakfast.
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Sep 2010 08:44 Edited at: 1st Sep 2010 15:37
Ah! Thank you so much, I am on a linux server and that did the trick! I was worried I made a mistake during some registration something or other.

I'm actually working through the w3schools.com tutorials right now
It definitely is a lifesaver. I have a couple books on webpage development, but they're all from 2003 or earlier (it appears the only two browsers anyone cared about back then were netscape navigator and IE), and skipping from online tutorial to online tutorial is just annoying.

Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 1st Sep 2010 08:48 Edited at: 1st Sep 2010 09:03
Oh i forgot to add.
Get Opera, it really helps with website development, and when your javascriptin use IE (IE tells you when theres a javascript error, and what is the problem.
When you start in php do:
Error reporting(E_All); (might have put a typo in there somewhere)

Also try as much as u can to use w3s validator, keeping urself validated make sure ur compliant cross browsers.

Quote: "d finally try integrating some open source blagging/forum software into everything"
Why? doing it yourself is the fun part

Also you dont need to look into javascript that early, really learning php as soon as possible is your best bet.

I advise that you:
A.) dont program with a package, none are good, programming it yourself is the only decent way.
B.) learn basic HTML first, then once you understand the basics move onto PHP and look into handling databases with MYSQL (i think hostgator has phpmyadmin setup for you).
C.) dont jump into javascript, its what id call the finishing touches.

Finally i want to add that your userbase no matter what site will probably be 70%+ IE users, so always makes sure its compatible with them. (theres an old website joke that around 50% of the time it takes to make a site is getting it to work in IE).

The image contains swearing so i put it into a href. (Everything in that pie chart, at least for me is definitely true =p, except the bill gates bit).
http://realityme.net/wp-content/uploads/2008/05/web-design.gif


PS. when i say HTML basics, i also ment CSS. Really what you need to learn is about absolute/relative positioning, look at the position command, padding is also another biggy, and remember, divs are your friend (<div> ).

Smoke me a kipper, ill be back for breakfast.
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Sep 2010 09:11 Edited at: 1st Sep 2010 15:37
so far out of 52 unique visitors 13% have been using IE

Probably because 100% of the traffic is from this forum, and people here have good browser taste.

Also, yikes, it looks like whatever I was doing to insert that .swf file doesn't work on IE... but it does on chrome, firefox, and opera

Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 1st Sep 2010 14:44
That music is great, it's my new theme tune.
I like your site because it is totally random and has nothing useful on it at all!

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Sep 2010 15:33 Edited at: 1st Sep 2010 15:38
I got stuff to do stuff that looks better!
http://www.neurofuzzydev.com
The only section that's up right now is "about", but I learned how to prettify stuff with text formatting. Originally the "about" section was just a paragraph, then I was like, "Wait a sec, those are lists... and that's a heading...", so I looked at how other websites formatted text and came up with that.

I recognize my CSS habits aren't the best, but I'm refining it!

@Obese:

My favorite part of it is the image map at the bottom with the shapes you can click.

ps. the learning/practice stuff is now the second link on the first post.

pps. and my favorite page of it is the yellow square.

BearCDP
15
Years of Service
User Offline
Joined: 7th Sep 2009
Location: NYC
Posted: 1st Sep 2010 21:07
W00t for w3schools! Also, nice layout. Easy to read even before the morning coffee.

@Fatal Berserker
I'm not a web developer, aside from the Flash game stuff I just learn enough PHP, CSS, and HTML to maintain my own site. Never got far beyond some basics and enough of the Wordpress API to get done what I need done, but lately I've played with Ruby on Rails since it's the "cool new thing".

You sound like an experienced web developer, so I'm curious: What's your take on the new web app frameworks that people are raving about (mainly Rails and Django)? I'm sure NeuroFuzzy and others are curious as well.

Check out this WIP flash game from the Global Game Jam!
Quik
16
Years of Service
User Offline
Joined: 3rd Jul 2008
Location: Equestria!
Posted: 1st Sep 2010 21:28
isnt that song from something and the 7 dwarfs? XD


[Q]uik, Quiker than most
Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 1st Sep 2010 22:44
Quote: "You sound like an experienced web developer, so I'm curious: What's your take on the new web app frameworks that people are raving about (mainly Rails and Django)? I'm sure NeuroFuzzy and others are curious as well."

I call it pansy package nonsense
Why do you get something to do your job for you? Whats the point doing it in the first place?
And more than often they use weak systems and are easy to break.

Smoke me a kipper, ill be back for breakfast.
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 2nd Sep 2010 17:05 Edited at: 2nd Sep 2010 17:09
Don't go to the Adobe products! Stick with Haxe - since I'm guessing you haven't noticed yet that Haxe lets you target C++?

(If you're looking to build games that means you could target both flash and a desktop binary with one project)

09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 2nd Sep 2010 21:00 Edited at: 2nd Sep 2010 23:30
Quote: "I call it pansy package nonsense"

I'm sorry to disappoint but I just got rails set up

Quote: "Don't go to the Adobe products! Stick with Haxe - since I'm guessing you haven't noticed yet that Haxe lets you target C++? "

I've noticed that but... I don't care too much to target other languages with haxe, ATM at least. Also, I really have 0 problem using products by the people who develop the platform I'm working on - I just don't want to pay for anything of theirs

I don't really know... I'm going to focus on website programming ATM.

[edit]
important info: the home page icon links to a marmoset.

Also... I know that "neurofuzzy" is reserved, and possibly a trademark - so I know if I ever tried to make money/sell something and used this as a title, I'd get into trouble. Would just using it for a small site like this cause an issue? I know it's really really unlikely anything will happen or anyone will notice, but I'd rather not be in the dark

Login to post a reply

Server time is: 2025-05-25 06:06:45
Your offset time is: 2025-05-25 06:06:45