Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. exit12

    Small Program Help

    Hi all I'm struggling with a simple program I wrote to calculate perimeters of squares and rectangles. (yeah I know... but I'm just starting out with practising functions). Once the user has entered an option and found out their perimeter, I can get the menu showing again, but when the select...
  2. exit12

    Socket Error

    Hi, I installed python 2.4 on win xp and have been getting intermittent errors when trying to start it or run my code. The error messsage is Sockt Error:Connection refused (Idle subprocess error). Another window then says it may be a firewall blocking the connection. I have disabled my...
  3. exit12

    Newbie (Simple Program help)

    Thanks for the quick reply! Much appreciated. I have this so far... number = 50 guess = 0 shots = 0 while guess != number and shots < 4: guess = input("Guess a Number ") if guess > number: shots=shots +1 print "Too High" elif guess < number...
  4. exit12

    Newbie (Simple Program help)

    Hi all I'm new to Python and working through some tutorials from my books. I'm trying to write a simple program which the user has to guess a number, and it will say if they are to high or to low. I would like the program to stop after the user has had say 4 guesses and not allow them to guess...
  5. exit12

    Using the If statement in actionscript

    Hey thanks that worked a treat. Could you explain what the line trace("pleas......."); does?, also how would I display a message within a blank text box on the stage? saying something like...Please fill out all details. etc.. Thanks again
  6. exit12

    Using the If statement in actionscript

    Hi I have a button in my movie that when pressed submits 3 pieces of data, name, email and a message. I would like to be able to check whether the user has actually entered anything and give an error message in a dynamic text box if they have left either input field blank. Below is the action I...
  7. exit12

    Loading Data from Mysql upon movie load

    Hey pixl8r Did a search on those two and seems this is what I need. I've read through few examples but still unsure as where and how I place them in my movie.. any pointers much appreciated, I'd also like to understand how these work if anyone can explain it in a simple easy to understand...
  8. exit12

    Loading Data from Mysql upon movie load

    Hi, Thanks alot. That worked perfectly! How would I enable it to refresh and reload itself once a user submits there details to the shoutbox? is this possible? This is the actions I have on the add button so far addButton.onRelease = function() { myData = new LoadVars(); myData.name =...
  9. exit12

    Loading Data from Mysql upon movie load

    Hi, I'm slowly getting my site together and have a button which when pressed displays, messages etc.. from a mysql database. I want to know how to get this info to load automatically when the actual flash movie loads, so I don't have to push my refresh/display. Heres the code I have for my...
  10. exit12

    Flash / PHP Shoutbox

    Thanks Bill. I think I'll have it tonight sussed tonight! :) This is the part in the loader.php script that is puzzling me, well some of it. $r_string ='n='.mysql_num_rows ($qr); $i=0 while ($row = mysql_fetch_assoc ($qr)) { while (list ($key, $val) = each ($row)){ $r_string .='&' . $key .$i...
  11. exit12

    Menu within Movieclip

    Hi thanks for the reply. Tried it but still won't work because if the invisible button is on the top layer, I can't use my normal buttons as they are covered by the invisible layer, so I cant press them. I've tried moving the buttons layer, but then my initial problem comes back...
  12. exit12

    Menu within Movieclip

    Hi, This question may not be difficult for some but I'm just learning. I have a button that when pushed, plays a movie clip which is supposed to act as a navigation menu. This works fine, and within that movie clip I have an invisible button, which on a roll out, plays a certain frame and the...
  13. exit12

    Flash / PHP Shoutbox

    Sorry, my mistake. I added the swf inseatd of the .fla. This should have the .fla http://www.mutepunk.co.uk/test/shout1.zip I've tried resizing the box, still the same. I've been reading through some tutorials etc.., and it says that to output my variables in Flash, they have to be converted to...
  14. exit12

    Flash / PHP Shoutbox

    Bill Thanks a lot for the info. I've managed to get my data into my database, and display it when i click my "refresh button", but I have a problem somewhere as it's not displaying as it should in my messages box. The font seems to be huge even though it's set at only size 10, also the name is...
  15. exit12

    Flash / PHP Shoutbox

    Hi thanks for the reply, I was thinking about going along the mysql route....I'm going to be hosting this on my home server. Is there advantages/disadvantages between the text/mysql routes? what would the basic as look like for my submit button? Thanks
  16. exit12

    Flash / PHP Shoutbox

    Hi all I'm trying to create a simple Flash shoutbox. It basically has three input boxes (with their variable names....."name,email and msg"). Once the user fills in these details, the variables will sent to a php script (via a submit button). My aim is to get the php script to output these...
  17. exit12

    Layers using &lt;div&gt;

    Hi Thanks for the prompt reply. How do I set this? through css or directly in the HTML? also, Im using Dreamweaver and when I position the layer in design view, it ends up in a different position when I preview in my browser..? Ivew searched online with regards to this topic but can;t find an...
  18. exit12

    Layers using &lt;div&gt;

    Hi Can someone explain how I get my layers to reposition themselves if a window is resized? I have a layer on my site that I am using to position a shoutbox in a specific are of my site. If I resize the window then the layer stays where it is and ends up out of place. I dont have a url as its...
  19. exit12

    Graphic Quality when moving Frame

    I don't believe it! Thank You soo much. Could you tell me why I need this line only when I move from frame 1? Thanks again oldnewbie
  20. exit12

    Graphic Quality when moving Frame

    Hi Someone please explain that why a graphic will look poor when all i've done is move it to a different frame? If I keep the graphic on frame 1 it looks fine when I publish the movie. If I put it on say frame 2 and publish the graphic is very poor quality. Please help as this is very...

Part and Inventory Search

Back
Top