Tuesday, July 7, 2009

Test Input field quirk

Along the same lines of the last post about combo box focus and its issues, here is a Text input field issue I found.
If you are listening for keyboard events be aware that whatever text input field has focus on it will pick up the key pressed in its field. It's weird too, you can't get rid of it even by setting the field's text to nothing.
textfield.text = "";

If you set the text to something else the key you hit still occupies the first slot, shaky bug. To avoid it make sure that even when invisible, make sure that no text input fields have focus on them. You could set up a hidden 'ghost' field to have focus on if you need to send focus elsewhere.

Links to Flash help

Tutorials
http://www.kirupa.com/
http://www.lionbichstudios.com/flash_tutorials_01.htm http://www.tutorialized.com/tutorials/Flash/1
http://www.vectorkid.com/
http://www.cbtcafe.com/FLASH/
http://www.flashkit.com/
http://tutorials.flashguru.co.uk/
http://www.flashcircle.com/
http://www.flashdeveloper.nl/g_flash_Tutorials.html
http://www.sephiroth.it/tutorials/flashPHP/
http://www.flash-mx.com/flash/index.cfm
http://www.flashpro.nl/flas.html
http://www.developingwebs.net/flash/#MX
http://www.actionscripts.org/tutorials.shtml
http://www.flashmove.com/
http://tutorials.flashsitesweekly.com/flash/
http://www.stranger.per.sg/
Resources
Flash Sounds
http://flashkit.com/soundfx/
http://www.computerarts.co.uk/downlo...ashSounds1.asp
http://www.flashsound.com/
Flash Fonts
http://www.miniml.com/
http://www.fontsforflash.com/
www.orgdot.com/aliasfonts
http://www.vectorize.de/
http://www.superlooper.de/
http://www.fatorcaos.com.br/?l=trabalho/fontes http://www.alphaomegadigital.com/flash_fonts.asp

Oop

The ten main terms describing Object Oriented Programming:
1) Class -Defines the abstract characteristics of a thing (object), including the thing's characteristics (its attributes, fields or properties) and the thing's behaviors (the things it can do, or methods, operations or features).
2) Object -A pattern (exemplar) of a class. The class of Dog defines all possible dogs by listing the characteristics and behaviors they can have
3) Instance -One can have an instance of a class or a particular object. The instance is the actual object created at runtime.
4) Method -An object's abilities. In language, methods (sometimes referred to as "functions") are verbs. Lassie, being a Dog, has the ability to bark. So bark() is one of Lassie's methods.
5) Message passing -The process by which an object sends data to another object or asks the other object to invoke a method. Also known to some programming languages as interfacing. For example, the object called Breeder may tell the Lassie object to sit by passing a "sit" message
6) Inheritance -"Subclasses" are more specialized versions of a class, which inherit attributes and behaviors from their parent classes, and can introduce their own.For example, the class Dog might have sub-classes called Collie, Chihuahua, and GoldenRetriever.
7) Abstraction -Abstraction is simplifying complex reality by modelling classes appropriate to the problem, and working at the most appropriate level of inheritance for a given aspect of the problem.
8) Encapsulation -Encapsulation conceals the functional details of a class from objects that send messages to it.
9) Polymorphism -Polymorphism allows the programmer to treat derived class members just like their parent class' members.
10) Decoupling -Decoupling allows for the separation of object interactions from classes and inheritance into distinct layers of abstraction.
Above terms copied from wikipedia.org

Mystic Hunter

We reviewed the flash game Mystic Hunter today, check it out and play that game at http://hyperspatial.com/game_archive/html/mystichunter_game.html

Sunday, July 5, 2009

Tutorial

I am starting on my Hyper tutorial today. It is comprised of all things flash, focusing on as3 for sure. Work in progress but check up on it if you want to be powerful and rule the world with as3

Transparent .swf issue

I was creating a .swf file player for my website. The player is used to prevent the annoying "autoplay" that tend to be difficult to stop. Some flash games are setup so there is no easy way to prevent this, hence your page opens up and plays the game soundtrack right away. Sorry I need to control that, even setting javascript control for the flash to does not always work.

Anyway, the .swf file I created that plays .swf files when you click on the play button. The problem I had was that I set the player to this caused games controlled by the arrow keys to scroll the browser at the same time. That makes it impossible to play the game.

Moral = If you load a swf into another swf that is transparent you may have issues with browser scrolling

Wednesday, July 1, 2009

Not enough time

My daugher Siri, and her best friend


It seems like there is not enough time in the world today. Am I getting old, is time speeding up, like our perception of time?

I don't know, maybe when we were children the days just seemed longer because we had less stuff that we had to do and more stuff that we wanted to do.

I am trying to forge ahead, regardless of the lack of time or sleep for that matter. I am trying to create an online empire or web as they call it. It is difficult for a one man operation to accomplish the thing necessary to drive web traffic to my sites, getting the google bots to rank my site and such. SEO (Search Engine Optimization) is a very involved process that seems impossible for the individual to accomplish. Don't give up, I always say. So I continue my efforts:

This Blog
Hyperspatial.com
The Sensiri project
Personal Blogs
Forums

These websites are all in the works, and at various stages of construction. If you read this blog you definitely need to go to the sensiri site. I created a wonderful nature sounds player that you must have. I love it.

Optimizing all of these sites is a daunting task. According to my research, the professionals keep a team of people just to optimize one site, like a forum. I am asking for help, you can reach me via any of these websites. I am a programmer and inventive entrepreneur. I am trying to recruit people who want to make money on the Internet through advertisement. I know how to do it and I have the means I just need help from a few motivated individuals. My plan is to sell my software while making money advertising on various sites. I need content and good ideas.

Find me, you wont regret it!