Jump to content

Snubby

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by Snubby

  1. You can use the "width" and "height" (value can be pixels or percentage) attribute to resize your inline frame until the scrollbar dissapears. Please Let me know if this helps.
    <iframe src ="URL"width="100%" height="125"></iframe>

    Perfect! Much love.
  2. So, I'd have to make a form modify a .txt file, and then 'require' that file? I'll try it, thanks :) To justsomeguy, I've only worked with files, not databases. :)

  3. I'm not sure if I am a complete noob, or if this isn't PHP, but how can I permanently change a page without having to moderate the HTML from a form.For eg. I want to program a news system for the relaunch of my site, so I would have a hidden URL that I could have a form on, like, 'Title, Date, Information' and then when I submit it the page would from that point on include that information on the news page.I know how to submit things and use get and post, and I know how to open files, but I can't figure out how to do this from that knowledge. Help, please!

  4. I've seen it done, and it was awesome (the site is no longer up :)). I wish you good luck, you sound like a great programmer and I have faith in you. If you need any help with the Actionscript aspect of things, I may be some help, but not with PHP. Good luck!

  5. To import them you can go File > Import, and then they will go into your library (Crtl + L, Window > Library). When you export them, .mp3 is the best but you can use pretty much anything. I'd suggest MP3 or WAV.To align things in flash you really should use the Align panel, Window > Align. Just play around with it and you'll figure it out, it's invaluable once you get the hang of it :)

  6. You could try to use loadMovie (), like...

    this.createEmptyMovieClip ("my_button", 1);with (this.my_button){	loadMovie ("http://www.snubbyland.com/otherpics/logo.gif", this);	createEmptyMovieClip ("hit", 2);	hit.beginFill (0xFFFFFF, 0);	hit.lineTo (120, 0);	hit.lineTo (120, 80);	hit.lineTo (0, 80);	hit.endFill ();}

    Now you can refference the button with an onPress function and add the getURL or something. Good luck :)(heres the onPress function if you aren't farmiliar)

    hit.onPress = function () { /**/ }

  7. Hmm, perhaps I am misreading your question but from what I understand you want a flash file to send variables to a php file. Here's how I'd do it...1. Make a new LoadVars object to hold the info.

    var image_clicked:LoadVars = new LoadVars ();

    2. Then, when a certain part of the image is clicked I'd send the info to the property in the image_clicked property.

    on (press){	 _root.image_clicked.clicked = "button5";}

    That way, you can say image_clicked.clicked; Now, you'll want to send that to your php file, so let's do the heavy lifting (this is a modified code for the button code; the one listed above)...

    on (press){	 _root.image_clicked.clicked = "button5";	 _root.sendAndLoad ("reaction.php", _root.image_clicked, "post");}

    I'm a little shifty-eyed on the sendAndLoad function but it should work. If it doesn't, sorry.

×
×
  • Create New...