prosoxi.com | Tag Archive | Flash

Tag Archive | "Flash"

Flash full screen browser scrollbars


As 3pepe3 stated you can use the CSS overflow property in your css:

overflow:visible
overflow:hidden
overflow:scroll
overflow:auto

http://www.w3schools.com/css/pr_pos_overflow.asp

Here are some other solutions that your probably talking about however when it comes to flash sites:

1.) Stop making Flash scrollbars
http://hossgifford.com/resizer/
Download link.

2.) swfforcesize – Size limiting for full window flash
http://blog.pixelbreaker.com/flash/swfforcesize/

3.) Fullscreen Flash With Browser Scrollbars
http://blog.hy-brid.com/flash/20/ful…ml-scrollbars/

4.) Elastic Flash with scrollbars
http://f6design.com/journal/2006/12/…th-scrollbars/

5.) FitFlash/swffit – Smart Flash Resize Script
http://fitflash.millermedeiros.com/
FitFlash is now swffit
http://swffit.millermedeiros.com/

6.) swfIN is a javascript toolkit for flash developers (actually like SWFobject)
http://code.google.com/p/swfin/

Posted in FlashComments (0)

Flash 8 Active Blur – Blur Behind a Transparent Object – Source Available


Flash 8 Active Blur – Blur Behind a Transparent Object – Source Available


**UPDATE: New Version here.
Read the full story

Posted in FlashComments (0)

You Tube Flash AS3 / AS2 Data & Player API


Recently I have been working on something involving the use of video content from You Tube. With the lack of a good API out there I created my own. Below is a simple example of this working with sample code to download further below.

Read the full story

Posted in FlashComments (0)

Control Flash from Javascript


Receiving data from a Flash movie:
- Enter some text in the Flash movie’s Data field, then press Receive Data.  The data from the Flash movie is then transferred to the html form. Read the full story

Posted in Flash, JavaScript - AjaxComments (0)

Flash AS2 XML to Array


var xmlDoc:XML = new XML();
System.useCodepage = true;
xmlDoc.ignoreWhite = true;

xmlDoc.onLoad = function(ok:Boolean) {
if (ok) {
doMenu(this);
} else {
trace(“XML did not load”);
}
};

xmlDoc.load(“myImages.xml”);

function doMenu(xml:XML) {
var num:Number = xml.firstChild.childNodes.length;
pics = new Array();
for (var i = 0; i < num; i++) {
pics[i] = xml.firstChild.childNodes[i].attributes.image;
}
trace(pics);
}

Read the full story

Posted in FlashComments (2)

Tweener and “256 levels of recursion were exceeded in one action list”


Tweeners’ great, but I came across one little problem the other day: when I tried to remove an externally loaded swf from the stage while it was mid-animation, Tweener could bring the whole Flash movie to a halt with the error ‘256 levels of recursion were exceeded in one action list’.

Obviously that’s bad – because this particular error completely stops the flash player with no warning to the end user.  And the fact that external content – which I have no control over – can cause this is doubly bad.

All is not lost however, because Tweener has a useful little function:Tweener.removeAllTweens(); ok, so it can interfere with everything on your flash movie as well, but at least it’s stopping the recursion errors.

So, if you try to remove a loaded swf file with .removeMovieClip(), you might find that it’s using Tweener.  And if so, call Tweener.removeAllTweens() before you call .removeMovieClip() and you’ll be fine.  Phew! case closed.

http://hosted.zeh.com.br/tweener/docs/en-us/

Resources;

thanks http://www.psyked.co.uk/actionscript/tweener-and-256-levels-of-recursion-were-exceeded-in-one-action-list.htm

Posted in FlashComments (0)

Preloading External Images in Flash Using the MovieClipLoader Class


Preloading External Images in Flash Using the MovieClipLoader Class

The MovieClipLoader class is an ActionScript tool for loading external content such as images and Flash movies into another Flash movie. Other ways for doing this same thing is the Loader Component and the old .loadMovie() method. The MovieClipLoader class is better than those other two methods because of its flexibility and advanced options for tracking the progress of your downloaded objects. This tutorial will teach you the basics on how to use the MovieClipLoader class to load an external image in Flash at run time. You are assumed to have a beginner knowledge of ActionScript in order to follow this tutorial. Read the full story

Posted in FlashComments (0)

AS2 tween – tweener how to intercept when the tween is finished


Sometimes, it is needed to know when the tween animation that we have applied to a MovieClip is finished.
This way, we can call other functions and carry out other codes in our Flash project.
To intercept the event that is initiated by Tweener at the end of the animation, we need to pass a parameter named onComplete to the method addTween the following way:

Code:
import caurina.transitions.Tweener;

Tweener.addTween(clip_mc,{x:500,time:1,transition:"easeOutBounce",onComplete:ItsDone});

Together with onComplete, I pass the name of the function that I want to be carried out at the end of the tween (in this case, I named it ItsDone).

Read the full story

Posted in FlashComments (0)

fscommand(“quit”) in AS3


function clickHandler(event:MouseEvent):void {
fscommand(“quit”);
}

Posted in FlashComments (0)

fscommand(“fullscreen”,”true”);” error AS3


import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;

Posted in FlashComments (0)

AS3 – stage.scaleMode


stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT

Read the full story

Posted in FlashComments (0)

Flash AS3 Typewriter Effect


1. Place a TextField on frame 1 and set the instance name to textbox
2. Enter the following code into frame 1 Read the full story

Posted in FlashComments (0)

Load External Sound AS3


var audio:Sound = new Sound();
var req:URLRequest = new URLRequest(“Buzz.mp3″);
audio.load(req);
audio.play();
var channel:SoundChannel= new SoundChannel();

var audio:Sound = new Sound();var req:URLRequest = new URLRequest(“sound.mp3″);

audio.load(req);audio.play();
var channel:SoundChannel= new SoundChannel();

Posted in FlashComments (0)

AS3 getURL();


rootlink.addEventListener(MouseEvent.MOUSE_DOWN, rootLinkFun);
function rootLinkFun(evt:MouseEvent):void{
var targetURL:URLRequest = new URLRequest(“http://www.prosoxi.gr”);
navigateToURL(targetURL,”_blank”);
}

Posted in FlashComments (0)

Actionscript 3 parent reference.


This is a very short line of Actionscript 3, but its one that I’ve had copied to Stickie on my Desktop forever, so in the interest of cleaning up some, I’ll post it here on the blog in the Code Tips category. I think I’ve memorized at least this much AS3 now too =) Read the full story

Posted in FlashComments (0)

Flash Arrays Tutorial


http://www.webwasp.co.uk/tutorials/b28-array/index.php

http://www.actionscript.org/resources/articles/89/2/Arrays-in-ActionScript/Page2.html

http://www.flashvalley.com/fv_tutorials/arrays/

Posted in FlashComments (0)

Domain Name Finder, Lookup, Whois

Domain Finder Tool by Truste.gr

read more for domains

Advertise

Sponsors

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting