Hey!
I have a very complex vector symbol on the Stage - background_mc .
I have set background_mc.cacheAsBitmap = true.
This turns background to bitmap and makes Stage repaint fast.
Every frame the background light changes.
I use the following code to alter the light.
(new
Hey guys
I'm having a problem with using smoothing on my loaded bitmap images with
AS3 and I was wondering if you could help, please?
Here is my code:
[code]
private function sendImageLoadEvent(e:Event):void
{
var nCurImg:Number = _arImageArray.length;
Well you could take a look at marjnivessers (prob didnt spell that
right) ImageLoader. That class smooths a loaded image. But the one I
have is as2. Try googling ImageLoader and see if he has an as3
version. If anything, you could get the logistics from it and apply.
HTH
Karl
Sent from
could be good - thanks a lot Karl
On Wed, Jun 3, 2009 at 12:37 PM, Karl DeSaulniers k...@designdrumm.comwrote:
Well you could take a look at marjnivessers (prob didnt spell that right)
ImageLoader. That class smooths a loaded image. But the one I have is as2.
Try googling ImageLoader and see
Hi Matt I did as you sent me, but something wrong happened this is
the warning flash gave me:
1120: Access of undefined property contactWindow.
and so on with the other parts of the code , code is:
function removerChild():void{
if(stage.contains(contactWindow)){
function click(e:MouseEvent):void{
var newWindow:AboutUsWindow = new AboutUsWindow():
//??
addChild(newWindow)
}
Gustavo Duenas wrote:
Hi Matt I did as you sent me, but something wrong happened this is the
warning flash gave me:
1120: Access of undefined property contactWindow.
and so on with
Hello fellowcoders,
I've been experiencing some problems with an application I've made with AS3.
It consists of an image gallery which loads images dynamically from an XML
file.
Maybe you'd want to skip my explanations and go directly to the problem in
the bottom of this message.
Since it's my
Hi Glen, the problem is not the creation of the window(which is movie
clip exported to actionscript), is to removing then in a function.
Regards,
Gustavo
On Jun 3, 2009, at 11:04 AM, Glen Pike wrote:
function click(e:MouseEvent):void{var newWindow:AboutUsWindow = new
Hi,
Sorry, I am a little confused - I may have looked at your question wrong...
Your error says
1120: Access of undefined property contactWindow
etc.
Where is contactWindow created - if you have no variable called
contactWindow in the scope of your removerChild function, it will
complain -
I would love to see what's going on, as it sounds crazy; yet, your site
isn't coming up for me.
Isaac Alves wrote:
Hello fellowcoders,
I've been experiencing some problems with an application I've made with AS3.
It consists of an image gallery which loads images dynamically from an XML
file.
Hi Glen, I did as you said and this is the result of the first
part:clip is [object MainTimeline] name root1 how can I rename the
object?True is I don't know how.
I tried using :
var newWindow:AboutUsWindow = new AboutUsWindow();
newWindow.name = newWindow;
but it returns nothing, I only
Without looking through your code:
* For alignment of the thumbnail container, you could be waiting
until after everything has loaded inside before asking it to
change it's y position.
* For the thumbs not loading properly, that could be caused by your
load order... Your
My guess is that if it's iterating through a loop to load, I would
imagine that the loader objects are being lost in the loop by getting
de-referenced and are getting garbage collected. If this is what's
happening, you would probably have to put your loader objects in a stack
or array so they
Hello!
First time on here, so thanks for any advice.
I'm pulling in a preloader.swf file into an html file that sits at root
swf/preloader.swf. All my swf's are located in a swf directory that gets
preloaded into this preloader.swf - simple enough. I'd like to try to keep
my server as clean as
Hi Maurice,
Check out the base attribute for the object / embed tag (you can also
define it with SwfObject and similar scripts for embedding swfs):
base - . or *[base directory]* or *[URL]*. Specifies the base directory or
URL used to resolve all relative path statements in the Flash Player
Hi Maurice,
How about sending it in as a URL variable when you load preloader.swf into
the html page?
In the HTML:
object .
param name=movie value=swf/preloader.swf?path=swf/ /
...
embed src=swf/preloader.swf?path=swf/ .../
/object
Then in preloader.swf:
var
I have several buttons which create some windows based on a movie
clip that exports for actioncript.
Everything is ok, with the creation, but when it comes to close them
( I have a button in the window itself that
can remove the child), I will trying to do it using actionscript.
if
Thanks for the replies. I'll be looking into both.
kind of been playing around with this as well:
str = _url;
slash = str.lastIndexOf(/);
str = str.substring(slash+1, str.length);
dot = str.lastIndexOf(.);
filename = str.substring(0, dot);
directoryLocation = _url.split(filename + .swf).join();
Here's another version:
var str:String = http://www.yourDomain.com/dir1/dir2/dir3/preloader.swf;;
var intFirst:int = str.indexOf(.com/) +5;
var intLast:int = str.lastIndexOf(/)+1;
var intPathLen:int = intLast - intFirst;
//
var serverName:String = str.substr( 0, intFirst );
var
ah sumly cool. Thanks for showing off. I love it.
On Wed, Jun 3, 2009 at 3:52 PM, Robert Leisle b...@headsprout.com wrote:
Here's another version:
var str:String = http://www.yourDomain.com/dir1/dir2/dir3/preloader.swf;;
var intFirst:int = str.indexOf(.com/) +5;
var intLast:int =
20 matches
Mail list logo