Search:
Type: Posts; User: erlenmeyer71
Search:
Search took 0.79 seconds.
-
The simple answer is...
set the height and width parameters of your HTML object and embed tags to 100%
-
That was a good catch, but it didn't make a difference. I put name and id tags for object and embed because I can never remember which uses which, but that didn't fix it.
I've updated the code. ...
-
It sure would be nice, but I don't think so. However, it's not hard:
function formatCurrency(n) {
n = Math.round(n*100)/100; // round to two decimal places
nCurr= "$"+n; ...
-
1. Depends on how you're serving the web site. Different servers support different technologies, so that's going to be an important part of your decision. You will need to use some kind of...
-
Put all the movie names in an array:
allMovies = new Array();
allMovies.push("movie1.swf");
allMovies.push("movie2.swf");
allMovies.push("movie3.swf");
...
Then choose a random number...
-
The first two are easy. Just make sure your textfile is in this format:
vblName1=value1&vblName2=value2&vblName3=value3...
Then in flash, this.loadVariables("fileName.txt");
All the...
-
This should be very simple, yet I can't get it to work at all.
I've made myself a little test page here:
http://vdw.ece.wisc.edu/deleteme.html
It works great in IE, not in Netscape (I'm...
-
The code is painfully simple.
When published as a Flash 5 .swf, this works:
getURL("Resources/Paper.doc","_blank");
It causes IE to prompt for a download, and everything's fine.
When...
-
I have had a site up for some time, where a flash file has a getURL() action to .doc files, .pdf files, etc. I was compiling it as Flash 5 .swf for maximum compatibility.
Recently I added some...
-
Oh, you actually want your movie to grow as the text grows. Hmm, those parameters are set outside of the flash movie, in the Object/Embed tags in your HTML. So I would think that, if you want to do...
-
For audio clips there is Sound.duration and Sound.position. MX 2004 does not list these properties for the video object. Hmmm. You should try them anyway... who knows, maybe they are undocumented....
-
Flash MX textfields come with an option to "autosize".
So if you have an autosizing textfield inside a movie clip, and that text field grows as you add text to it, the movieclip's _height value...
-
Oh, I get your question now. Yes, using on(press) on the button is fine, too. The way Flash is going, people don't like to put code on buttons anymore... sometimes they can't remember where they...
-
Who's telling you the way you "should" do it?
This way is perfectly fine. There are other ways to do it if you want your program to be more flexible, like...
myButton.onPress = createTF;
...
-
The firstFloor movieclip doesn't have to have anything but a name.
However, all the objects you want to attach to it must be "exported" in the library. Go to the library, right-click each object...
-
It works fine.
Try this:
myButton.onPress = function() {
textCount++;
_root.createTextField("field"+textCount+"_txt", textCount, 50, 25, 300, 75);
_root["field"+textCount+"_txt"].text =...
-
myButton.onPress = function() {
textCount++;
targetMC.createTextField("field"+textCount+"_txt", textCount, 50, 25, 300, 75);
}
Every time you push the button, you will create a new text...
-
Couple things you could do:
one, instead of letting each floor be a frame, let each floor be a movieclip, and when going from floor to floor just make the movies visible/invisible. Then you can...
-
Can't you just use:
destinationMC.loadMovie("pic.jpg");
??
If you're talking about loading text data, which has information on what picture you should load...
Let's say your text file...
-
destinationMC.loadVariables("data.txt");
-
Sure, you could have two getURLs. Or you can have flash loadMovie the new movie. Or, if there's only one movie, you might as well build it into the menu movie, so that it can be loading before...
-
I'm going to assume this is NOT PHP code, even though your post says it is.
First question, why are you using a mix of ne and != ?? Get rid of the deprecated operator ne and use != everywhere.
...
-
If your flash movie is playing in a browser, then no. You'll have to send information to some server side script in Perl or ASP or PHP or ColdFusion or whatever.
If you're running a standalone...
-
just a name I made up. Substitute the name of the movieclip you're loading into.
-
Has anyone had trouble sharing fonts? I seem to be doing all the right steps, I have the font* symbol in my list of fonts, yet my bandwidth profiler doesn't show any reduction in the file size...
|
Click Here to Expand Forum to Full Width
|