User Profile

Collapse

Profile Sidebar

Collapse
Head In A Pan
Head In A Pan
Last Activity: Jun 17 '07, 04:56 AM
Joined: Mar 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Update vars sent to Flash WITHOUT 'GET' or loadvars?

    OK - could somebody simply tell me if this is even possible -


    My main.swf is embedded in my index.html page.

    It loads external swfs in ONLY WHEN a HTML button, sitting outside my main.swf but ON index.html is clicked - posting it's variable/value to my swf?

    So what I am saying is - Flash will not be functioned to do it's loadVars...
    See more | Go to post

    Leave a comment:


  • Head In A Pan
    started a topic HTML button/link to POST vars to Flash?

    HTML button/link to POST vars to Flash?

    Hello!

    Here is something I assume is relatively simple but have never bothered to find out -
    I'm not finding the answer anywhere!

    All I am trying to do is this:

    Have a thumbnail image acting as a button - sitting on my HTML page.

    When the user clicks it, the button uses the POST method to send a specified variable.

    I think I can handle the variable from there using...
    See more | Go to post

  • Thanks man...

    I'm at my wit's end so this may be a welcome diversion with hopefully some new knowledge gained by the end.

    HIAP
    See more | Go to post

    Leave a comment:


  • Basic XML & Flash issue with FLV player. Help?!

    I simply cannot get anything into flash via XML...
    Anyone see anything wrong here?

    Flash AS
    Code:
    var vList:XML = new XML();
    vList.ignoreWhite = true;
    vList.load('oneVideo.xml');
    
    vList.onLoad = function(){    
    ns.play(vlist.firstChild.attributes.videos);
    
    };
    And XML...
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    ...
    See more | Go to post

  • Thanks mate -
    I'll attempt to fit that function into my code -

    I'm just not so clued in with js. I kind of get the concepts (as my actionscripting is coming along nicely... better anyway)
    But I'm not absolutely sure how to make this function slot into my (borrowed) code. ;)...
    See more | Go to post

    Leave a comment:


  • Head In A Pan
    started a topic Detect if IE7 & work around it? Help!

    Detect if IE7 & work around it? Help!

    I'm trying to adapt an old piece of javascript to allow it to work with IE7 (which it wont... yet)

    At the start of my js there is a line of code:

    var ns = (navigator.appN ame.indexOf("Ne tscape") != -1);
    which detects if netscape & makes some sort of rule (I am new at this - bear with me)

    And in my searches for a IE7 equivalent I have found:
    ie7=(this.ver.i ndexOf("MSIE 7")>-1...
    See more | Go to post

  • Oops! Still buggered but have changed clientX etc to clientWidth etc
    so now it's:

    Code:
    <!--Here is where Part the XY Script starts-->
    <div id="divBottomLeft"  style="position:absolute">
    <form name=ee><input name=sd type=text style="color: white; background-color: #706d66" size="8"> 
    </input>
    </form>
    
    <!--
    ...
    See more | Go to post

    Leave a comment:


  • clientX & clientY with IE7 - I can't go sideways!! Help?

    Hello -
    Yes - I know floating/persistent layers can be yucky - but for this project it is only tiny and contains some xy mouse coordinates for a map...
    buy anyway - here's my problem:

    I have a javascript that keeps the layer persistent for the HEIGHT, but not WIDTH in IE7.
    Of course it works great in the other browsers... Can anyone see what is wrong with the script? Any help would be so good - I have tried everything...
    See more | Go to post

  • Hello again...
    I don't know what I've done now... Nothing is working. ;(
    Not even getting any email at all anymore.

    i may have set you off on the wrong track from the start - by trying to recycle the old codes from the site I'm upgrading.

    Here's the specs (if you can still be bothered)
    I am so sorry if I've made this more difficult!!

    I'll be back soon to see how you go. ;)
    Thanks...
    See more | Go to post

    Leave a comment:


  • Hey?!
    C'mon - surely someone else out there has encountered something similar with IE7... or is everyone here an Explorer secret agent/cult member? ;P

    Please?
    See more | Go to post

    Leave a comment:


  • Hang on!
    The data is now going through to the database with the random password!
    But we're still getting that horrible message...

    I thought this code was meant to wait until it was activated before posting the data.
    Now I'm EXTRA confused! ;-/
    See more | Go to post

    Leave a comment:


  • Hmmm.
    Weird -
    I tried that before but tried again with your most recent post.
    Still that same horrible error!

    Warning: mysql_num_rows( ): supplied argument is not a valid MySQL result resource in /home/woeru/public_html/db_test/activate.php on line 30
    Your application could not be activated!

    At least we're getting a random number in the link string now...
    See more | Go to post

    Leave a comment:


  • Hey mate - how's it going? ;)

    Thanks for the response -
    Tried that code and mail is going through...

    But when I click on the activation link it gives me this error:


    Warning: mysql_num_rows( ): supplied argument is not a valid MySQL result resource in /home/woeru/public_html/db_test/activate.php on line 30
    Your application could not be activated!


    And I notice...
    See more | Go to post

    Leave a comment:


  • IE7 conflicting with JavaScript that works on EVERY other browser! Help!

    Hello!

    My JavaScripting is at novice level - and after completing a tutorial on a 'floating layer' I was proud that I got it working on Firefox, Safari, Camino & even IE5 for mac!!! But not IE7!
    The 'floating layer' does not float in IE7... it just sits up at the top of the screen - stuck in one place!! Explorer - why do you mock us?!!! ;(

    I have tried everything - but I am at a loss.
    I am thinking...
    See more | Go to post

  • Head In A Pan
    started a topic Random password for final validation! Help!
    in PHP

    Random password for final validation! Help!

    Hello again... so soon too.

    I had great success (nor a novice) yesterday getting my flash form & PHP to populate my database...

    Now I've been asked to generate a password & then send a validation email!
    Perhaps simple for some - impossible for me!

    I've added some code which has basically stopped the data being set to my database at all. ;(

    Can anyone see anything wrong with...
    See more | Go to post

  • Wooohoo!!
    It worked! Thank you so much!!
    So it was just 1 missing variable?
    I didn't realize it was so touchy!
    All of that 3am work must have made me a little complacent & careless with my variables!

    So now I know it works I'm wondering if I can put my little thankyou screen in again? It wasn't calling for a movie but merely telling flash to move forward to the frame named 'Thankyou'.

    ...
    See more | Go to post

    Leave a comment:


  • Hello! Thanks for getting back on board... Much appreciated!

    OK - my files are updated:
    http://www.scimple.com .au/Download/db.zip

    And the POST actionscript has changed - I reverted back to a previous script used for my email but it works exactly the same:

    var dataOut is now var email
    var dataIn is now var buyForm

    as code:
    email.sendAndLo ad("buyForm_db. php",...
    See more | Go to post

    Leave a comment:


  • Hello again -
    I have posted the files for you at:
    http://www.scimple.com .au/Download/db.zip

    See what you can make of it -
    As this is my first attempt at databases it will be interesting to see where I am going wrong -
    I start off slowly but once I have some knowledge I am fine from there.
    I am teaching myself all of this stuff from home so have no colleagues on hand to help me... apart from cool people...
    See more | Go to post

    Leave a comment:


  • Hey!! Thanks for being so patient -
    I am meant to be a flash designer but somehow I am coding in languages I never contemplated! :)

    Where would I put that ECHO string you just posted?
    Does it go somewhere into phpmyadmin or as a part of one of my php codes?

    And how do I get a DB schema to send to you?

    And how do I attach/send you my files?

    Sorry for all the questions - I've...
    See more | Go to post

    Leave a comment:


  • Still no joy -

    In my 'SQL' section on phpmyadmin I have what I think is a query
    SELECT * FROM `Customers` WHERE 1

    This seems pretty standard - I am going from the other databases for this site and they all have the same.

    I have tried putting in other code and it hates it - giving me a syntax.
    I am at a complete loss.

    Could it be the WHERE 1? Should I tell it to look somewhere...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...