Grogler

my interests and experiences
RSS icon Email icon Home icon
  • test post

    Posted on October 17th, 2012 whodeee No comments

    test post content

  • Papervision – timeout period of 15 second

    Posted on January 7th, 2010 whodeee No comments

    papervision

    I am just starting to work with Papervision3D (http://papervision3d.org) in Flash.  It is alot of fun but very challenging as well.  One of the many errors that I have gotten and solved was:

    Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

    I got this error when I was trying to load a larger .dae file into flash.

    After a bit of research I found someone that actually had the solution…

    Go to your “Publish Settings” and at the bottom, Change the “Script time limit:” from 15 second to 30 or 60, or whatever it takes to load your file.

    **NOTE:  increasing this setting and allowing for larger files to be loaded will decrease the performance of the swf.

  • HTML Emails

    Posted on October 14th, 2009 whodeee No comments

    I just had to create my first html email for an email blast, let me tell you it is a cluster.  The main issues I ran into were:

    1. Differences between Outlook and Outlook Express

    2. Padding, or lack there of…

    3. Setting the width of table rows and columns

    1. Differences between Outlook and Outlook Express
    I found that if I create an email  in OE and send it out to and Outlook account, then try to forward it from there, the padding that I had set would get removed and the width of tables would get changed.  This brought me into my next 2 issues that I encountered.

    2. Padding, or lack there of…
    Basically OE accepts padding formatting, but Outlook does not.  So the workaround for this is the old add a new empty row or column instead of padding.  This works great just as long as you remove the   and add a spacer.gif to the table and set it to the correct width of the new “padding” row or column.  This then brought me into the next issue I was encountering.

    3. Setting the width of table rows and columns
    I was giving my email a 1px border around it to make it look nice, so how I did this was:
    a. create a 1px row and column all the way around the email body
    b. set the bgcolor
    c. remove the   from the row or column
    d. and then add a 1×1 spacer.gif

    Seems all well and good, but Outlook didn’t like that I was setting the actual WIDTH of my row or column border to 1px.  It didn’t care that the HEIGHT was set to 1, but it did not like the WIDTH.  Once I removed the width value and just let the spacer.gif handle that, everything came into place.

  • Drobo Giveaway

    Posted on March 23rd, 2009 whodeee No comments

    This is amazing! The Drobo is the best thing since hard drive space and Scott Bourne from http://mydl.me/ is giving one away!! It would be great to be the lucky star that gets this amazing backup/storage solution.
    http://mydl.me/
    http://mydl.me/ for good measure

    You can follow him at http://twitter.com/scottbourne

  • flash seekbar indicator won’t go away

    Posted on February 12th, 2009 whodeee No comments

    PROBLEM: The Flash seekbar indicator is still on screen when you navigate to a different frame that doesn’t even have the seekBar

    I came across this issue when I wanted to add just the seekbar to the flv component and not have the entire skin. I will use my chapterTest flv from an earlier post for the sake of simplicity. Here is a screenshot of the interface with the flv and seekbar

    seekbar interface

    seekbar interface


    and here is a screenshot of the interface on another frame after the flv played
    seekbar with indicator

    seekbar with indicator


    NOTE:The indicator is still there in the lower right.

    SOLUTION:The very simple way around this problem is to actually put the seekBar inside a movieclip and reference it there – that’s it!

    So my actionscript originally looked like this:import mx.video.*;
    //flv playback component instance name=flv
    //seekBar component instance name=seeker
    flv.seekBar = seeker;
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    gotoAndPlay("end");
    };
    flv.addEventListener("complete", listenerObject);

    and changed to this:import mx.video.*;
    //flv playback component instance name=flv
    //seekBar component instance name=seeker
    //place seeker inside movieclip instance named seeker_mc
    flv.seekBar = seeker_mc.seeker;
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    gotoAndPlay("end");
    };
    flv.addEventListener("complete", listenerObject);

  • recession-aggresssion flash game

    Posted on February 12th, 2009 whodeee No comments

    Well, it is finally out… the wait is over…  the flash game that is latest craze – Recession-Aggression! Check it out here http://www.recession-aggression.com

    recession-aggression screen shot

    recession-aggression screen shot

    This is a first-person throwing game that I helped develop more or less to relieve a bit of the stress that has been coming with the recession and the downturn of the economy.

    This game is hilarious and really deserves a few plays to get good.  It has a score multiplier that can really get your score up there, and if anything it’s just fun to throw items at someone.  Speaking of which, it has the ability to be able to upload your own image of a villain to target – now that is fun!

    Check it out you won’t be disappointed, if anything you will get hooked!
    www.recession-aggression.com

  • Flash XML/PHP News Feed Editor

    Posted on February 9th, 2009 whodeee 2 comments

    Here is a simple news feed type reader with a flash shell that uses PHP to write/edit an XML file and saves the changes.

    (Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

    You can select “Add new feed” from the drop down to create a new feed, or you can select a feed and click the delete button to delete the selected feed.

    I can post the source if need be – just leave me a comment.

  • Flash text does not align

    Posted on October 28th, 2008 whodeee 2 comments

    I ran into another weird issue again in flash.  Here is what the text looks like in the flash authoring environment

    authoring text

    authoring text

    and here is what it looks like when it is published
    unaligned_text

    Very odd.  I took it upon myself to find the solution and it actually came pretty quick, and with further investigation I found the actual problem as well.

    The fix that I found to align the text back up with itself was to set the text anti-aliasing to be “anti-aliasing for animation” rather than “anti-aliasing for readability”.

    rotateantialiasingThe reason that the text was not aligning was because I had inadvertently set a -.3 degree rotation to the text box.  It wasn’t enough that it was noticable in flash authoring, but when flash rendered the text for readability, it became noticiable when I published the file.

    So my advice, when you have text alignment issues, first check that you haven’t added a rotation to it, and if you haven’t you can at least set the text to anti-aliasing for animation and that should fix it, otherwise set your rotation back to zero and you will be good to go.

  • AS3 – how to do eval() the right way

    Posted on June 27th, 2008 whodeee 15 comments

    In AS2 we used to be able to refer to an instance name of an object by coding:

    ///AS2.0\\\
    eval("my_mc"+i);

    This would allow you to create and/or refer to instance names using a string. I have heard quite a bit of negativity about eval() but it did come in handy at times. In AS2, you could also use:

    ///AS2.0\\\
    _root["my_mc"+i];

    which worked well for me when pushing items to an array, before AS3 was available.

    Now, the correct AS3 way to do it is either this:

    ///AS3.0\\\
    this["my_mc" + i];

    or:

    ///AS3.0\\\
    this.getChildByName("my_mc" + i);

    I would recommend the second way of doing it, because to me it just makes more sense.

  • Updated

    Posted on June 25th, 2008 whodeee No comments

    Just updated to the new version of WordPress – One thing I noticed is that I had a flash folder in the wp-admin folder that I had to recopy over after the upgrade.  I guess I should probably relocate that folder.  Otherwise it was an easy upgrade!

    Thanks wordpress!