I do certainly agree with you on the jpeg scaling for the most part.
That said, I also believe that too many situations exist where the conveniences far outweigh the quality-loss, to fully trash the idea.
As a matter of fact, I just finished a medium-scale project where scaling not only...
You can easily resize the clip the jpeg is loaded into. Keep in mind, you must wait until the jpeg is finished loading before adjusting. One way to do that is to use the MovieClipLoader class which is available with Flash 2004.
var mcl:MovieClipLoader = new MovieClipLoader();
var...
Given that button1 and button2 have the same parent,
button2.onRollOver = function() {
this._parent.button1._visible = false;
}
button2.onRollOut = function() {
this._parent.button1._visible = true;
}
Take a look at the XMLSocket class. There are some constraints required on the server-side, but after tackling those, this seems to be a viable solution to your problem.
As far as I've researched, even the authoring environment of the latest flash (mx 2004) does not allow you to distort any symbol (movieclip, textfield, button, graphic).
Distortion is allowed only on non-symbol elements such as raw, ungrouped graphics.
It is possible to skew anything during...
Thanks for answering by the way.
I have a complex animation that involves multiple clips and masks, and the math involved in calculating the positioning would be greatly simplified if I had control of the registration points. Some of the clips load jpegs, so I have even less than the normal...
there are 3 errors in your code in context:
// Problem: declaring while incrementing and not when instantiating to value 0
shake = 0;
// Solution:
var shake = 0;
// Problem: operators are reversed
var shake = +1;
// Solution:
shake++; // (or shake += 1);
// Problem: using assignment and...
Anyone know of a good source that shows a good solution to these errors:?
"The class <classname> could not be loaded...",
"The class <classname> conflicts with the previously loaded class <classname>..."
I'm having a heck of a time trying to implement some design patterns, like Observer and...
One common solution to the resolution issue is centering the content, so while small resolutions don't have to right- scroll, larger resolutions see the site nicely in the middle.
As far as those buttons are concerned, to compensate for that, I usually just make movieclips with button...
I would use the hittest method to test if any of the balls have collided. I believe you'll need to place the collision testing code in the parent timeline, since the tests are made BETWEEN movieclips...for instance testing collision between ballA_mc and ballB_mc might look like this:
// main...
One solution would be to have the bouncing balls collide, perhaps. This prevents any link overlap. And the user is not put in the dark on how to link.
There are two possible problems with changing how the links work.
1) Modifying linking behavior stupefies and confuses the untrained user...
Just for kicks, i built an application that uses DataSets to run on my Pocket PC. I was told that DataSets weren't supported by the .NETcf, but my application runs fine...Did they patch that, or am i fooling myself?
Mike
I am using .NET 2003 and the c# standalone language to develop a pocket PC application and I make calls to a middleware server through webservices made from the same language. My question is simple...How do I pass arrays of Objects to and from the webservice?
Mike
Lost and loving it...
I actually found the answer to the problem...With dynamic and input fields, the font outlines are not automatically embedded into the swf file, due to the dynamic nature of these components. So, masking is not possible, according to Macromedia...All i had to do was embed the font, and voila...
Is there a way to mask dynamic text fields?
I made 2 movieclips on 2 different layers, the lower clip containing a dynamic text field. I attempted both design-time masking with layers as well as run-time masking with the setMask() method, but the dynamic text field still bleeds through..
Mike...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.