I'll give it a try. Thanks Pako.Originally posted by Pako
There is a trick to doing this. First you need to draw a square the size of your canvas. Next, select the new square and the object that you want centered on the canvas. Click on the alignment tool and select the vertical-center and the horizontal-center. You will now notice that your object is centered on the canvas. You can now delete your square as it is no longer needed.
Hope this helps......, it's a work-around, but it does work.
P.S., I will check at home where I have MX installed, at work here, I only have Flash 4.0, which doesn't not have a "Center to Canvas" type of option.
Originally posted by Pako
Maybe I'll take a look at it tonight! The last Flash tutorial I took was back in version 4.![]()
loadVariablesNum("G:\\Program Files\\Macromedia\\Flash
MX\\Tutorials\\FlashIntro\\assets\\copy.txt", 0);
Tutorial, no. I done all the lessons in Flash MX though if that's what you mean.Originally posted by milefile
Eddy did you ever go through the tutorial in Flash MX? The red car ad? I'm doing it now and am totally stuck on one part, the loadVariable part. If you've done it or think you could help let me know please. You too Pako. It's the same question I made a seperate thread about a while back. Now I'm back to it and still stuck.
Originally posted by Pako
An update on this....
I tried it again this morning under a different method of uploading the copy.txt file. Before, I was using Dreamweaver to edit and upload the new copy.txt file. In using this method, the problem was as discribed with the edited text in the copy.txt not showing up unless I cleared my cache.
Well, I tried a new method of accessing the file through a standard FTP program (actually using Internet Explorers FTP) to access, edit, and re-upload the copy.txt file. When I did this, the change took effect upon reloading the page WITHOUT having to clear my cache.
Try the link above now, and see if you can see the change I made in the copy.txt file.
Originally posted by Pako
Here's an interesting article I just found:
http://www.macromedia.com/support/flash/ts/documents/loadvars_security.htm
Originally posted by milefile
Do you think that had anything to do with my problem? I'd think not because it did show an error.
Originally posted by Pako
Probably an IE thing for sure. From what it seems, IE doesn't recognize the newly uploaded copy.txt file as a "new" file, and therefore, loads the text from cache when the file is uploaded using Dreamweaver. IE, however, does recognize it as a "new" updated file when using an external FTP program to upload the file, and thus displays the updated text from the file. Which is quasi-acceptable.
Hope that all makes sence.....
Originally posted by Eddy
Ah, the red car tutorial. I had a look at that and gave it a go. The thing I can't do is getting the buttons to open up a webpage. The Dynamic Text was easy.