Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








How Do I Use Open Source FLA Text?


Using the FLA's from Flashkit seems impossible. Can I open them in Flash to see how the movies work. All i get is text. Please help. Mac user

There seems to be an issue with Windows embedded objects must be deleted first?
[Edited by mojitomaker on 11-27-2001 at 10:34 AM]




FlashKit > Flash Help > Flash Newbies
Posted on: 11-27-2001, 09:49 AM


View Complete Forum Thread with Replies

Sponsored Links:

Text Fx Open Source
just had a simple question, you know the open source text fx you can download from here? well how do you add a second line to the .fla? i tryed to use just one line but it ran off the movie canvas? does anyone know the actionscipt to add more than one line? please respond, thanks

View Replies !    View Related
Open Source Bidirectional Input Text Class
I am currently building an educational flash application for students for at least 80 countries for a non-profitable org, and I will need to support Hebrew and Arabic, bidirectional languages.

I did some research and couldn’t find any component (commercial or non-commercial) that supports bidirectional input text, without some side effects. I am willing to pay if such class/component exists.

I am happy to build an open source one, but will probably need support from the flash developers that have some experience in RTL languages or people who speak those languages as a beta testers or improving the actual code.

Current issues with RTL languages in Flash are the following:


1.At some OS when the text is selected, the letters on the browser get jumbled.

http://www.quasimondo.com/archives/000217.php

2.The mouse pointer is sometimes wrongly positioned within the input text field and types the letters in a wrong place

Please let me know if there are some other issues.

I have few questions like?

3 How do I identify in UTF which char is Hebrew or Arabic?

Hebrew char code is between u05d0 - u05ea. I think so.



There is only one open source BIDI class that I am aware of

http://www.quasimondo.com/archives/bidi_textfield.as


I will post the first code for the class in this thread soon, so everyone can contribute.

View Replies !    View Related
Open Source FLA
Hello people,

can anybody help me get the link of the open source file that was used to create this file, I have seen it in FlashKit years back, maybe two years ago..
http://img.photobucket.com/albums/v3...AquaSpiral.swf

View Replies !    View Related
Open Source?
Hi everyone, I found a very cool navigation system on this site http://www.jenny-arch.ch and I wonder if one of you know if there is an opensource .fla file with a similar navigation system (navigate on a big jpeg background with X and Y position) so I can learn how it works.

thanks very much

View Replies !    View Related
To Go Open Source Or Not
Do you think that if a game developer wants some help, that it's a good idea to give the entire .FLA for all to see? I obviously have concerns (mainly rip-offs, although I think my game isn't too advanced to be worth it).

What do you think?

http://www.elevationdj.com/Diamonds.html

View Replies !    View Related
Open Source Fla For A Menu Like This .......
has anyone seen an open source menu for something like the following nav here........

http://www.blankandcables.com/

I have a client that wants it, i guess its a nifty bit 'o actionscript

thanks for any help in advance

View Replies !    View Related
Open Source Project
Hello,
I have looked into creating a real time interactive character chat. I don't have as much time as I would like to explore it, so maybe posting it here will get it further along. First, here is a rough demo of what I have in mind..

http://caveart.tv/virtualchat/avchattest.swf

I was exploring with the password page on differentiating users to attatch a character to, with little success.

Here is a version of it with it attatched to a basic PHP chat script. I used a basic version of this chat...
http://caveart.tv/fc/Chatcave.swf

to write the text to a file, but once again, how to set up multiple users for the character in the PHP chat demo below.........

http://caveart.tv/virtualchat/avatarchat.swf


It is basic in design for now, but the room could be improved graphically and linked to other rooms. Actually, the theory could go with any interactive online idea, e commerce shopping, games, multi user chats, prob more but I digress.
I have tried seperating users with the password idea and conditional if statements, ie.......

if (user="handle")
character.attatchmovie.handle

I gave up on that approach because even if you attatch the character movie, it still does not allow for interaction with other characters. So, I began exploring webservers. I looked into Moock.org's chat room, Flashnow online webserver, Flash Nexus, and Aquaserver from the Macromedia site. I believe this can be achieved with an XMLsocket() connection and it appears that Flash Nexus would be the easiest to accomplish it with. I, however, use Windows Melinnium OS and I can't seem to get it to work online. Anyway, that is actually down the road a bit. The problem that seems to be the largest is scripting an array. Someone good at arrays must have an idea how to go about it better, but I am thinking it will have to be an array set up to calculate character position, other character positions, character features, users mouse position. All Globally. Prob alot more, but I think that is the right approach.

The other thing I was testing was character development if I could ever get to the point of multi user funtionality. I found this here at FK, seems like it would work great for creating new characters as well as animating them.......

http://caveart.tv/virtualchat/animator.swf

I know what is needed is someone with alot of array experience. Would anyone be interested in exploring this?

Regards
~GD~

View Replies !    View Related
Finding Open Source Like...........
does anyone here know where i can find an open source FLA that is a website that has a style like this site? http://www.billythekidd.com ?? please, i wanna know where i can find a template that looks like that, i love that style and i would love to use it on my site too.

PLEASE CONTACT ASAP

dave

View Replies !    View Related
Finding Open Source Like...........
does anyone here know where i can find an open source FLA that is a website that has a style like this site? http://www.billythekidd.com ?? please, i wanna know where i can find a template that looks like that, i love that style and i would love to use it on my site too.

PLEASE CONTACT ASAP

dave

View Replies !    View Related
Looking For A Open Source Preloader
Looking for a open source preloader for FLASH MX that shows the percentage loaded and at 100% plays rest of movie.

Thanks

-Line

View Replies !    View Related
Director Open Source
Hi..
where can I find "Director open Source!!" like fla ...
for games
Thanks

View Replies !    View Related
Open Source Jukebox...
Hi,
Does anyone know of a good open source jukebox for flash sites?
I need it to appear when a button is clicked,
to play songs without allowing users to download them
and to run along independent of where in the site the user is.

Any ideas gratefully received.
Cheers
Champignon.
(www.championkickboxer.co.uk)

View Replies !    View Related
[F8] Need To Convert Open Source
Hello, I'm trying to achieve a cool trail effect when you drag a little icon. I found this open source on FK but I'm not able to get it to work once converted to F8. Can anyone help me?

Oh, also, the following example is set to follow the mouse, how can I manipulate the code so it only trails once an icon_MC is being dragged, and it trails BEHIND the icon's layer itself.

Thanks!

http://www.liquid-visual.com/flashki...SwirlTrail.fla

http://www.liquid-visual.com/flashki...SwirlTrail.swf

View Replies !    View Related
Codecs, VP6 Vs. VP7 And Going Open Source
So I have this project... it's fairly big. We're going to be providing all original content starting with a sketch show then going onto cartoons and eventually full-length television shows and feature films. I'm sure I'll be a part of many a discussion here for a while as I'm fairly new to this.

All of which will be available to stream from our website (for free)

I looked into On2 technologies and they thought that their Flix engine was the best suit for us. We noticed that it uses VP6, however their VP7 codec is available through their truemotion products and that sparked some interest. What is the main difference between the two? I've got their answer but it wasn't very thorough. We really want to provide high quality content that scales depending on our users bandwidth, much like movenetworks and what they do for all the big networks.

Our main goal is to provide a high quality video at low bandwidth costs. We were also looking into Geovid but they are reluctant to respond to inquiries and there aren't very many reviews of their products online.

Any suggestions?

View Replies !    View Related
Help I Can't Open My .fla Source File.
Hi,

For some reason i cannot open my source file! Gulp!
Can someone please try and open it for me?
On my PC or Mac Flash 8 just freezes.........

The file can be downloaded from:

http://www.gqtestsite.co.uk/Andy/warley_plans_final.zip

Andy

View Replies !    View Related
Flash Open Source
HI - I'm looking for flash-open source websites that show physics, anything similar to levitated.net.

Anyone know of any other good resources along these lines? thanks..

View Replies !    View Related
Interested In Open Source?
Howdy to all you Flash developers.

I am here to ask if anyone would be interested in assisting us in furthering the development of our next generation XML driven Flash Audio/Video player for the Gallery Open Source project. Our basic player is currently distributed with the Gallery v2.2.5+ application touting over 300,000 installs.

We've been working hard over the last couple of years on our player while doing a thousand other things with our other various OS initiatives. Things are getting kinda busy and we could use a little help and direction with a conversion from AS2 to AS3.

We are seeking to introduce the new design and functionality for our next gen player this September. It's something we could handle ourselves, but with all the other advances going on with Gallery and Geeklog (another OS product we support) we could use a little help. And I am sure we'll probably learn quite a bit from each other.

I thought i would ask here to see if one or some of you would like to contribute to the transition to AS3 for the player. If you are interested, feel free to contact us in our forums here.

Here is a sneak peek at the new designs for the upcoming player.

And here is the current AS2 version of the player.

Thanks for reading, and I hope to meet some of you soon.

P.S Why my username says Adam Wolf is a mystery to me. Since he was a previous co-worker at a former job I had. I have changed my username to FlashMyWeb and yet it still says Adam Wolf. hmmm.

View Replies !    View Related
Webshop Open Source?
Hey People,
I want to know where I can find an open source webshop made in FlashMX.

I'm having a hard time making mine and I would like to see how others made it so I can see how it can be done

Does anyone here have that for me or knows where to get it?

View Replies !    View Related
Webshop Open Source
Hey People,
I want to know where I can find an open source webshop made in FlashMX.

I'm having a hard time making mine and I would like to see how others made it so I can see how it can be done

Does anyone here have that for me or knows where to get it?

View Replies !    View Related
Any Open Source Widgets Like This One?
Hi there,

We've been trying out a Flash widget on our side to serve up audio files for playback. It's on box.net and you can see it on the left side of the page here:

http://box.net/widget

It works great, but I'm not super high on having their widget on our side. I'm guessing this may not be super complicated to do (but I might be wrong). Are there open source widgets like this out there that I can modify? Is something like this hard to build?

Any ideas or suggestions are appreciated. Thanks!

Tom

View Replies !    View Related
Ituns Open Source
i found an ituns open source which i made a few adjustments to meat my design. one of the things was to make the front picture 500px width. and now there is a small jump just before the front picture stops. here is an example: http://www.tamisivan.com/temp/itunes...t/gallery.html
i tried to change all kinds of things in the code to solve this. origanaly the picture width was 200px and it worked fine. does anybody know what part of the code i should change?
here is the code:

Code:
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
var root:MovieClip = this;
var myMO:Object;
var myKO:Object;
var loadedAll:Boolean;
var distance:Number;
var autoJump:Number = .15;
var maxSlide:Number = 100;
var minScaleDistance:Number = 350;
var deleteMinDistance:Number = 0;
var deleteMaxDistance:Number = 900;
var doubleClickRegister:Number = 700;
var frontCDWidth:Number = 500;
var frontCDHeight:Number = 261;
var shelveCDHeight:Number = 200;
var shelveCDWidth:Number = 40;
var shelveCDSpacing:Number = 48;
var centerDistance:Number = 232;
var albumEase:Number = 4;
var angle:Number = 4;
var fadePoint:Number = 900;
var fadeDist:Number = 60;
var current:Number = 3;
var centerX:Number = Stage.width/2;
var centerY:Number = 285;
var clickDelay:Number = 22;
var scrollBarStart:Number = -58;
var scrollerDelay:Number = 150;
var scrollBarStop:Number = 48;
var unknownSong:String = "Unknown Title";
var unknownArtist:String = "Unknown Artist";
var unknownAlbum:String = "Unknown Album";
var infostruc:Array = [];
var xmlData:XML = new XML();
MovieClip.prototype.setSides = function(x1:Number, y1:Number, x2:Number, y2:Number, x3:Number, y3:Number, x4:Number, y4:Number):Void {
this.px1 = x1;
this.py1 = y1;
this.px2 = x2;
this.py2 = y2;
this.px3 = x3;
this.py3 = y3;
this.px4 = x4;
this.py4 = y4;
};
MovieClip.prototype.DistortImage = function(ptexture, vseg:Number, hseg:Number) {
if (ptexture instanceof BitmapData) {
this.texture = ptexture;
} else if (ptexture instanceof MovieClip) {
this.texture = new BitmapData(ptexture._width, ptexture._height);
this.texture.draw(ptexture);
}
this._w = this.texture.width;
this._h = this.texture.height;
this._aMcs = [];
this._p = [];
this._tri = [];
this.init();
};
MovieClip.prototype.setTransform = function(x0:Number, y0:Number, x1:Number, y1:Number, x2:Number, y2:Number, x3:Number, y3:Number):Void {
this.dx30 = x3-x0;
this.dy30 = y3-y0;
this.dx21 = x2-x1;
this.dy21 = y2-y1;
for (var l in this._p) {
this.point = this._p[l];
var gx = (this.point.x-this._xMin)/this._w;
var gy = (this.point.y-this._yMin)/this._h;
var bx = x0+gy*(this.dx30);
var by = y0+gy*(this.dy30);
this.point.sx = bx+gx*((x1+gy*(this.dx21))-bx);
this.point.sy = by+gx*((y1+gy*(this.dy21))-by);
}
this.render();
};
MovieClip.prototype.init = function(Void):Void {
this._p = [];
this._tri = [];
this.w2 = this._w/2;
this.h2 = this._h/2;
this._xMin = this._yMin=0;
this._xMax = this._w;
this._yMax = this._h;
this._hsLen = this._w/2;
this._vsLen = this._h/2;
for (ix=0; ix<3; ix++) {
for (iy=0; iy<3; iy++) {
x = ix*this._hsLen;
y = iy*this._vsLen;
this._p.push({x:x, y:y, sx:x, sy:y});
}
}
for (ix=0; ix<2; ix++) {
for (iy=0; iy<2; iy++) {
this.p0 = this._p[iy+ix*3];
this.p1 = this._p[iy+ix*3+1];
this.p2 = this._p[iy+(ix+1)*3];
this.addTriangle(this.p0, this.p1, this.p2);
this.p0 = this._p[iy+(ix+1)*3+1];
this.p1 = this._p[iy+(ix+1)*3];
this.p2 = this._p[iy+ix*3+1];
this.addTriangle(this.p0, this.p1, this.p2);
}
}
this.render();
};
MovieClip.prototype.addTriangle = function(p0:Object, p1:Object, p2:Object):Void {
this.tMat = {};
this.u0 = p0.x;
this.v0 = p0.y;
this.u1 = p1.x;
this.v1 = p1.y;
this.u2 = p2.x;
this.v2 = p2.y;
this.tMat.tx = -this.v0*(this._w/(this.v1-this.v0));
this.tMat.ty = -this.u0*(this._h/(this.u2-this.u0));
this.tMat.a = this.tMat.d=0;
this.tMat.b = this._h/(this.u2-this.u0);
this.tMat.c = this._w/(this.v1-this.v0);
this._tri.push([p0, p1, p2, this.tMat]);
};
MovieClip.prototype.render = function(Void):Void {
this.clear();
this.ih = 1/this._h;
this.iw = 1/this._w;
this.tM = this.sM={};
for (var l in this._tri) {
a = this._tri[l];
this.p0 = a[0];
this.p1 = a[1];
this.p2 = a[2];
this.tM = a[3];
this.sM.a = (this.p1.sx-(this.x0=this.p0.sx))*this.iw;
this.sM.b = (this.p1.sy-(this.y0=this.p0.sy))*this.iw;
this.sM.c = (this.p2.sx-this.x0)*this.ih;
this.sM.d = (this.p2.sy-this.y0)*this.ih;
this.sM.tx = this.x0;
this.sM.ty = this.y0;
this.sM = concat(this.sM, this.tM);
this.beginBitmapFill(this.texture, this.sM, false, false);
this.moveTo(this.x0, this.y0);
this.lineTo(this.p1.sx, this.p1.sy);
this.lineTo(this.p2.sx, this.p2.sy);
this.endFill();
}
};
function init(Void):Void {
myMO = {};
myKO = {};
Mouse.addListener(myMO);
Key.addListener(myKO);
for (var i in infostruc) {
loader.clear();
loader.gradient_mc.removeMovieClip();
loader.attachMovie("default", "art", 1);
loader._width = frontCDWidth;
loader._height = frontCDHeight;
this["_bmd"+i] = new BitmapData(loader._width, loader._height);
this["_ref"+i] = new BitmapData(loader._width, loader._height);
this["_bmd"+i].draw(loader);
var mc:MovieClip = loader.createEmptyMovieClip("gradient_mc", loader.getNextHighestDepth());
matrix = new Matrix();
matrix.createGradientBox(loader._width, loader._height, reflectionRotation/180*Math.PI, 0, 0);
mc.beginGradientFill(reflectionFillType, reflectionColors, reflectionAlphas, reflectionRatios, matrix, reflectionSpreadMethod, reflectionInterpolationMethod, reflectionFocalPointRatio);
mc.moveTo(0, 0);
mc.lineTo(0, loader._height);
mc.lineTo(loader._width, loader._height);
mc.lineTo(loader._width, 0);
mc.lineTo(0, 0);
mc.endFill();
loader.art._alpha = reflectionAlpha;
loader.beginFill(reflectionBackgroundColour);
loader.moveTo(0, 0);
loader.lineTo(0, loader._height);
loader.lineTo(loader._width, loader._height);
loader.lineTo(loader._width, 0);
loader.lineTo(0, 0);
loader.endFill();
this["_ref"+i].draw(loader);
}
for (var i:Number = count=0; count<Stage.width-(centerDistance*2); count += shelveCDSpacing, i++) {
var cArt:MovieClip = this.createEmptyMovieClip("art"+this.getNextHighestDepth(), this.getNextHighestDepth());
//var rArt:MovieClip = this.createEmptyMovieClip("reflection"+(this.getNextHighestDepth()-1), this.getNextHighestDepth());
rArt.id = cArt.id=rArt.cid=cArt.cid=Number(i)+1;
cArt.DistortImage(this["_bmd"+cArt.id]);
controlTheObject(cArt);
rArt.DistortImage(this["_ref"+cArt.id]);
controlTheObject(rArt);
//var tmpFilter:BlurFilter = new BlurFilter(reflectionBlurX, reflectionBlurY, reflectionQuality);
rArt.filterArray = cArt.filterArray=[];
rArt.filterArray[0] = tmpFilter;
rArt.filters = rArt.filterArray;
tmask = mask.duplicateMovieClip("_mask"+cArt.id, this.getNextHighestDepth(), {_x:mask._x, _y:mask._y});
rmask = mask.duplicateMovieClip("_rmask"+cArt.id, this.getNextHighestDepth(), {_x:mask._x, _y:mask._y});
cArt.setMask(tmask);
rArt.setMask(rmask);
rArt._visible = cArt._visible=false;
}
myMO.onMouseWheel = function(delta:Number):Void {
if (delta>0) {
next();
} else if (delta<=0) {
previous();
}
};
myKO.onKeyDown = function():Void {
if (Selection.getFocus() != "_level0.goto") {
if (Key.isDown(Key.RIGHT)) {
next();
} else if (Key.isDown(Key.LEFT)) {
previous();
}
}
};
scrollBar.scroller.onPress = function():Void {
dist = this._parent._xmouse-this._x;
this.onMouseMove = function():Void {
tmp = 1+Math.ceil(((this._parent._xmouse-dist)-scrollBarStart)/(scrollBar._width-scrollBarStop)*(infostruc.length-1));
tmp = 1+Math.ceil(((this._parent._xmouse-dist)-scrollBarStart)/(scrollBar._width-scrollBarStop)*(infostruc.length-1));
if (tmp>infostruc.length) {
tmp = infostruc.length;
}
if (tmp<1) {
tmp = 1;
}
current = tmp;
updateInfo();
};
};
scrollBar.scroller.onRelease = scrollBar.scroller.onReleaseOutside=function ():Void {
stopDrag();
delete this.onMouseMove;
};
scrollBar.left.onPress = function():Void {
previous();
shifter = setInterval(previous, scrollerDelay);
};
scrollBar.right.onPress = function():Void {
next();
shifter = setInterval(next, scrollerDelay);
};
scrollBar.onMouseUp = function():Void {
clearInterval(shifter);
};
scrollBar.onMouseDown = function():Void {
if (this.hitTest(_xmouse, _ymouse, true) && !this.left.hitTest(_xmouse, _ymouse, true) && !this.right.hitTest(_xmouse, _ymouse, true)) {
if (this._xmouse<this.scroller._x) {
previous();
shifter = setInterval(previous, clickDelay);
}
if (this._xmouse>this.scroller._x+this.scroller._width) {
next();
shifter = setInterval(next, clickDelay);
}
}
};
goto.restrict = "0-9";
goto.onKillFocus = function():Void {
if (!isNaN(Number(this.text)+1)) {
if (this.text>infostruc.length) {
this.text = infostruc.length;
}
if (this.text<1) {
this.text = 1;
}
current = this.text;
} else {
this.text = current;
}
updateInfo();
};
fscreen.onPress = function():Void {
fscommand("fullscreen", !(this._currentframe-1));
this.gotoAndStop(!(this._currentframe-1)+1);
};
distance = Number(i);
mask.removeMovieClip();
fscreen.swapDepths(1102);
loader.removeMovieClip();
scrollBar.swapDepths(1101);
loadNext();
updateInfo();
}
function concat(m1, m2):Object {
var mat:Object = {};
mat.a = m1.c*m2.b;
mat.b = m1.d*m2.b;
mat.c = m1.a*m2.c;
mat.d = m1.b*m2.c;
mat.tx = m1.a*m2.tx+m1.c*m2.ty+m1.tx;
mat.ty = m1.b*m2.tx+m1.d*m2.ty+m1.ty;
return mat;
}
function updateInfo():Void {
goto.text = current;
info = infostruc[current-1].info;
author = infostruc[current-1].auth;
album = infostruc[current-1].album;
displayAlternArt(root["_bmd"+(current-1)], artDisplay._width, artDisplay._height);
scrollBar.scroller._x = scrollBarStart+((current-1)/(infostruc.length-1)*(scrollBar._width-scrollBarStop));
}
function brightness(_prop:String, _old:Number, _new:Number, target:MovieClip):Void {
var brightness_array:Array = [1, 0, 0, 0, _new, 0, 1, 0, 0, _new, 0, 0, 1, 0, _new, 0, 0, 0, 1, 0];
target.filterArray[1] = new ColorMatrixFilter(brightness_array);
target.filters = target.filterArray;
}
function controlTheObject(mc):Void {
if (mc._name.indexOf("reflection") == -1) {
mc.onPress = function():Void {
if (getTimer()-this.pressTime<=doubleClickRegister && this.pressTime) {

}
this.pressTime = getTimer();
current = this.cid+1;
updateInfo();
};
}
mc.watch("_brightness", brightness, mc);
mc.onEnterFrame = function():Void {
this._visible = true;
if (Math.abs(this._x-this.x)>1) {
if (this._name.indexOf("reflection") == -1) {
this._y = centerY;
if (this._x>=centerX+centerDistance) {
this.swapDepths(Stage.width-this._x);
this.setSides(-(shelveCDWidth/2), -(shelveCDHeight/2)+((Math.sin(angle*Math.PI/180)*frontCDWidth)), shelveCDWidth/2, -(shelveCDHeight/2), shelveCDWidth/2, shelveCDHeight/2, -(shelveCDWidth/2), (shelveCDHeight/2)-((Math.sin(angle*Math.PI/180)*frontCDWidth)));
} else if (this._x<=centerX-centerDistance) {
this.swapDepths(this._x);
this.setSides(-(shelveCDWidth/2), -(shelveCDHeight/2), shelveCDWidth/2, -(shelveCDHeight/2)+(Math.sin(angle*Math.PI/180)*frontCDWidth), shelveCDWidth/2, (shelveCDHeight/2)-(Math.sin(angle*Math.PI/180)*frontCDWidth), -(shelveCDWidth/2), shelveCDHeight/2);
} else if (this.cid == current-1 || this.cid == current || this.cid == current-2) {
if (this._x>centerX-centerDistance && Math.floor(this._x)<centerX && angle-((this._x-(centerX-centerDistance))/centerDistance*angle)>autoJump) {
this.swapDepths(1002);
var sum:Number = shelveCDWidth+((this._x-(centerX-centerDistance))/centerDistance*(frontCDWidth-shelveCDWidth));
var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
var sum3:Number = shelveCDHeight+((this._x-(centerX-centerDistance))/centerDistance*(frontCDHeight-shelveCDHeight));
this.setSides(-(sum/2), -(sum3/2), sum/2, -(sum3/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), sum/2, (sum3/2)-((Math.sin(sum2*Math.PI/180)*frontCDWidth)), -(sum/2), sum3/2);
} else if (this._x<centerX+centerDistance && Math.ceil(this._x)>centerX && angle-(((centerX+centerDistance)-this._x)/centerDistance*angle)>autoJump) {
this.swapDepths(1003);
var sum:Number = shelveCDWidth+(((centerX+centerDistance)-this._x)/centerDistance*(frontCDWidth-shelveCDWidth));
var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
var sum3:Number = shelveCDHeight+(((centerX+centerDistance)-this._x)/centerDistance*(frontCDHeight-shelveCDHeight));
this.setSides(-(sum/2), -(sum3/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), sum/2, -(sum3/2), sum/2, sum3/2, -(sum/2), (sum3/2)-((Math.sin(sum2*Math.PI/180)*frontCDWidth)));
} else {
this.swapDepths(1004);
this.setSides(-(frontCDWidth/2), -(frontCDHeight/2), frontCDWidth/2, -(frontCDHeight/2), frontCDWidth/2, frontCDHeight/2, -(frontCDWidth/2), frontCDHeight/2);
}
} else {
if (this._x>centerX-centerDistance && Math.floor(this._x)<centerX && angle-((this._x-(centerX-centerDistance))/centerDistance*angle)>autoJump) {
this.swapDepths(1002);
var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
this.setSides(-(shelveCDWidth/2), -(shelveCDHeight/2), shelveCDWidth/2, -(shelveCDHeight/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), shelveCDWidth/2, (shelveCDHeight/2)-((Math.sin(sum2*Math.PI/180)*frontCDWidth)), -(shelveCDWidth/2), shelveCDHeight/2);
} else if (this._x<centerX+centerDistance && Math.ceil(this._x)>centerX && angle-(((centerX+centerDistance)-this._x)/centerDistance*angle)>autoJump) {
this.swapDepths(1003);
var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
this.setSides(-(shelveCDWidth/2), -(shelveCDHeight/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), shelveCDWidth/2, -(shelveCDHeight/2), shelveCDWidth/2, shelveCDHeight/2, -(shelveCDWidth/2), (shelveCDHeight/2)-((Math.sin(sum2*Math.PI/180)*frontCDWidth)));
}
}
} else {
this._yscale = -100;
if (this._x>=centerX+centerDistance) {
this._y = centerY+shelveCDHeight+reflectionSpace;
this.swapDepths((Stage.width-this._x)-333);
this.setSides(-(shelveCDWidth/2), -(shelveCDHeight/2)+(Math.sin(angle*Math.PI/180)*frontCDWidth), -(shelveCDWidth/2)+shelveCDWidth, -(shelveCDHeight/2), -(shelveCDWidth/2)+shelveCDWidth, shelveCDHeight/2, -(shelveCDWidth/2), (shelveCDHeight/2)+((Math.sin(angle*Math.PI/180)*frontCDWidth)));
} else if (this._x<=centerX-centerDistance) {
this._y = centerY+shelveCDHeight+reflectionSpace;
this.swapDepths(this._x-333);
this.setSides(-(shelveCDWidth/2), -(shelveCDHeight/2), -(shelveCDWidth/2)+shelveCDWidth, -(shelveCDHeight/2)+((Math.sin(angle*Math.PI/180)*frontCDWidth)), -(shelveCDWidth/2)+shelveCDWidth, (shelveCDHeight/2)+(Math.sin(angle*Math.PI/180)*frontCDWidth), -(shelveCDWidth/2), shelveCDHeight/2);
} else if (this.cid == current-1 || this.cid == current || this.cid == current-2) {
if (this._x>centerX-centerDistance && this._x<centerX && !validateOk(this)) {
this.swapDepths(999);
var sum:Number = shelveCDWidth+((this._x-(centerX-centerDistance))/centerDistance*(frontCDWidth-shelveCDWidth));
var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
var sum3:Number = shelveCDHeight+((this._x-(centerX-centerDistance))/centerDistance*(frontCDHeight-shelveCDHeight));
this._y = centerY+sum3+reflectionSpace;
this.setSides(-(sum/2), -(sum3/2), sum/2, -(sum3/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), sum/2, (sum3/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), -(sum/2), sum3/2);
} else if (this._x<centerX+centerDistance && this._x>centerX && !validateOk(this)) {
this.swapDepths(998);
var sum:Number = shelveCDWidth+(((centerX+centerDistance)-this._x)/centerDistance*(frontCDWidth-shelveCDWidth));
var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
var sum3:Number = shelveCDHeight+(((centerX+centerDistance)-this._x)/centerDistance*(frontCDHeight-shelveCDHeight));
this.setSides(-(sum/2), -(sum3/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)), sum/2, -(sum3/2), sum/2, sum3/2, -(sum/2), (sum3/2)+((Math.sin(sum2*Math.PI/180)*frontCDWidth)));
this._y = centerY+sum3+reflectionSpace;
} else if (!validateOk(this)) {
this.swapDepths(995);
this._y = centerY+frontCDHeight+reflectionSpace;
this.setSides(-(frontCDWidth/2), -(frontCDHeight/2), frontCDWidth/2, -(frontCDHeight/2), frontCDWidth/2, frontCDHeight/2, -(frontCDWidth/2), frontCDHeight/2);
}
}
}
}
if (infostruc[this.cid].loaded && !this.loadedImage) {
this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
this.loadedImage = true;
}
if (this._x<deleteMinDistance && this._parent["_ref"+(this.cid+distance)]) {
this.cid += distance;
this._x = deleteMaxDistance;
controlTheObject(this);
this.loadedImage = infostruc[this.cid].loaded;
this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
}
if (this._x>deleteMaxDistance && this._parent["_ref"+(this.cid-distance)]) {
this.cid -= distance;
this._x = deleteMinDistance;
controlTheObject(this);
this.loadedImage = infostruc[this.cid].loaded;
this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
}
if (this.cid+1>current) {
this.x = (centerX+((this.cid+1-current)*shelveCDSpacing))+centerDistance;
} else if (this.cid+1<current) {
this.x = (centerX+((this.cid+1-current)*shelveCDSpacing))-centerDistance;
} else {
this.x = centerX+((this.cid+1-current)*shelveCDSpacing);
}
this._x -= Math.min(Math.max((this._x-this.x)/albumEase, -maxSlide), maxSlide);
if (this._x<fadeDist) {
this._brightness = -(250-(this._x/fadeDist*250));
} else if (this._x>fadePoint-fadeDist) {
this._brightness = -(250-((fadePoint-this._x)/fadeDist*250));
} else {
this._brightness = 0;
}
this.setTransform(this.px1, this.py1, this.px2, this.py2, this.px3, this.py3, this.px4, this.py4);
};
}
function next():Void {
if (current<infostruc.length) {
current += 1;
}
updateInfo();
}
function previous():Void {
if (current>1) {
current -= 1;
}
updateInfo();
}
function displayAlternArt(art, width:Number, height:Number):Void {
artDisplay.attachBitmap(art, 1);
artDisplay._width = width;
artDisplay._height = height;
}
function loadNext():Void {
if (!loadedAll) {
var num:Number = current-1;
if (infostruc[current-1].loaded) {
var num:Number = current-Math.floor(distance/2)-1>=0 ? current-Math.floor(distance/2)-1 : 0;
while (infostruc[num].loaded && num<infostruc.length) {
num++;
}
if (num>=infostruc.length) {
var num:Number = current-1;
while (infostruc[num].loaded && num>0) {
num--;
}
if (num<=0) {
loadedAll = true;
}
}
}
var newLoad:MovieClip = this.createEmptyMovieClip("artLoad"+num, this.getNextHighestDepth());
newLoad.createEmptyMovieClip("art", newLoad.getNextHighestDepth());
newLoad._alpha = 0;
var mc:Object = {};
mc.number = num;
var artLoader:MovieClipLoader = new MovieClipLoader();
artLoader.addListener(mc);
artLoader.loadClip(infostruc[num].httpType+infostruc[num].art, newLoad.art);
mc.onLoadError = function() {
infostruc[this.number].loaded = true;
loadNext();
};
mc.onLoadInit = function(target:MovieClip) {
target._parent._width = frontCDWidth;
target._parent._height = frontCDHeight;
root["_bmd"+this.number] = new BitmapData(target._width, target._height);
root["_ref"+this.number] = new BitmapData(target._width, target._height);
root["_bmd"+this.number].draw(target);
var mc:MovieClip = target._parent.createEmptyMovieClip("gradient_mc", target._parent.getNextHighestDepth());
matrix = new Matrix();
matrix.createGradientBox(target._width, target._height, reflectionRotation/180*Math.PI, 0, 0);
mc.beginGradientFill(reflectionFillType, reflectionColors, reflectionAlphas, reflectionRatios, matrix, reflectionSpreadMethod, reflectionInterpolationMethod, reflectionFocalPointRatio);
mc.moveTo(0, 0);
mc.lineTo(0, target._height);
mc.lineTo(target._width, target._height);
mc.lineTo(target._width, 0);
mc.lineTo(0, 0);
mc.endFill();
target._alpha = reflectionAlpha;
target._parent.beginFill(reflectionBackgroundColour);
target._parent.moveTo(0, 0);
target._parent.lineTo(0, target._height);
target._parent.lineTo(target._width, target._height);
target._parent.lineTo(target._width, 0);
target._parent.lineTo(0, 0);
target._parent.endFill();
//root["_ref"+this.number].draw(target._parent)מעלים את התמונה של ההשתקפות;
infostruc[this.number].loaded = true;
target._parent.removeMovieClip();
updateInfo();
loadNext();
};
}
}
xmlData.onLoad = function(success:Boolean):Void {
if (success) {
for (var i:Number = -1; this.childNodes[0].childNodes[++i]; ) {
var cNode:XMLNode = this.childNodes[0].childNodes[i].childNodes;
var val1:String = cNode[1].childNodes[0].nodeValue ? unescape(cNode[1].childNodes[0].nodeValue) : unknownSong;
var val2:String = cNode[2].childNodes[0].nodeValue ? unescape(cNode[2].childNodes[0].nodeValue) : unknownArtist;
var val3:String = cNode[3].childNodes[0].nodeValue ? unescape(cNode[3].childNodes[0].nodeValue) : unknownAlbum;
var val4:String = cNode[4].childNodes[0].nodeValue ? unescape(cNode[4].childNodes[0].nodeValue) : "./";
infostruc.push({art:cNode[0].childNodes[0].nodeValue, info:val1, auth:val2, album:val3, httpType:val4, loaded:false});
}
loadStat = "";
init();
} else {
loadStat = "There was an error loading that data, sorry.";
}
};
xmlData.ignoreWhite = true;
xmlData.load("./XML/albuminfo.xml");
this.createEmptyMovieClip("loader", this.getNextHighestDepth());
loader._visible = false;
mask._alpha = 0;
scrollBar.scroller._y = 0;

View Replies !    View Related
Webshop Open Source?
Hey People,
I want to know where I can find an open source webshop made in FlashMX.

I'm having a hard time making mine and I would like to see how others made it so I can see how it can be done

Does anyone here have that for me or knows where to get it?

View Replies !    View Related
Webshop Open Source
Hey People,
I want to know where I can find an open source webshop made in FlashMX.

I'm having a hard time making mine and I would like to see how others made it so I can see how it can be done

Does anyone here have that for me or knows where to get it?

View Replies !    View Related
Help Finding Open Source Fla's
Dose anyone know were to find some free open source fla files. I need to find some to brake apart and test. My aim is to learn from these and at the end create my own flash site....Hopefully

View Replies !    View Related
Open Source, Copyright, And Use Of FK Content
I'm confused. Are we able to incorporate
content found in Flash Kit into our own commercial
and non-commercial projects? Or not? I've checked
the search function for "open source" and "copyright"
and I looked at the "About FK" links. The "Legal Notices"
links says all copyrights are respected and that content
cannot be used for commercial purposes; nor can it be altered, etc, etc. I dont think I have a clear ideal of
what open source really is.

In the audio section, it appears that we may use "freeware"
or elect to compy with the stipulations of "linkware" and
"shareware" Thats simple enough.

But what about graphics? And movies? Can we download them
,alter them, and use them for our own commercial purposes?
(there are no linkware, freeware, or shareware notices here, so I dont understand the legal status of content
in these areas)

Hope my question is clear and not too basic.
Thanks in advance for any guidance.

View Replies !    View Related
Form2K Open Source Project
WHAT IS THIS?
We're looking for a few good men and women with a working knowledge of Flash MX to help achive a common goal. We're attempting to create a way to always track the location of the text cursor in an input field. This will allow for creative animations of input text. While other's have done similar things, myself included (http://www.Freq-Fest.com), they have been restrictive and not allowed for carrige returns, word wraping, cut and paste and various other attributes of a normal input field. And we are attempting to find a solution to these restrictions.

If you're interested view what I have so far and get the fla here: http://members.aol.com/freqfest/form2k/

Thanks for your interest,

Frequent-C
http://www.Freq-Fest.com

View Replies !    View Related
Open Source Components -discussion
hi ya

i have been thinking about possible components for a list of tutes I'd like to add here and also for the FK book which is due early next year

Is there something in particular you'd like to see developed & documented ?

-a

aria@openedsource.net

View Replies !    View Related
Help Wanted For An Open Source Project
Hi there,

We are developing a next generation p2p application with a flash interface. The hole project will be opensource so you will get all the code at the end. We need people with good actionscript experience and if possible some experience in creating components. Good pixelartists are also welcome.

If you are interested please email me at digi@treepy.com or come to our forum at www.treepy.com/forum and post in the general discussion so we can introduce you to our project.

cheers

digi

View Replies !    View Related
Editing Open Source Files
There are some open source movie files out here. If i want to edit them what are the steps i should take so i can include my own content?

View Replies !    View Related
Good Open-source Fla. Sites
I'm looking for that site that I saw a year ago, where the flash designer/coder was making experimental examples w/ fla.s like everyday, anyone know of who I'm talking about. I couldn't find his site in my favorites earlier So if anyone could fill me, that would be greatly appreaciated, thnx.

View Replies !    View Related
Importing Open Source Files
I've been using Flash for about a week now. To say that I'm new to this would be a massive understatement.

I have an assignment to do, which involves creating a website in Flash. As part of the website, I need to create a "timer" of sorts. It doesn't actually need to work... essentially, what I want is something which will allow me to click a "+" or "-" button to change the time through a 24 hour clock. I don't need it to start timing anything - I just need to allow the user to set a start time.

I came to this website browsing, and saw some great open source clocks and timers which can be adjusted to meet my purpose. The problem I'm having is in importing the timer I've chosen (which has three layers, if that's relevant) into my own Flash creation.

Can anyone give me a clue on how this is done, or maybe point me in the right direction to do it in some other way?

Many thanks in advance,

Vicky

View Replies !    View Related
Flashkit Open Source Sites: Please Help
Hi,

I have checked a lot of the flash sites that members have posted.

I have a couple of questions.
Can I modify the sites from flashkit and use them to upload as my website having flashkit link at the bottom of the page?

I hope that it doesnt cause me into some illegal problem with the LAW.
I dont understand what it means to use it commercially.

Please let me know.

Thanks

View Replies !    View Related
Flash Open Source Libraries
Hi all. Does anybody know of any Flash open source libraries as I have been working on a project that is nearing the end of phase one and would really like it to be open source.

Many thanks

Leigh

View Replies !    View Related
Open Source Community Drawing App?
hi everyone,
i'm a new poster and i tried searching old threads and through the site for an open source community drawing app that works in flash 6. something like where multiple people can draw on the same canvas and everyone will see it. i heard such an app exists, does anyone know of such? thanks!
-asianxgirl

View Replies !    View Related
How Do I Open Source A Flash Application?
I'd like to know how best to open-source a flash application.

I'm part of a team that's coded a flash avatar application used by 1000s of children.

Our app follows the standard avatar/ chat route... users choose from a variety of pre-set options to decide how their avatar looks. This avatar can then be imported into various games on our site that have the avatar files embedded.

The avatar application itself is made up of 3 core flash files that interact with a database where users' details are stored.

The only thing we'll be making available is the three fla's of the avatar and documentation explaining how we made it go (which people can implement/ignore/ improve on).

For the purposes of open sourcing the code, people won't have access to our database as for testing we use xml files that replicate the database responses. So we will include these.

We want to make it open source so that users and other interested people can find new ways of implementing it.

But I need some help knowing how best to present the files we have for open-sourcing.

Has anyone ever done anything like this before? Has anyone ever seen a project like this before?

If so, please let me know how you did it/ how it was done.

View Replies !    View Related
Flash Forum? Open Source?
i want to add a forum / guestbook to this website:
http://ass.xohol.com
does anyone know of a good open source forum, or a tutorial, or a FLA that i could modify? i just want to drop it in but i don't have the time to make the forum from scratch.

thanks!

View Replies !    View Related
Open Source 3d Carousel-adding A
lee brimelow's open source carousel, i'm sure most have seen it, or heard of gotoandlearn.com. Either way, I was wondering if theres any way to add a tilt to the carousel, I see people do it alot, and I'm sure its very simple to do.


here is the code is there any way to tilt the carousel? THANK YOU SO MUCH!


//import mx.untils.Delegate
import mx.utils.Delegate;
//making some variables
var numOfItems:Number;
var radiusX:Number = 250;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
var speed:Number = 0.2;
var perspective:Number = 10;
var home:MovieClip = this;
//setting the tooltip with an alpha of zero
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000)
tooltip._alpha = 0;
//new XML var, ignore whitespaces
var xml:XML = new XML();
xml.ignoreWhite = true;
//load the XML
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
//some functions
{
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.ref.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
//when over a icon
function over()
{
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = 283;
home.tooltip._y = 35.0;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
}
//when out a icon
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
//when released an icon
function released()
{
getURL("http://www.flashden.net", "_new");
}
//load icons.xml
xml.load("icons.xml");
//the Math stuff of moving the carousel
function mover()
{
this._x = Math.cos(this.angle) * radiusX*.9 + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s:Number = (this._y - perspective) / (centerY+radiusY-perspective);
this._xscale = this._yscale = s * 100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
//the Math stuff of moving the carousel
this.onMouseMove = function()
{
speed = (this._xmouse-centerX)/2500;
}

View Replies !    View Related
Flash Open Source Sites
I am wondering if anyone knows of any sites that offer good open source FLA's for website development. please include links.

THANKS IN ADVANCE.

View Replies !    View Related
Flash And Open Source License
hi
i want know is a technology such as flash in linux that use GNU or other open source licenses ????

thanks

View Replies !    View Related
Open Source Whiteboard In Flash?
Anyone know of an open source whiteboard in Flash? Something similar to:
http://www.imaginationcubed.com/

View Replies !    View Related
Help Wanted For Open Source Project
Hi there,

We are developing a next generation p2p application with a flash user interface. We are looking for experienced action-script coders or pixelartists. If you are interested in bringing your skills to a next level please contact me for more infos at digi@treepy.com or post to our developer forum at www.treepy.com/forum

cheers

digi

View Replies !    View Related
Open Source Turn Pages
http://www.iparigrafika.hu/pageflip/pageflip_v22_source.zip

this is a link to a really cool open source flash page turning book. The fact that it is open source doe sthat mean that I can use it in my applications or do I need permission from someone to use it first??? thanks J.

View Replies !    View Related
Open Source Flash Forums?
I know that they do exist, but I can't track down ones that work :S
Does anyone know of any open source flash-made forum systems that exist on the net?


Thanks

View Replies !    View Related
Open Source Flash Blog
hey guys, i was surfin the web and found this really cool flash blog. Best part of it is that it is open source so i just downloaded it from sourceforge. It has some interesting stuff inside of it. Its worth checking out. you can find it here
http://sourceforge.net/projects/flog

and thier website is

http://flog.sourceforge.net

View Replies !    View Related
Isometric Mapmaker - Want Open Source?
I already posted here, but this forum seems like a better place: http://www.kirupa.com/forum/showthread.php?t=267498

I have a flash isometric map maker:

You can find more info here: http://komirad.com/flash-isometric-m...nt-open-source

View Replies !    View Related
Version 1 Of The Open Source FLV Player
You can download it here:

http://www.trenttompkins.com/Downloa...LV-Player.html

The movie url is part of the embed, so all you really need is the swf.

What do you guys think?

View Replies !    View Related
Flash Open Source Sites
Hi Friends,


Check the below site for flash open soruce, sound loops, resource, help forum and more!

http://www.flashadvisor.com

regards
Jitender

View Replies !    View Related
Open Source Flash Editor
Hi all,

As many of you know there are quite a few Open Source programmes out there now that allow people without huge bank balances to have the power of professional programmes.

A good example would be GIMP over Photoshop.

I want to know if there is an OS alternative to Macromedia/Adobe Flash? I can't really afford the real thing at the mo.

Any suggestions would be great.

David

View Replies !    View Related
Purchasable Or Open-Source Map Component?
Has anyone seen one of these out there? I am trying to represent a global organization using some sort of interactive atlas etc.

Interested in anything that even resembles this functionality, even if it's just a cool flash site.

Cheers in advance,

-ian

View Replies !    View Related
Iso Game Open Source Project
Hello everybody,

I`m Learning to code some ISO 3D stuff- so:

- I have a isogame fla with X,Y,Z axis -
only the ball needs some physics
and graphix
- the rest almost finised-

Maby we can start a onpensource ISO GAME ENGINE?
so EVERYBODY IS INVITED to JOIN!!

the .fla is here

replys welcome

View Replies !    View Related
Let's Develop An Open Source DRAWING APP
I have some ideas for an online drawing application capable of creating and saving vector content. My guess is that a lot of you out there will want to create a UI in which your user draws shapes that can then be saved (possibly as SVG) or used in your applications. But it doesn't make sense for all of us to reinvent the wheel each time and come up with new drawing tools.

So would anyone be interested in making the most of Flash MX's new drawing API and writing some neat tools for creating and editing simple vectors like polylines and primitives?

That would be the first priority and is fairly easily done, but I'm also hoping that we'd be able to create and share more advanced tools that do stuff like interpreting and smoothing freehand sketched lines (just like in Flash) or adding CAD-like capabilities such as ortho-snaps and trims.

Please let me know if anyone else is interested in developing such an app or library of tools. I think this could be really powerful if we all share our work and ideas.

Withnail.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved