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




2 Imp Questions In One Thread



Hi Guys ! What's up on herE ?
Well My doubts are the following ones:
1> How much can you learn if you read the Flash & the ActionScript Manuals from Macromedia ?. A lot or so so ?.
2> Where I can put my site up ?. I was told a place that offered plenty of codes and unlimited space... A place that everybody used...
Well That's all for now... Bye Bye



FlashKit > Flash Help > Flash MX
Posted on: 12-10-2002, 10:53 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

My On-Going Thread Of Flex/AIR Questions
Hi All,

First of all I just want to make sure what I'm trying to do is possible. I have a desperate need at work to have a database that a few of us use to access customer information and things of that matter. Thing is we can't use "Shadow IT Projects" so I can't send someone to mywebsite.com/app to use a web interface for this thing. So I figured I could mask it as a desk App with AIR. Anyway this seems possible, correct me if I'm wrong.

My issue is that I have downloaded the AIR... thing, so I can run AIR apps. I've also downloaded the Beta Flex 3 SDK because I don't have however much money it would be to get a Flash CS3 license. It seems like I should be able to build everything through Flex and deploy to AIR, if I'm reading everything correctly (I'm probably not).

So is it possible to build an AIR app through Flex? I'm on OS X and the Flex download just seems to be a big chunk of random files and such. No program or anything. Assuming what I'm trying to do is possible could someone point in the direction of tutorials so I can get started on this thing? I'm looking for basics, I need to know how to create the app and build the stage and where to plug in code and such.

Thanks!

Another Webhosting Questions Thread (NEWBIE)
Please be patient with my questions - I think they could be helpful for EXTREME newbies, like myself.

I have a website i want to get hosted, its basically a glorified image gallery - http://perspectiveart.home.comcast.net/ - just a way to pick up clients...simply designed in Flash and uploaded with Dreamweaver.

...Anyway, as i look thru this forum, there are alot of webhosting threads, but alot of the stuff being talked about makes NO sense to me, for example :

- What is "PHP4, PHP5, Mysql, Ruby on Rails, Python, Django" etc?
- What exactly is "bandwidth"? Like this - "300GB of bandwidth (10GB/day)"

Is my site so simple that i could basically go with the lowest priced (good support) webhosting service?

Thank you for dealing with a newbie!

Please Look At My Other Thread
Can any one think of other ideas

Have U Seen This Thread Somewhere
hi there,
there was a thread in which somebody asked about a site in which several pictures load and after loading swf and they automatically resize them self. in that thread somebody explained how it is done.
plzzzzzz give me its link. i read it on flashkit

adnan
bye

Why Can't I See My Thread
hello,
why can't i see my thread
i recieved this mail

Quote:




Hello certified,

gSOLO_01 has just replied to a thread you have subscribed to entitled - macromedia designer exam questions - in the Flash MX forum of Flash Kit Community Forums.

This thread is located at:
http://www.flashkit.com/board/showth...0&goto=newpost




but when i tried to access it i got this message

Quote:




You do not have permission to access this page. This could be due to one of several reasons:
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules.
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Logged in user: certified [logout]

Another 'how Do They Do That' Thread
So I was browsing around this year's 1 May Reboot site (well, until they put a 2006 placeholder in) and I landed on this site which got an honourable mention:

http://www.factory4.co.uk/v4/

I've often wanted to try and create navigation or just general interactivity features similar to what this guy has in his main menu at the top-right, but being a designer and not a developer, I wouldn't have the first clue.

So, how _do_ you do that?

Cheers !

Yet Another PHP Thread
I've searched both the forums and internet and found hundreds of PHP examples.. but can't seem to find the right one. I'm looking for some really easy stuff...
a couple of inputTextBoxes in flash to be sent to my mail, I'm pretty confident on the actionscripting part but I'm blank when it comes to PHP. But a simple thing like this can't be more than a couple of lines of code?

If there is anyone with simple, simple tutorials, or with the knowledge in the back of their heads that can show me how it's done, I'd be really grateful

thanks in advance

Hi, Everyone First Thread How Was This Done?
Ok. I am trying to build a slider with easing. With multi clips being moved at different times. This is not making any sense. Here is a example here: http://www.pushobject.com If you hit the push object button you can see what I am talking about. How do you put that motion in a scroller?

Thanks everyone.

How To Put An Swf On A Thread
how do you put an swf on a thread? thx

Hi, Everyone First Thread How Was This Done?
Ok. I am trying to build a slider with easing. With multi clips being moved at different times. This is not making any sense. Here is a example here: http://www.pushobject.com If you hit the push object button you can see what I am talking about. How do you put that motion in a scroller?

Thanks everyone.

Where's That Thread?
When MX was just released, there was a post from someone, who had made this interface for drawing. You know, you could draw lines and boxes and stuff like that.

It was made with the drawing API and the first example i had seen back then.

I was looking for that thread, but i couldn't find it anymore.

Does anybody know wich thread i'm talking about?
I really like to take a look at the scripting of that one.

Moved Thread
the thread titled - Flash License for Personal Use Only (not Academic) has been moved to the Team Room until a link that was posted on it can be investigated. If it turns out that the site in question enables users to breach software license agreements, it will not be returned.
david p.

No One Can Read This Thread
Ok if I Have gotten your attention Yay. I really need help on Flash 5. Is it possible to change Input text to dynamic or even static text. What i am doing is trying to get it so the user puts in an answer and then they click on a button to see if their answer is correct. So here is the tricky part... after they click on the button i want it so they are not able to retype there answer in the input text box. Please Help.
If such feat is acomplishable then can it be done in one frame?
This is for a high school project. Thanx

Nionicle...

http://www.desertbird.com/michael

Here's The Thread Gdstudios
this is the link to the original problem as you requested thanks

http://board.flashkit.com/board/show...hreadid=291506

More Clear. Last Thread.
Ok, nobody answer and the problem should be simple, so i'll try to be more clear:
I have this drawing tool that works fine:
2°frame
if (Number(mouse) == 1) {
if (Number(x1) == 0) {
x1 = int(getProperty("mc", _x));
y1 = int(getProperty("mc", _y));
} else {
x0 = int(getProperty("mc", _x));
y0 = int(getProperty("mc", _y));
if (Number(((x0-x1)*(x0-x1)))>5 or Number(((y0-y1)*(y0-y1)))>5) {
n1 = Number(n1)+1;
duplicateMovieClip ("line", "line" add n1, n1);
setProperty ("line" add n1, _x, x1);
setProperty ("line" add n1, _y, y1);
setProperty ("line" add n1, _xscale, (x0-x1));
setProperty ("line" add n1, _yscale, (y0-y1));
x1 = x0;
y1 = y0;
}
}
}

The Fake... 3D Thread
This should be an interesting thread.

Just for fun, show your ACTIONSCRIPTAL attempt at making 3d.

Link
ANOTHER LINK

Mine aren't extremely good, but I didn't take any tutorials.

Another Scrollpane Thread....sorry
I have scoured the forum for the right info on scrollpane but can't find it.

I have some really tall movieclips I'm scrolling, and scrollpane accepts them but the scrollbar is way longer than needed. I can't figure out how to get the size of the scrollbar and how far it scrolls to adjust to the content.

I realize there are size limitations but I've had no problem with that even though my mc's are really tall. Also, my fonts are embeded.

Help or a link with the right info would be great.

Many Thanks in advance!

P.s. I posted this same tread on as.org and had 40+ views and no replies. I'm hoping you guys will be more helpful.

The False Thread
Please click here, when I am in the false Thread!

http://www.flashkit.com/board/showth...hreadid=503884



Thanks!


Tyvm! Vincent

Anothert How Is This Done Thread... Sorry :P
Hi Fellow FK members. How is this done? I am trying to figure out how they move the image like this when you mouse around.

http://*******.com/2mqld

Any ideas. It should be easy, but I can't achieve it.

Thanks in advance,

Flip.

Another How Do I Do This Effect Thread
If you take a look at the menu at http://www.blitzds.com it's blue and glowing. How do you make shapes glow in flash?

And that animated noice, how is that done?

Would be great if someone knew

thanks in advance

(i did post this in some other place too, but no activity there, so I posted it here)

I'm using flash mx 2004 btw

AJSPU - Your Thread...
For some reason... Can't post in your thread!
Here's my answer...

Put your buttons in 2 frames movie clips (with stop(); actions on both frames), and on the first press, send the movie clip to frame 2, where your same button would appear modified and now showing your visited "state".

Another Thread Asking About Movies :D
If you are bored and cba reading you can go straight to the bold questions. :P

Well hello people nice to have found some helpful boards to ask a couple of questions on. I have been using flash now for around 5 months and have made loads of sites. Unfortunately I have pretty much done this without tutorials so I do a lot of things via work arounds rather than the most efficient way. I have now started to try and do a whole site with movie clips being called to the stage and have tried unsuccessfully for a couple of days to get it to work. Now before you say use the search function (I trawled to page 20 and learned some cool stuff). Or visit flashbax, I have I tried the whole loadmovie and attachmovie tutorials and unfortunately they didn’t work, I got no errors but I do think I discovered what the problem is. To explain.

I have a timeline on with there is all the layer that build up the static components of the site and in one layer is a movie clip that has the buttons within it. I presumed after a couple of days buttons don’t work when they are in a movie clip so I did an experiment on a new .fla and found that to be true, I also tried keyframes and the test button didn’t work. So I guess my first question is.

Is there anyway of making a button within a movie clip gotoandstop on the main timeline? And is this the same thing causing the load and attach movie commands not to work?

Ok onto the next bit using this script on a button

on (release) {
//Movieclip GotoAndPlay Behavior
this._parent._parent.test2.gotoAndPlay("1");
//End Behavior

}

I managed to get the thing I want working however it just overlays the clip that came before it which is a problem due to transparencies. I tried the removeMovieClip(); command but I don’t know how to make that say “remove any previous movie” I also don’t know if I can use this scrip to make the movie play in a level then overwrite that level.

Please help, I really have exasperated all tutorials and I just don’t have the knowledge to fix what I am doing wrong.



thank you kindly in advance

Rubincain

ps fire off any urls to tutorials you recommend, I am happy to work through them

Hey All (newbie Thread)
Well, i've been tinkering away at flash for some time now, and just recently got serious about it, especially after seeing some of the stuff out there on the web, and realizing I really suck. a good example of this is Jakalope.net

How do you think the fluid was animated trhough the veins?

Anyways, i'll be pretty frequent here since i'm working on a pretty large project.

Sorry For The Stupid Thread
as i said in the sub box sorry but if any one could help me i`d be relly gratefull. i`ve been lookin for a nice pixel font all over the web and i couldn`t find what i needed. the most simple and small font would be perfect.

anyone has it?!?

sorry and thanks

Another Loading PHP Thread
i was reading some former posts about loading external php text into a dynamic text field. I was able to make a text box, give it a variable name and then load external text from a *.txt file, but i cant for the life of me understand how to get the php text instead. I have a weblog which i use to write on at a differnt computer and i want to be able to change the weblog daily without havign to do anything with the flash program.



So, my basic understanding is that the *php file contains parameters that hold the text information. What i want to know is what information from the php file contains the text from my weblog, and how do i transfer this information to my dynamic text box. I have read other threads , but i dont undersatnd anything about php, is there any more information specific to loading WEBLOGS into a dynamic text box?I have checked out other websites on flash tutorials, but this one seems to have the most information i can find.


Thanks for the help and i appreciate any comments that you might have regarding my topic.

[F8] Another Preloader Thread
On my main timeline, I had quite a few layers with content on the first frame of each layer. I converted all this to a new movie so that I could put it all on one frame for a preloader to work.

Well, my problem is that now it won't bring up any of my externally loaded .swf's anymore. Is there a trick to the path heirarchy to make it access those external movies again?

thanks in advance!

[F8] Thread Following Your Mouse
Click Here

after you click ENTER inside the page, you see a thread stretching along your mouse position? Has anyone tried this thing before? and if YES, How??
I am curious to know

Thread.sleep() In A/S?
Is there any equivalent to Java's Thread.sleep() method in ActionScript? I'd like my program to just sit and wait for about 5 seconds.

Thanks in advance!

Barry

[F8] Thread Two Or More .swf Files Help
Hello,

I have a huge problem with a slew of flash .swf files (I'm a complete newbie when it comes to Flash)

I have oh, I want to say over 1,000 flash files that I need to review in time for the New Year. Unfortunately, they are all separate, and I would need to click them one at a time.

The program that is used to compile and play the files is not working on my computer---but the individual flash files work. Is there any way that I can manually "thread" the files into one large flash file?

Even acceptable would be some program that lets me queue the files...although I would really prefer to "thread" them.

Yet Another Shoutcast Thread
I'm trying to play a Shoutcast MP3 stream in AS3/CS3. This seems to be something a lot of people want to do but isn't done successfully very often.

I've tried using the Sound object, which works for a bit, but after a few minutes of listening the memory fills up and the sound starts to skip, a lot.

I've looked into using URLStream to read the raw data, and my hunch is that this can be done. I've seen the ID3Reader stuff, which I think can be proof of concept of reading raw data out of an MP3 stream, but I don't know what steps to take to actually get the data from the stream into a playable audio format and also manage the memory.

I've also tried using 2 sound objects, letting one stream for a couple minutes then cross-fading with a new one, and deleting the first. This doesnt seem to be working but it could just be bad logic on my end. Other posts on the subject call this an "object relay."

Anybody have any ideas/thoughts/suggestions on this?

thanks

[Q] Another EmbedFonts Thread... :(
I thought that I knew how to embed the font and make the text look nice, but I guess I don't...

Can somebody take a look at this code and tell me what I am doing wrong???
PHP Code:



createCity("us");
function createCity(level)
{
//    trace("function createCity with " + level + " ...");
    this.createEmptyMovieClip("city_mc", 50000);
    this.cityName_tf = new TextFormat();
    this.cityName_tf.align = "center";
    this.cityName_tf.bold = true;
    this.cityName_tf.color = 0x000000;
    this.cityName_tf.font = "Tahoma";
    this.cityName_tf.size = 12;
    
    for (var i = 0 ; i < this["city_" + level + "_arr"].length ; i++)
    {
        this.city_mc.attachMovie("MC_City", "city" + i + "_mc", 50000 + theDepth++, {_x:this["city_" + level + "_arr"][i].locX, _y:this["city_" + level + "_arr"][i].locY});
//        traceOut("level = " + level);
        this.city_mc["city" + i + "_mc"].createTextField("city_txt", 99999, 0, -25, 10, 10);
        this.city_mc["city" + i + "_mc"].city_txt.autoSize = true;
        this.city_mc["city" + i + "_mc"].city_txt.background = true;
        this.city_mc["city" + i + "_mc"].city_txt.backgroundColor = 0xCCCCCC;
        this.city_mc["city" + i + "_mc"].city_txt.border = true;
        this.city_mc["city" + i + "_mc"].city_txt.type = "dynamic";
        this.city_mc["city" + i + "_mc"].city_txt.text = this["city_" + level + "_arr"][i].fullName;
        this.city_mc["city" + i + "_mc"].city_txt.selectable = false;
        this.city_mc["city" + i + "_mc"].city_txt.setTextFormat(this.cityName_tf);
        this.city_mc["city" + i + "_mc"].city_txt.embedFonts = true;
        if (this.city_mc["city" + i + "_mc"]._x < 175)
        {
            this.city_mc["city" + i + "_mc"].city_txt._x = 0;
        }
        else if (this.city_mc["city" + i + "_mc"]._x > 700)
        {
            this.city_mc["city" + i + "_mc"].city_txt._x = Math.floor(Math.round(this.city_mc["city" + i + "_mc"].city_txt._width / -1));
        }
        else
        {
            this.city_mc["city" + i + "_mc"].city_txt._x = Math.floor(Math.round(this.city_mc["city" + i + "_mc"].city_txt._width / -2));
        }
//        trace("this.city_txt.text = " + this["city_" + level + "_arr"][i].fullName);
    
        this.city_mc["city" + i + "_mc"].cityName = this["city_" + level + "_arr"][i].fullName;
        
        this.city_mc["city" + i + "_mc"].State = this["city_" + level + "_arr"][i].State;
        this.city_mc["city" + i + "_mc"].zip = this["city_" + level + "_arr"][i].zip;
        this.city_mc["city" + i + "_mc"].cityDot_mc.onPress = function ()
        {
            trace("State : " + this._parent.State);
        }
    }





If you comment out this line, the text looks nice, but if you leave it as it is, it looks crappy...

this.city_mc["city" + i + "_mc"].city_txt.embedFonts = true;

Thank you...

Yet Another Thread On SetInterval...(sorry)
I've seen all of the other threads on setInterval, but I STILL can't figure out my problem...I'm trying to create a clock of sorts to count down from 23 to 0. The following code is in the main timeline...am I just not understanding what it's supposed to be doing correctly or what? It displays the 23 fine, but after that it seems like it's frozen. Please help!

count=23;
function show(){
_root.counter.counter.text=count;
if(count--<0) clearInterval(timer);
}
timer=setInterval(show, 1000);
stop();

Another Preloader Thread ...sorry
Hey everyone

I have a couple of questions I was hoping some of you may be so kind as to answer ...oh who am I kidding? ...I'm naive and desperate for help!

I want to use the preloader from this Macromedia tutorial to preload images in a photo gallery but I'm not sure what the author means when he says:
Quote:




If you want to reuse this preloader to load additional content once the user is in the site, all you have to do is make sure the preloader movie clip, or another preloader clip also registered to the Preloader class, is on the Timeline, and call the startLoad method with the parameter being the movie clip that the new movie will be loaded into.




Also the gallery I'm creating is an xml/flash version like the one here, with the images loaded from an external source. Where should I place the Macromedia preloader and what script adjustments would I need to make for it to work?

Any advice would be really appreciated
Thank you!

Preloader source files:
http://download.macromedia.com/pub/d...er_samples.zip

XML/Flash Gallery source files:
http://www.kirupa.com/developer/mx20...llery_user.zip

Another Preloader Thread ...sorry
Hey everyone

I have a couple of questions I was hoping some of you may be so kind as to answer ...oh who am I kidding? ...I'm naive and desperate for help!

I want to use the preloader from this Macromedia tutorial to preload images in a photo gallery but I'm not sure what the author means when he says:

Quote:




If you want to reuse this preloader to load additional content once the user is in the site, all you have to do is make sure the preloader movie clip, or another preloader clip also registered to the Preloader class, is on the Timeline, and call the startLoad method with the parameter being the movie clip that the new movie will be loaded into.




Also the gallery I'm creating is an xml/flash version like the one here, with the images loaded from an external source. Where should I place the Macromedia preloader and what script adjustments would I need to make for it to work?

Any direction or advice would be really appreciated
Thank you!

Preloader source files:
http://download.macromedia.com/pub/d...er_samples.zip

XML/Flash gallery source files:
http://www.kirupa.com/developer/mx20...llery_user.zip

ANOTHER INSTALLATION THREAD
There are three computers in my house. None of them can access www.beatport.com or another site regarding music.

I have both Windows and Mac OS X on one laptop. These sites don't work for me using either IE or Safari.

I've been unable to access these sites for roughly two weeks. Before then, they worked fine.

I can't download anything regarding Flash on this laptop (using Safari or IE). Not the uninstaller, not the installer, nothing. As a result, I removed Flash through Add/Remove Programs. This hasn't changed anything other than the number of websites I can't access (which has increased exponentially).

This is the sort of thing that drives people insane. What do I do?

Atth: To This Thread Please
though I'd promote this thread in the other boards as well ...

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=194&threadid=1336484&enterthread=y

The Flash Help Thread
Post any questions you have about flash, and someone will answer as soon as possible. (instead of making new threads)

Lost A Thread?
hey guys i thought it was in here but can anyone remind me where the thread of the moving water effect was??

Similar Thread?
hello everyone,
first let me tell you that Introduction to XML and Flash is the Sh**, well done for those who wrote it. i am working on a game engine and i'm stuck on the preloader because i've search your forums but there are too many and most have been 'close but no cigar'.

so far i have:an xml file that declares all the swf files i'll need to develop this game.
flash creating a movieclip libraryBank that will hold all my swf and eventually mp3 files so i can call them when i need them.
a for loop creating a new movieclip, inside libraryBank, for each nodeValue it finds in the xml file and names it by ID.
here's my roadblock (yes! amazing race)
i need my preloader to load all my files, i've taken a look at a few threads but the ones i like, are for a slideshow and i'm not sure what i need to change to work with what i have?

preloader.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<preloader>
<swfiles>
<swfile ID="icon0">swf/icon0.swf</swfile>
<swfile ID="icon1">swf/icon1.swf</swfile>
<swfile ID="icon2">swf/icon2.swf</swfile>
<swfile ID="icon3">swf/icon3.swf</swfile>
<swfile ID="icon4">swf/icon4.swf</swfile>
<swfile ID="icon5">swf/icon5.swf</swfile>
<swfile ID="icon6">swf/icon6.swf</swfile>
<swfile ID="icon7">swf/icon7.swf</swfile>
<swfile ID="icon8">swf/icon8.swf</swfile>
<swfile ID="icon9">swf/icon9.swf</swfile>
</swfiles>
</preloader>
frame 1 in game.fla

Code:
stop();
#include "preload.as"
preload.as

PHP Code:



stop();var libraryBank = createEmptyMovieClip("libraryBank", 0);var preloader = new XML();preloader.ignoreWhite = true;preloader.load("preload.xml");preloader.onLoad = function(success) {var swfile = preloader.firstChild.firstChild.childNodes;// load each value into a movieclip with it's IDfor (var i = 0; i<swfile.length; i++) {var swfMovies = libraryBank.createEmptyMovieClip(swfile[i].attributes.ID, i);swfMovies.loadMovie(swfile[i].firstChild.nodeValue);}}; 




output

Code:
Movie Clip: Target="_level0.libraryBank"
Movie Clip: Target="_level0.libraryBank.icon0"
Movie Clip: Target="_level0.libraryBank.icon1"
Movie Clip: Target="_level0.libraryBank.icon2"
Movie Clip: Target="_level0.libraryBank.icon3"
Movie Clip: Target="_level0.libraryBank.icon4"
Movie Clip: Target="_level0.libraryBank.icon5"
Movie Clip: Target="_level0.libraryBank.icon6"
Movie Clip: Target="_level0.libraryBank.icon7"
Movie Clip: Target="_level0.libraryBank.icon8"
Movie Clip: Target="_level0.libraryBank.icon9"
what preloader should i use?

What Happened To This Thread?
I'm looking for the thread about XML Photogallery with resized image transition What happened to it?
thanx for helping.

Gilles

Ha Another Photogallery Thread
alright been thinking up something for a lil myspace customizing and though i would put what little flash mx skills i have.
Im using flash mx NOT 2004, and looked up that photogallery on here. Everything was going smoothly
but when i play it file the pictures are not showing up where they are suppose to, they are like off centered.

i looked at the registration point and tried to change that but that didnt help at all.
heres my code.



Code:
// Code written by sbeener (suprabeener)
//
// i wrote this code, but you can use and abuse it however you like.
// the methods are defined in the order which they occur to make it
// easier to understand.
//
// variables ------------------------------------------
// put the path to your pics here, include the slashes (ie. "pics/")
// leave it blank if they're in the same directory
this.pathToPics = "";
// fill this array with your pics
this.pArray = ["image0.jpg", "image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg", "image5.jpg", "image6.jpg", "image7.jpg", "image8.jpg", "image9.jpg"];
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
// loads an image automatically when you run animation
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%this.pArray.length;
if (this.pIndex<0) {
this.pIndex += this.pArray.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
// ------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
// Actions -----------------------------------------
// these aren't necessary, just an example implementation
this.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
this.changePhoto(-1);
} else if (Key.getCode() == Key.RIGHT) {
this.changePhoto(1);
}
};
Key.addListener(this);

Yet Another Xml Image Thread..
Hi.
I use the kirupa xml image gallery,that one with the scrolling thumbnail.
Now I would like to have a short description(from the node named caption) under each thumb when onRollOver.I guess I should use a dynamic textfield?But do I have to create a d.textfield for each thumb,or can I get the x.position of the thumb to be the same as the x.position of the d.textfield some how?
Hope U understand my question.
Would be greatful for anny anwears.

Yet Another Xml Image Thread..
Hi.
I use the kirupa xml image gallery,that one with the scrolling thumbnail.
Now I would like to have a short description(from the node named caption) under each thumb when onRollOver.I guess I should use a dynamic textfield?But do I have to create a d.textfield for each thumb,or can I get the x.position of the thumb to be the same as the x.position of the d.textfield some how?
Hope U understand my question.
Would be greatful for anny anwears.

Standalone XML Thread
I was wondering if a new forum topic for XML should be started.
I subscrive via RSS to the Flash mx 2004 and the server side threads, and they are dominated by xml questions (especially the xml gallery!).

I know they both have a lot of integration with xml, but wouldnt it then be better to have a focused XML thread?

Just a thought...

Last Thread For Today - Hopefully
Why does this not work? The left button stays "out of work" when i move to a different position!

left_btn.onRelease = function (){
movon (indhold_mc._x + 50)
};

if (indhold_mc._x > -92.0) {
left_btn.enabled = false;
} else if (indhold_mc._x < -92.0) {
left_btn.enabled = true;
}


Thanks

-JPAG

Name This Thread / McSlider
There was a thread, not sure if it was in AS or Experiments or MX, but is was this "McSlider" .as driven thing. The link below is my adaptation of it. I am even sure some one brought up nesting mcs with button actions. I just can't find the thread.

(i.e the boy is an mc inside the slider with a rollOver and RollOut, but they do not work.
http://www.spent2000.com/CLIENTSPACE/TRYPTOPHAN/

Scotty or anyone else, hollar back please.


Thanks in advance.

Thread=true;
Sorry everybody. I found the problem.

Another 'external Swf' Thread...
I hope someone can please help me, this is a simple little problem, but I haven't done this before, so....

I'm using an external swf within my main swf (my site) to play music... And it works fine when I test the site offline. But I uploaded it and it's not working on the web.

So I'm thinking it has to do with the path?

Do I have to specify what folder it's in, if it's already in the same folder as the main swf?

Here is the code I have in actions in frame 1:ifFrameLoaded (1) {loadMovie("musicbox.swf", "host");
}Like I said, it works offline, just not on the web.

I've been working on the sound issues all day, I just want to get it to work, before I go to bed!

Thanks in advance.

Don't Even Know How To Call This Thread :D
hi, don't even know where to start but will do my best to describe what I am trying to accomplish

1. have several buttons on a main stage. home, about, gallery
2. I also have mc ,a little animation setup, its also located on a main stage I call it 'animation_mc'

now when I press my first button 'home_btn' my animation goes

Code:
_root.animation_mc.gotoAndPlay('home');
this will play my animation from 1 to frame 10. so now when I press any other button I'd like this animation play backwards from frame '10' to frame '1' basically to put this animation in its home position. the animation is only active if home_btn is pressed. if any other buttons are pressed animation will stay in its home position (I mean without animating) the only way animation will become active if home_btn was pressed and took animation_mc from frame 1 to frame 10. than all the other buttons will be able 'on press' to put this animation back in its first frame but it has to play animation backwards. if home_btn was never pressed than other buttons wouldn't react to animation_mc. in other words the animation_mc will stay in its home position (frame 1)

I hope its easy to understand

Copyright © 2005-08 www.BigResource.com, All rights reserved