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




Discovering Folder Level Within Flash



Hi

One of the recurring problems with making a nav movie in Flash is that there's no simple way to acknowledge the level of folder (on the site) you're in. So for example, if I'm on the index page, all links should be folder/page.php. But if I'm on one of those pages, I would want the same link to be just page.php.

Is there anyway of getting Flash to retrieve the folder level and then use an if statement to determine the correct link?

I have MX but my employer wants this in Flash 4 if poss, so if there is a method for Flash 4 I'd be grateful. Otherwise, MX will be fine.

Thanks in advance.



FlashKit > Flash Help > Flash General Help
Posted on: 06-27-2003, 06:06 AM


View Complete Forum Thread with Replies

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

Discovering Flash Fraud?
HI everybody!

Hope you can help me with this issue

I teach Flash 8 at college. We just started class three weeks ago. This new class is beginner at flash , most of them don’t have experience except some with middle practice on the software and yesterday we had the first exam.

Well, two guys didn´t show up for the exam, but they asked me for a chance to make the exam later. I was allowed in this case to give them one day to do their exam. I also told them that my criteria for their notes would be different as they had more time to do it. (The regular exam is three hours but they had a day and a half to accomplish it)

Well, today they showed me their exams and I was really surprised because, considering their level of experience, their exam was pretty “well done”. I don´t like to be suspicious, and I don´t want to descredit these two guys, but something tells me that instead of creating their own animation, they found one on the internet about the same idea (I asked them to simulate a pool game) and gave me that instead.

What I want to ask you, is if you can see the animations and tell me if you have seen them somewhere else or have an idea where to download a similar FLA?
I uploaded them here:

http://www.animanchas.com/original/billiard1.html

http://www.animanchas.com/original/billiard2.html

I repeat, i don´t want to descredit their work, but It’s my job as a teacher to make sure about this issues
The reasons why I may doubt are:
-Both guys sit together and are superfriends
-Both made a “good” animation and FLA composition (better than the rest of the class)
-Both FLA files have clipart imported from somewhere (I noticed that searching careful at the file) and include “professional” methods I haven´t taught yet.
-Both brought the files on CS3 (we use Flash 8)
-Probably for one of the animations, one day was not enough to get it finished
-Their performance in class is not like their exam

So please, if you can see the animations or post here a comment of how evil I am for having doubts of my own pupils I’ll appreciate it.

Thanks

LoadMovie Problem - Can Go Down A Folder Level But Not Back Up
Hi - need some help please!! - I have a clip that has an area into which external swfs are loaded into. The area is named 'clipholder'. The contains a menu that you select various items and the appropriate clip loads in. Works fine. Some of these loaded in clips have sub-pages. These subpages can all be accessed from a submenu and they all load. But if you then try to access another subpage on the same level as the loaded in subpage or try to move up a level to the parent page of the subpage, I just get a blank page loaded in.

The code to go from a menu item to a subpage is:


Code:
on (release) {
unloadMovie(_root.currentLoadedMovie);
_root.currentLoadedMovie = "overview_ourexperience.swf";
trace(_root.currentLoadedMovie);
loadMovie("swfs/overview_pages/overview_ourexperience.swf", _root.clipholder);
}
and the code on the buttons on the subpages are (Moving from overview_ourexperience back up to overview.swf):


Code:
on (release) {
unloadMovie(_root.currentLoadedMovie);
_root.currentLoadedMovie = "overview.swf";
trace(_root.currentLoadedMovie);
loadMovie("../overview.swf", _root.clipholder);
}

I did a test on the subpage and clicked the button and the overview.swf loaded in on top of the buttons. I reasoned that maybe it saw the subpage as the _root but I don't know how to get the button to communicate with the clipholder to load in the correct page.

I know this is tough, but anyone have any ideas?

cheers

frank

Self Discovering Menu
I need a menu that, instead of using an XML file to obtain cascading menu choices, parses directory and file names structure to provide cascading menu choices.

When a user selects from a 3rd level menu choice e.g. Genesis -> Gen 1 -> Gen 1.1
the script ...
loads the Gen1.1.txt file located in the Genesis/Gen 1/ directory into _root
and then executes gotoAndPlay(##)

It would be nice to have the menu be able to work in reverse such that when the user chooses <back> in the main application frame the menu can be reloaded at the point where it was left.

Is there code available that does this kind of file explorer type of menu thing? Maybe it has utility for others as well who organize their data by directory structure AND need a self discovering menu to access that data.

My target platform is Flash lite #.

Thanks!

Bob

Discovering The Pressed Button
I just need to know how can I find witch button the user pressed and how to associate variables with strings.
I wish to do something like this:

If PressedButton = "Button"+n
Then GetUrl (www.blabla.com/pageN.htm)

How to do so?

Thanks in advance...

Discovering All Classes In A Framework (kind Of Academic)
Some smartaleck just put up some statistics and diagrams regarding the number of classes and methods in the .NET framework. Kinda neat, if you ask me.

It would be cool if we could try to find out how many classes are in an AS3 framework, like mx. I mean, you could look at the documentation, but that's not really the point. Is Flash meta enough to discover every class?

I could brute force it, I guess, by passing random strings to getDefinitionByName. Any other ideas?

Level 0 Loads A Movie Into Level 1 - Buttons On Level 0 Still Appear To Be Active Underneath
I am working on an interactive cd. My main movie plays in level 0 and clicking on an option loads the relevant movie into level 1.

The problem I have is that the main movie's buttons are still active underneath and if you click on the wrong place in the movie on level 1 it jumps to a new movie because of the button below.

Is there a way to somehow deactivate these while there is a movie playing above?

Loading Movies From A Folder Located In Root Folder?
hello.

I want to organize my root folder on the server better. How would I write the code to load a movie that is located in a folder called slideshow, for example? Basically, how do I target that movie located in root/slideshow/...
I hope you understand.

Linking To Files That Are In The Folder That Hold The Folder Where Ur File Is
i'm trying to get my website to run as it would on the internet but not actually on the internet for a college exhibition. most of my website is in one flash doc but a few pages are seperate that hold some media. all the pages are in one folder (except one) and link to each other with this code:

on (release) {
getURL("whateverfile.htm");
}

the other page is my music page, which is in a folder within the folder that all the other pages are in. to get to the music page from the rest of my website, i did this:

on (release) {
getURL("musicfolder/mymusic.htm");
}

if you even know what im talking about how to i get back out of that folder to the main folder with a link to the main website page?

this is what i tried:

on (release) {
getURL("websitefolder/mywebsite.htm");
}

it didnt work.
i'm quite new to action scrpiting, as in i started learning 3 days ago. im more of an animator to be honest. thanks

Xml Loads When Path Is To The Same Folder,but Not From The Folder I Need To Load Fro
hey there! here is my problem if anyone is so kind to point me in the right direction:

i have a Part2_Resources.swf that loads assets/resources.swf into a container on it's root timeline. no problem. assets/resources.swf then loads in config.xml for its content. i think the problem comes in relation to my file structure even though I have already made sure that my path is relative to my root swf.

this presentation will be on cdom so i want to keep my main projector file out in the open and then store all the other files into an 'assets' folder. so here is my file structure:

cd / Part2_Resources.swf (will end up being a projector file)
assets folder / resources.swf and config.xml

when i play my resources.swf by itself with the config.xml loaded directly it works perfectly (ie path: configxml.load("config.xml")

but when i play the Part2_Resources.swf, which then loads assets/resources.swf, wich in turn loads config.xml from the assets folder (ie: path to xml file in resources.swf changed to configxml.load("assets/config.xml") the data doesnt load, or isn't visible for some reason. I am not getting any errors, just no content from the xml file.

i can't figure out where im going wrong except that i might need to use absolute paths which i don't know how to do from a cdRom!

maybe it is another problem altogether?? i attached my files if anyone wants to give it a go!


Help please!!!
Much appreciated!!!

Shared Folder, Resource Folder ...
This is a bit of an open question, but in terms of application development, project development, systems architecture, etc, in what situation would you have a 'Resource Folder' and a 'Shared Folder'. I believe these are common, so where are they used. Anyone heard of these terms before ?

Open A Folder Not A Web Browser Folder.
I need help openning a folder with flash.

I'm creating a Projector App. When I click on the btn I need to open a folder in my computer. I tried the fscommand by no luck.

On Mouse Press Load Movie To Level 5 And Unload Movies From Level 6.7.8.9 ?
on mouse press Load movie to level 5 and unload movies from level 6.7.8.9 ???

Ok here is the deal
I have 5 Music files I created 5 seperate flash movies for them

As it stands now I have

Track1 load to level 5
Track2 load to level 6
Track3 load to level 7
Track4 load to level 8
Track5 load to level 9

The problem is how I script that if I press track 1 to unload level 6,7,8,9 so only level 5 track playing

Or if I press Track 5 to unload movies level 5,6,7,8

This is what I done so far
http://eclipse.ebportal.com/bluenotejazz/index.html

If u press on track1 and after on track 2, Track 2 will just upload new flash file on top of track 1.


Now I am not good with this but, this is what I tried
This is as code stands

on (press) {
stopAllSounds();
loadMovieNum("flash/track1.swf", 5);
play();
}

This is what I was trying to do for TRACK 1

on (press) {
stopAllSounds();
loadMovieNum("flash/track1.swf", 5);
play();
}
on (release) {
unloadMovieNum(6,7,8,9);
}

---------------------------------

Of course for Track 2 this would be

on (press) {
stopAllSounds();
loadMovieNum("flash/track2.swf", 6);
play();
}
on (release) {
unloadMovieNum(5,7,8,9);
}


ETC

Pls some help need it here and its URGENT !!!

Flash Buttons That Navigate To Html Files In Same Folder As Flash Movie?
I'm completely new to Flash and AS3.......

however, i've managed to build a simple "intro" flash movie that has buttons on it that need to navigate to non-flash, DWCS3 based site files.

when i go into the button in flash, if i select text in the button there is a spot in the properties panel that allows for a URL link...i enter the name of the html file but it doesn't work......but this URL property field is not available to the entire button....

so i started looking at AS because i'm pretty sure i need to use events and event listeners....BUT all of the tutorials only cover getting an external URL or linking to a frame within a flash movie......none of them cover linking to an existing HTML file in the same folder.......(ie., to access the meat of the website through the flash intro buttons....)

help?

the movie is at www.methods.com/msite07/site07_intro_more.html if you'd like to take a look....the animated buttons need the link functionality.......

Can Flash Dynamically 'look' In A Folder?
hi,

i was wondering if flash can dynamically look at the contents of a
folder and add that content to an array...

for example, i am creating a dynamic image viewer that simply shows
jpgs that are in a folder called 'pix'... thing is i really want
to just fill the folder up (that will be on the server) with images
over a period of time without maessing with the flash file...

everytime i add images to the folder flash would be able to examine
that folder and add the ever increasing number of jpegs to my array..

does anyone know if this can be done???

any help would be great...

Can You Browse For A Folder From Flash?
i'm creating an interactive cd using flash - is it possible to action a button to browse for a folder on the cd?

Create Folder From Flash?
Hi,

Does anyone know ,How to create folder form flash?

Thanx
Shan

Browse Folder By Flash
hi friends,

i was doing an autorun cd with flash menu that i am creating, but i have a problem that, it doesnt open - browse the directory as the way i want.. it opens with internet explorer , but i want it to open with windows explorer. did u get what i mean ?

well, can anyone pls tell me how to Browse the folder by Flash Button ? plss.!

i am waiting for your help..

thank you..

Can Flash Tell Me How Many Files Are In A Folder?
Hey People

ok so this what I wanna do. I want to make a dynamic website which reads a certain folder(or perhaps just a certain set of files ie. graphicxx.jpg upwards) and depending on that create said amount of buttons or links or whatever.

Can flash look in a folder and see how many files there are in that folder and return a numerical value?

Syllosigm

Can Flash See How Many Files There Are In A Folder?
Is there any way to tell flash (alone) to count the files in a specific folder? I'm loading some images from a folder and the quantity of files is not constant, so instead of editing the text file (I'm grabbing information from that via LoadVars) each time, can I get the number of files with flah, without any eternal script?

Thanks in advance.

Is There A Way To Get Flash To Tell You Which Files Are In A Folder?
In Director you could do this:
getNthFileInFolder(n) was the syntax from memory (running inside a loop that was initiated via getting the number of files in the folder).

Can Flash do this? This would be for an exe file as the final output.

All I'd need returned is a list of filenames.

At the moment I'm numbering my text files - 01.txt, 02.txt, 03.txt etc... I can find out how many files there are by doing a loadVars inside a massive loop until I get a load failure, but it'd be better to be able to name the files according to what they contain and have Flash just look at how many there are and what their filepath or filenames are.

Thanks for any help,
pH

Open Folder From Flash .exe
hi i have new task this contain two part first is in flash when finshed it user can click btn that open folder that in same domain of flash
i know that flash must save as .exe to act with window but i don't know what is code that open external window
i need help plz

Targeting The Flash Folder
I have put all my swf in a flash folder.
When i load a movie using loadMovie("myMovie.swf") i can publish my flash movie and see it fine in flash but not in dreamweaver or on the net.
when i use the full address loadMovie("

Opening A Folder From Flash Exe
I am actually looking for a solution where in I can open a folder by clicking a button in my Flash executable file.
E.g., I have 'dbs.exe' I have a button in this file linking to Windows folder. when this button is clicked it should open the 'Windows' Folder. Is this possible? How do I do it?

Link To A Folder In Flash
hi, i got a problem in flash that i had a gallery where the most of the gallery i buildet in actionscript so some of my movieclips are ind the library in a folder. so that i need is a script to load a movieclip in a spicific folder with actionscript. how do i made that?

sorry about my english :/

Folder View In Flash
When you go to *Open* in Flash, is there a way to have your view set to *Details* without having to manually click *View Menu > Details* EVERY TIME?? It’s doing my head-in big time!!

I Want Flash To Open Up A Folder
I have about 6 folders full of pdfs, jpegs, tiffs, ect...
I wanted create a Projector movie on a CD. I would place the folders on the CD.
Is there a command in flash to open up a folder? Not a specific file but a folder? It's going to be used on the PC.



Thanks
Jeff

AS2 - Browse Folder With Flash
I'm pretty sure it's not possible with Flash on it's own, but I have a client who has developed a flash presentation and they want it to be able to take the filenames that are in a folder and display them in the flash application. Like a mini file browser in Flash. Click the filename and it opens the file.

It needs to be dynamic though. When the user drops a file into the folder, Flash automatically recognizes it's there the next time the Flash application loads.

Any ideas? Zinc or other third party software?

It needs to be a stand alone application so AIR won't work for this.

Load A Movie To Another Level And The Buttons In Base Level Still Work..
Hello,

Ok Im loading movies into level 95. The problem is the movie at the base has buttons in it and they are still active through the movie that is loaded at lvl 95. So to fix this I made one large button and made the movie at lvl 95 dragable. The only issue with this method is now your cursor looks like it is always active. So has anyone figured out a way to block buttons that are at the base level if you load into a upper level?

Thanx
Robert

Why Are Buttons On A Lower Level Still Active In A Loaded Higher Level...?
hi, i'm very new to flash and am in the midst of trying to figure out the loadMovieNum feature. I have the one swf loading into a higher level (say 10) but the buttons on the level below it are still active (ie you get the little hand if you roll over them) even though they are no longer visible. I tried loading all levles into 0, but that means the page below goes away entirely and i like having the preloader of the next page pop up over the current page. I've tried just loadMovie into an empty MC but get the same result. Can anyone help?

thanks in advance!!

[F8] Quiz Template Not Computing Score When Loaded Into A Level Other Than Level 0...
I have created a 10 question multiple choice quiz from the quiz template, and it works perfectly as its own .swf. But when I use the moviecliploader object to load the quiz .swf into another .swf in level 5 (or any other layer other than 0) I am able to go through all of the questions and get the correct feedback, but when the results frame shows up, nothing gets computed. Does anyone know what I should do to allow this to work? Thanks.

Quiz Template Not Computing Score When Loaded Into A Level Other Than Level 0...
I have created a 10 question multiple choice quiz from the quiz template, and it works perfectly as its own .swf. But when I use the moviecliploader object to load the quiz .swf into another .swf in level 5 (or any other layer other than 0) I am able to go through all of the questions and get the correct feedback, but when the results frame shows up, nothing gets computed. Does anyone know what I should do to allow this to work? Thanks.

HELP With LoadMovie: When I Load Level 1, Level 2 Disappears And Shouldn't
Hi I have a problem...
I have a movie on level 0 with menu buttons A, B and C. Every button loads a new movie (movie A, movie B and movie C) and they all load the movie in level 1. I have another movie containing the music (movie MUSIC).

When I load the site (level 0) I first load the music (movie MUSIC) in level 2 with a loadMovie(2) and later I let the user choose if he wants to see movie A, B or C by loading them with loadMovie(1). Unfortunately when the user clicks on a button to load any of the three movies A, B and C, the music MOVIE disappears and therefore the music stops. I need the movie MUSIC to be in the top-most level and to load before the other movies do, that's why I have it in level 2, so the controls (play, stop, volume) are always on top of all other movies loaded.

Can you please help me make the music play without the music MOVIE disappearing and stopping when a movie UNDER/BELOW is loaded in a level lower that the music movie's level?

Thanks a lot!

Return At Level 0 In A Specific MC Frame By Clicking In Other Level...
I have a movie that loads (by a button) others swf's in level 1, 2...

My problems are:

1 - These buttons functions, in level 0, being still working when I "loadMovieNum" and then I have another ones above in levels 1, 2...
How can I make the bellows buttons (level 0 - that are "invisible") to stop working?

2 - I used "tellTarget" function in level 0, inside a MC, that jumps to frame 100 to 150 and stop. And so it loads another swf's in levels 1, 2...Nice.

The code I used is:

on (release) {
tellTarget("/my_movie") {
gotoAndStop(150);
loadMovieNum("filetwo.swf",1);
loadMovieNum("filethree.swf",2);
}
}

Otherwise, when I "unloadMovieNum" 1, 2... and it returns at level 0, the playhead starts again in frame 1.
How can I return at frame 100 by the same click?

The code I´ve put in a button in filetwo.swf is:

on (release) {
unloadMovieNum(1);
unloadMovieNum(2);
loadMovieNum("fileone.swf",0);
_root.my_movie.gotoAndPlay(100);
}

What is wrong?

Whoa.. Sending A Variable From Level 1 To Level 0.. Hmmm...
I thought this would be easy but can't find the code anywhere.

I've loaded a .swf movie into level1 and want to click a button in that movie that changes a variable in the main timeline (level0).

Does anyone know the actionscript to do this?

Thanks dudes,
bossanova

Return At Level 0 In A Specific MC Frame By Clicking In Other Level...
I have a movie that loads (by a button) others swf's in level 1, 2...

My problems are:

1 - These buttons functions, in level 0, being still working when I "loadMovieNum" and then I have another ones above in levels 1, 2...
How can I make the bellows buttons (level 0 - "invisible") to stop working?

2 - I used "tellTarget" function in level 0, inside a MC, that jumps to frame 100 to 150 and stop. And so it loads another swf's in levels 1, 2...Nice.
Otherwise, when I "unloadMovieNum" 1, 2... and it returns at level 0, the playhead is on frame 150.
How can I return at frame 100 by the same click?

Loading Movie To Level 1, Cancelling Out Level 0 Buttons?
I have a movie (main.swf) and when you click one of the buttons, it loads section.swf on top of main.swf onto level 1

When section.swf appears on the screen, everything is fine BUT... the buttons on the main.swf work THROUGH the section.swf which is on level 1. Is there anyway to cancel out the buttons on level 0 when a movie is loaded ontop of it to level 1????

TIA

Return At Level 0 In A Specific MC Frame By Clicking In Other Level...
I have a movie that loads (by a button) others swf's in level 1, 2...

My problems are:

1 - These buttons functions, in level 0, being still working when I "loadMovieNum" and then I have another ones above in levels 1, 2...
How can I make the bellows buttons (level 0 - "invisible") to stop working?

2 - I used "tellTarget" function in level 0, inside a MC, that jumps to frame 100 to 150 and stop. And so it loads another swf's in levels 1, 2...Nice.
Otherwise, when I "unloadMovieNum" 1, 2... and it returns at level 0, the playhead is on frame 150.
How can I return at frame 100 by the same click?

Upload To Web Folder Using Flash Form
I downloaded and example from:

http://www.impulsedigital.com/idio/idio-v1/

Unable to get it to work on my website - I need to configure it properly, but I don't know if I need to change the asp pages or something in the Flash file itself. Any help would be appreciated.

Can Flash Detect Files In A Folder?
Is it posible for flash to read files in a specified folder? Or detect, for instance, how many .jpg or .swf files there are in a folder?
I need this to work on a CD ROM.
Any help will be appreciated

Flash Accessing Protected Folder
Question 1

Does anyone know if it is possible to make a .swf file will be able to dynamically load jpeg's from a hta.access protected folder which I want to set up?


Question 2

Also does anyone know of any freeware .fla files that can be used to setup a flash based polling system?

Thanks for any help.

Sub Folders, Flash Folder Specific?
the last few sites ive uploadedhave had a folder structure like
images folder
flash folder
html/asp docs

i noticed
that if i try and simply load another file from the flash folder into fla**** fails...more so when its in a sub folder in flash...it just cant find it i end up having to dump everything into one directory...

im using simple AS
loadMovie("images/pan2.jpg",_parent.parttwo)

its weird cause it works localy anyone ever stumble on this...?

How To Print Several Jpgs From A Folder With Flash.
Hi all. I am having trouble thinking how to print several jpg-s from a folder with flash. I have an xml file with the pics, the pictures names are the same example : pic01 pic02 pic03 ....


HELP!

Load Folder Of JPGs Into Flash
Hi all,

Does anyone know if it is possible to load a folder of JPGs into Flash? I have an online graffiti board application (see www.aegreen.co.uk/telematics) and would like to display the images created on an "online whiteboard" as it were but this would involve reading the folder the JPGs are stored in and loading them all in. Anyone know?

Thanks!

View Folder Contents? Can I Do This With Flash?
Hi. I'm trying to get flash to read the contents of a folder, but don't know how to do it. One thread said I'd have to do it with php. I'm unfamiliar with php (completely), so I wouldn't know where to start there.

Can flash display the contents of a folder I direct it to?

If I have to use something like php, can someone walk me through it / share some code?

Thanks much.
-Greg

Flash+Php For Reading Folder Contents? How To...
Hi there,

I need some help with flash mx.
I want to load in a "list" component the entire contents of a given web folder (everything online).
Do I need php for this?

Can someone show me how to do it?
Thank you very much!

Where Is The Templates Folder For Flash MX On A Macintosh?
I built templates for a graphic artist to use and want him to install them in his Templates folder on his computer (a Mac), so he can open them with New from Template.

Where is the Templates directory on a Mac (OS9)?

He can't find it, and I don't know what to tell him.

Thanks in advance.

Flash Will Not Save To A WevDAV Folder
Hi,
Can anyone recommend an online file folder service that works well with Flash Pro 8
AND
supports locking (to prevent two people from editing a file at the same time)
AND
is secure?

I tried several WebDAV servers (FilesAnywhere, MyDocsOnline) and although they work great for Office apps, Flash Pro 8 (under Windows XP) will open a file from a WebDAV folder, but it will not save a file to one.

One alternative is apparently to use simple folders mapped to letter drives (in Windows) but in that case the username/password are sent across the link unencrypted. Same problem with regular FTP.

I am looking for a way to have several people work on a common collection of FLA files and have them all visible directly with File-Open and File-Save in Flash.

Thanks!

Folder Index In Flash With Icons
Hey people,
I have a problem:
I want to create an online work environment for my project group in Flash.

One part of this application should allow people to upload files and check out files other people uploaded to the server.
My problem is how can I let Flash display an index of a folder on the server (you should also be able to open folders, execute/download files and maybe create folders).

I also want the application to detect the files extensions and then give it an image as icon (like Windows does).

Can anyone help me? The tools I can use for this project are:
- Flash MX
- PHP
- MySQL

Thanks in advance...

Can I Count No. Of Images In Folder From Flash ?
Hi ! all


My query is related to loading images from folder. I have a folder outside. I have created a animation in flash, .

Now I want to load all the images one by one, but if there are 5 images then after the 5th images again 1st image should come.

I have done this thing also, but my doubt is what, how can i count that how many images are there in my folder.


Code on first frame

if (whichPic == 5) {
whichPic = 1;
}
whichPic = whichPic+1;
loadMovie("images/flashimages/image"+whichPic+".jpg", "square");

Code on the movieclip "square"

onClipEvent (load) {
_alpha = 0;
count=0;
}
onClipEvent (enterFrame) {
if (_alpha<=0)
{
count=0;
}
if (count==0){
_alpha += 3;
}

if (_alpha>=99)
{
count=1;
}
if (count==1)
{
_alpha -= 2;
}
}



I m attaching the source file also.

If possible give me the reply

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