The Ghost Of A Sound File? Keeps Coming Back From The Dead
Okay, so I download this totally amazing set of sound files. They're miscellaneous machine gun and rifle sounds, if it makes a difference. So, I take them into QTPro, and edit out everything but one second of the clips. Don't need more than that. So, I have three clips, all different, all 1 second long. I exported them as MP3's, since that's the original format they were in. In QuickTime, they play for 1 second. In iTunes, they play for one second. In Flash, however, they play the full 6.8 seconds, 12.1 seconds, and 40-some odd seconds! What gives? I mean, I trimmed them, and exported them as different files and filenames! Anyone know what happened?
-Thanks in advance,
[edit: spelling]
FlashKit > Flash Help > Flash General Help
Posted on: 01-03-2003, 01:00 AM
View Complete Forum Thread with Replies
Sponsored Links:
Coming Back
ok i have this square for example ...
when i press it moves with a simple tween ...
how can i make it that when i press it agin it goes back to it original place ?
meaning
on press 1 moves to certain place ... ( done )
on press 2 goes back to it original place .....
will this a fla. to show u what i mean ...
http://www.sendspace.com/file/b8w3io
help =D
View Replies !
View Related
Ghost To Avoid Mouse Then Go Back To Original Position After 3 Seconds - Script?
I have built a ghost movie that fades in and out. I have placed this ghost next to a coffin at the corner of my flash screen. I put a button on the ghost so that when the mouse goes over the ghost, it moves but I would prefer it to do the following so that it gives it more life and not monotonous:
- the mouse goes near the ghost, like 50px near it and the ghost will move away from the mouse.
- the ghost will always be facing the mouse when the mouse is near the ghost and not when its more than 50px from the ghost. So if the mouse tries to touch the ghost from the right side, the ghost will face towards the mouse and move away.
- if the mouse does not go near the ghost again after 3 seconds, it will go back to the original position it was in, next to the coffin.
Is this possible to put this all on the button, if not what would be the best way to do it. Ive done the ghost moving around the flash page and the button getting it to move, but theres no life in it, very predictable.
Thanks to All
View Replies !
View Related
Since Flashtyper Is Never Coming Back..
Im interested in knowing how to implement one of the text effects into my own project. Since the FLA's do not come with instructions, how would one use something like this:
http://www.flashkit.com/textfx/Other...F-31/index.php
in their own projects?
Help appreciated.
For Flash 5
View Replies !
View Related
OnResize -> Coming Back To First Frame
Hello,
I´ve done a movie with two frames controled by onResize. It works fine in the first frame, but when I do a resize of the browser staying in the second frame the movie comes back to the first frame.
If I use only one frame, the result is similar. The objects comes back to their initial state. So the resize of the browser is reloading the site. I´ve tested in IE, Mozilla and Eudora, obteining the same result.
Any Idea?
Thanks in advance :)
View Replies !
View Related
Coming Back From A _blank Page
Hello,
I have a page with a logo (.swf) if you click on the logog a _blank page comes up (the homepage)
If you close this homepage i want a message to be displayed on the first page that says thank you for visiting my homepage...
How can i do this? do i have do this with java with html? Does anybody know?
thanx in advance....
Andreas
View Replies !
View Related
Depths Problem On MC When Coming Back To The Frame
Hi,
I have a movie clip with a depth of 1000. When you first enter the frame, the depths are fine. However, if you go to another frame and then back to this frame, this movie clip is no longer at the highest depth.
Here's what I'm talking about... click on the "About this Music" button.
http://dev.sheridan.edu/Home_page_in...ge_Splash.html
The paper falls down over the buttons, as it should. Now, click on one of the other buttons, like savings, then click home or back... and now if you try the "About this music" button, it will fall behind the carousel.
I don't get it?
I used this action script:
Code:
swapDepths.call(paper, 1000);
//-- The About Music Drop Down
I've also tried:
Quote:
paper.swapDepths.getNextHighestDepth();
View Replies !
View Related
Variables Coming Back Undefined? Any Ideas For A Solution?
Hi all.
I am having a problem with variables in flash.
On the first keyframe I have a variable as part of my xml object. Which is all fine. and example would be:
ActionScript Code:
var whichClient:Number;
This is basically my index for keeping track of my xml node or position.
However I would like to use this value in a different area of my movie, the advantage of this is that I can use the loadMovie and of course call whichClient + swf etention, this way I can perform other tasks,
but the variable is coming back undefined.
I have tried also just creating a variable:-
ActionScript Code:
var message="hello world"
on the main time timeline, and called this from within a mc, and i had the same problem, it came back undefined.???
please help
Trev
View Replies !
View Related
Can Anyone Spot My Mistake Here, My Trace Coming Back Undefined, But Looks Perfect?
I am having some trouble and I cannot put my finger on it, coming back undefined, but all looks perfect! no?
my xml
ActionScript Code:
<clients> <client> <image>1.jpg</image> </client></clients>
my flash actionscript
ActionScript Code:
clientXML = new XML();clientXML.ignoreWhite = true;clientXML.load("client.xml");//has the xml loadedclientXML.onLoad = function(success) { if (success) { xmlNode = this.firstChild; total = xmlNode.childNodes.length; for (i=0; i<total; i++) { //xml retrieval image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue; } firstXML(); }}//FIRST XMLfunction firstXML() { trace(image[0]); };
View Replies !
View Related
Ghost Background On Jpeg File In Movieclip
hi,
I'm generating jpeg files in fireworks with a solid colour RGB background, then importing into flash which has the same RGB background settings. the jpegs are then made into movieclips that fade in from 0 - 99%, the problem is that the jpeg background then doesn't match the flash background, but if I change the movieClip alpha to 100% it does match?, thing is that I need the final alpha to be 99% to prevent the flicking that happens when a jpeg is 100%.
I've tried this with tweening and codeing both with the same ghosting at 99%.
any pointers would be great
smashing
View Replies !
View Related
[CS3] AS2.0 What The? Corrupt Hidden Work File? Ghost In The Machine?
Okay, I'm stumped...any help greatly appreciated!
I was doing a website with semitransparent dropdowns, etc...Using Flash CS3, but ActionScript2.0 for Flash Player 8 compatibility.
I had everything working so far; then I decided to write a more efficient function to evaluate which navigation tab (if any) the mouse is over, so the appropriate actions can occur.
The new function didn't quite work...nothing out of the ordinary there!...but then I tried throwing a trace statement into various places in the code, just to test things...and it didn't display anything, even when placed before the function call. I was using just a simple statement like:
trace ("Foo"); (we'll ignore the obscenities I started to use later...)
I tried placing it various places, and checking with the debugger that the code was actually being stepped through. It was, but the trace method just wasn't working.
Just to be sure, I created a new file, with the single statement: trace("Foo");...it worked fine, displaying "Foo" in the Output panel.
So then, bit by bit, I removed every single line of code from the problem .fla file...no "include" or import statements, no custom classes, no ActionScript anywhere...except the single trace statement...and the trace statement wouldn't work! I even removed every layer, recreated the Actions layer with a new one containing the trace statement...nada. I also deleted the compiled .swf file, just in case, and tried the trace statement on different frames, etc...no luck. Also tried re-saving the .fla file with a different name, in a different location, etc.
What gives?!?? Is there some kind of crazy corruption hidden somewhere? Are there some kind of temporary compiled files that are hidden? It occurs to me that hopefully I can go back to the last working version, but this is bizarre, and seems like something I should know the answer to.
Anybody know what could be causing this?
Thanks!
Bradford
View Replies !
View Related
STEALTH SOUND Where Is It Coming From?
Now this is very weird!
I've got a FLA file, handed to me to change the "hover" sound for a button. No brainer...just open it up and...
..no sound in the timeline! The object is in the Library, but it's nowhere on the timeline! No actionscript is being called, no reference to anything.
But when I export an hover over the button...hey...SOUND!!!!!
Where is it coming from! Where is the refernce being set?
I've opened every single object, looking for a reference to this Lib object....nothing. Checked all timeline entreis for a reference...nothing. Even exported all actionscript to file and checked the files....nothing.
Is my FLA file possesed? Should I have my machine blessed?
Does Flash 8 now have a Jedi skill requirement I'm unaware of?
Obe Wan - "You will play sound!"
SWF - "No, I won't!"
Obe Wan - "You WILL play SOUND!!!"
SWF - "No, I wo......wait.....software update.....yes I will!!!"
HELP!!!!!!!!!
View Replies !
View Related
Where Is The Sound Coming From? Driving Me Insane
Okay here's the problem.
I have a flash file i'm working on that was developed by a 3rd party. I'm customizing it.
In the flash there are navigational links, however these links are individual movie symbols instead of button symbols.
Upon mouse roll over, the navigational links animate and play a sound. It also plays a sound when clicked.
I found the action script that causes the animation but for the life of me I can not find out how the sound plays. Both the sound when you rollover and the sound when you click it.
I checked the movie properties and actionscript, and it only shows how the animation works.. nothing relating to sound.
How can i find out the answer, it's driving me insane!!!!! lol ahhhhh
Thank you in advance for your replies.
View Replies !
View Related
XML File Not Coming Up
Hello,
I have a calendar which works like a gem. But if I call it into my main movie through createEmptyMovieClip, the XML doesn't come in.
Here is some of the code on the first frame of the calendar...(there are 4 frames with code on each one, for that file)
PHP Code:
calendar_xml = new XML();
calendar_xml.ignoreWhite = true;
calendar_xml.load("calendar.xml");
calendar_xml.onLoad = xml_handler;
Any help would be enormously appreciated.
Thanks in advance,
bluej2
View Replies !
View Related
.gif File Is Coming Out Funny
Hello,
I have two files I created for buttons. They look good and clean, but when I view the file in a browser, the text looks ragged. I increased my Publish settings to 100% for jpg quality (although they are .gifs) and HTML quality to Best. Any help would be appreciated to why this is happening.
You can see them at http://www.ayslimos.com/test.html, skip intro then click on "Reservations". They are the Reservation Request button.
Thanks in advance,
MonaE
View Replies !
View Related
Pop Ups Not Coming To Front Of .swf File?
Hello!
I am creating a .swf file to burn onto a CD that has links that open browser windows that access certain urls. On the initial button, the browser comes to the front of the .swf file just fine. Then I resume my movie and the browser moves to the back of the .swf. On the second button, the browser no longer moves to the front of the .swf but continues to run BEHIND it.
Is there any actionscript I can use to make sure the browser window jumps to the front of the .swf file?
(NOTE: this seems to work fine on macs but not on pc's)
THANK YOU FOR YOUR HELP!
View Replies !
View Related
Linkable Text Coming From .txt File
Silly question: What would be the format of the .txt file if I wanted to make links and/or changes to the text within these variables?
i.e. Given following file, want "mumble" bold or an anchor around it or just insert a break:
text1=mumble mumble mumble.&text2=swonderful, smarvelous.
Thanks for any info...
View Replies !
View Related
Linkable Text Coming From .txt File
Silly question: What would be the format of the .txt file if I wanted to make links and/or changes to the text within these variables?
i.e. Given following file, want "mumble" bold or an anchor around it or just insert a break:
text1=mumble mumble mumble.&text2=swonderful, smarvelous.
Thanks for any info...
View Replies !
View Related
Flash File Coming Up In Google
Hello,
I've used Flash for my portfolio which has details of websites that I've designed -www.rubydesign.co.uk/portfolio.html but one of my clients has told me that when he googles his name "sean pines" the fourth link that comes up is the flash movie file on my website which looks rubbish. Any ideas how to stop this from happening?
Many thanks
View Replies !
View Related
Swf File Coming Into A New Movie Library As A Graphic
I am trying to bring a swf file I made into the library of a new movie. I have don this many time, but for some reason this particular file will not come into the library as a swf. Can anyone help me with this? I am desperate.
I am attaching the fla file, if you export it as an swf file and try to import it into a new movie it will come into the library or onto the stage as a graphic file and cannot be used.
I am using FlashMX2004
Thanks to anyone who can help, Carolyn
View Replies !
View Related
Bullet Points Coming Up As Squares When Using URL Encoding In Text File.
Ok, i've got a flash file that pulls the text from a text file. I'm using URL encoding for things like carriage returns etc. It all works fine, except for bullet points which are appearing as squares, rather than dots.
The file looks like this: http://www.scottwilson.com/test/index.html
My text file looks like this (i've cut it down to show just the relevant bits):
-----------------------------------------
var1=Regeneration of the Trent and Mersey Canal Conservation Area in Middleport/Longport. The major buildings identified were:
%95 Price and Kensington Pottery Middleport Pottery%0D%95 Port Vale Flour Mill Middleport Mill (former Calcining Works)
-----------------------------------------
As you can see, i'm using '%0D' for a new line (this works fine) and i'm using '%95' for a bullet point '•' but it's coming up as a square (As you can see).
Where am I going wrong?
View Replies !
View Related
Creating Text File - Or - "Beating A Dead Horse"
Hey Folks,
Please forgive me for revisiting this often-asked question, but...
I just installed Flash MX 2004, and was wondering if there was
any new functionality that allows the developer to create and
write to an external text file.
From what I've read, this is possible using PHP, ASP, etc... Though,
that requires access ta a PHP or ASP web server - something I don't
want to set up at this time. So, I guess I'm asking if there is any
way to create/write a text file without the help of PHP, ASP, or
a web server?
I'm inserting the movie in VB and using FSCommand to communicate
between the two - Flash input, VB create the file. This works, but
is not very elegant, not efficient, can't run it in IE, etc...
Can you do it using XML? Any other suggestions?
Thanks A Lot,
View Replies !
View Related
Back To Back Sound
Last edited by myounis : 2004-12-01 at 00:37.
well, i must admit im a little ignorant when it comes to sound. All i want to do is use onsoundcomplete to gotoandplay (20). After the preloader, my movie stops on a certain frame with sound on it, when its done, i want it to play 20.... thats about it. thanks.
View Replies !
View Related
Sound Comes Back On After Turning It Off...
I have 2 frames that are looping infinitely. When you click on the speaker to turn off the sound, it works, however when it loops back to the first frame, the sound comes back on. Anyone have a solution for this?
Here's my FLA for those of you who want to be really nice and fix it for me
http://www.benefitsinacard.com/dev/test_header2.fla
View Replies !
View Related
HELP - Bringing The Sound Loop Back In Again
Hope someones able to help out with this little problem i've got.
If it helps i've added the link to my site below.
The problem:
My site has a background loop. When you click to view a showreel in the showreel section, i've made the background loop stop, so it doesn't clash.
When you close the popup window with the showreel, i'd like to have the background music on the site resume, is this possible???
www.maverik.tv
Thanks everyone!
View Replies !
View Related
Recording And Playing Back Sound
Hi,
I'm doing a proposal to create an educational kiosk about the human voice...
I need to be able to record 10 seconds of the user speaking and then play it back when they click on a button.
Searching through the various posts it appears this is possible but I haven't yet seen any specific info. Can anyone direct me to a tutorial or otherwise guide me through how to structure this?
Let me say upfront I'm a designer not a programmer, but I do have basic AS skills and deeply respect those who expertly wrangle this program that so often confounds me!
Cheers,
Richard
View Replies !
View Related
IE Ghost Box
hi.....
hope you guys have noticed a box around the flash when we preview in the intenet explorer.
we need to click once to remove this,then only we can click any link to that flash..
is there anyway that we can avoid this box?i head that its some bugs in IE.any help?
View Replies !
View Related
Pausing A Sound Then Playing Back From Where It Left Off?
The title just about says it,
I have 2 buttons for a mini music player,
play and pause,
on the play button i have:
Code:
onRelease = function() {
if(!_root.musicPlaying) {
_root.mySound.start();
_root.mySound.position = _root.musicPosition;
_root.musicPlaying = true;
}
}
and on the pause I have:
Code:
onRelease = function() {
if(_root.musicPlaying == true) {
_root.musicPlaying = false;
_root.musicPosition = _root.mySound.position;
_root.mySound.stop();
}
}
But for some reason whenever i press play after I press pause, it goes back and plays from the start.
Does anybody know why, and if so how do i fix that?
-Thanks
View Replies !
View Related
Mute Button- Turning Sound Back On
I've made a mute button for my embedded FLV sound. I'm using SoundMixer.stopAll(); as the controlling action. How do I start the sound up again? From what I could tell, there wasn't a SoundMixer.playAll();, which would be the logical choice.
The sound is embedded into the FLV, so I don't have direct control over it.
Thank you.
View Replies !
View Related
GhOsT Image
Hello everybody and thank you for taking time to help me.
My Flash experience is rather thin and i can't find why, there's some kind of ghost image which flashes when u click on the active buttons and launch the next scene.
The last image of the 1st scene and the 1st one of the following scenes are identical. There's an action on the button which is Goto and Play scene so and so, image 1.
Can someone tell me what i did wrong?
Thanks in advance for your help.
http://www.jb-webdesign.ch
View Replies !
View Related
Ghost Image
Is there some special thing in flaash that makes it so that a moving object has a ghost image, you know a trailing instance of the image that slowly fades? Or do you have to make them individual images and animate them by them selfs to create that effect? thanks helpful comments are appreciated.
View Replies !
View Related
Ghost Images
Hi
I'm wondering if anyone has come across this problem.
I'm doing a drag and drop activity and rather than use droptarget, we're using collision detection. This allows us to put droptarget/collisions on top of one another.
These droptargets have been set to an alpha of 0%. The problem with this is, sometimes when you drag an object over 2-3 droptargets which are sitting on top of each other you see an outline or a block were the droptargets are. Also they sit in an MC and trying to do a tween of that MC results in the outline or block appearing for a couple of frames.
It seems to be directly related to the fact that similar shaped drop targets (or the same droptargets with different instance names) are sitting on top of each other.
Does anyone know any other tricks for getting around this?
View Replies !
View Related
Ghost Sounds
HELP!
I have a swf file that contains numerous different sound files. When a user clicks on of the buttons on the menu to load another movie, one of the sounds is heard when the button is pressed. There is no sound file attached to this button or on the frames in the movie where the button appears, it just happens to play that sound when this button is clicked and its not supposed to! whats going on?
View Replies !
View Related
Ghost In The Preloader
Hi -
I'm trying to build a preloader into "master.fla" showing a simple animation (loaderani_mc) and the progress % count (loading_txt). This preloader is not for bringing in external content but for preloading stuff on subsequent frames of master.fla.
I've been messing with so many variations I may have gotten lost ...but now I'm seeing double!
Using the attached code I'm seeing 2 of the same preload animation with % text...even though there's only one mc on stage.
If I comment out the lines about loaderani_mc and loading_txt - only the old graphic and % readout shows up on the screen.
Even without any instances of the loader_ani on the stage, the old one shows up.
If I comment out all of the code I see nothing... so there's a ghost in this code somewhere.
There is other actionscript on other frames in the file but the only mention of loader_ani or stuff like "bytesLoaded" is in the code I've attached.
What's worse is - the old preload animation isn't working right - it appears after about 35% has gone by. The new one will appear in 2 or 3%. So I have a real reason to replace the old with the new ... but I can't figure out where it is.
Am I using this code correctly? Is there a mechanism in actionscript or Flash I can use to flush out this ghost?
TIA some expert input.
JL
Attach Code
var mcLoader:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadProgress = function(ztarget:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
loading_txt.text = "Preloading " + Math.floor(bytesLoaded / bytesTotal * 100) + "%";
//eagle loader animation
loaderani_mc.gotoAndStop(Math.floor(bytesLoaded / bytesTotal * 100)+1);
}
listener.onLoadInit = function(ztarget:MovieClip):Void {
}
mcLoader.addListener(listener);
mcLoader.loadClip("master.swf", 1);
View Replies !
View Related
Ghost Textfield
hi
i am using the createtextfield method to create textfields in my swf, but i can't see them!! i can copy paste the content of them, and the things related to them work properly, but they won't appear in my swf. i thought they were underneath some image, but when i switch off (_alpha=0) the image, there is nothing. i also have an attachmovie in the same movieclip i create textfileds in, but the clip attached is visible...
here's the code i am using:
for (i=1; i<=23; i++) {
createEmptyMovieClip(["jmfn"+i], i);
this["jmfn"+i]._x = 580/4*i;
this["jmfn"+i]._y = 0;
this["jmfn"+i]._xscale = this["jmfn"+i]._yscale=25;
this["jmfn"+i].createEmptyMovieClip("img", -2000);
this["jmfn"+i].img.loadMovie("images/jmf/jmf"+i+".jpg");
//creation de stats
this["jmfn"+i].createEmptyMovieClip("stats", 1600);
this["jmfn"+i].stats._x = 0;
//creation of TEXTFIELDS
this["jmfn"+i].stats.createTextField("total", 1650, 20, 40, 200, 40);
this["jmfn"+i].stats.total._xscale = this["jmfn"+i].stats.total._yscale=400;
this["jmfn"+i].stats.createTextField("charge", 1700, 20,100, 200, 40);
this["jmfn"+i].stats.charge._xscale = this["jmfn"+i].stats.charge._yscale=400;
this["jmfn"+i].stats.createTextField("pourcent", 1750, 20,160, 200, 40);
this["jmfn"+i].stats.pourcent._xscale = this["jmfn"+i].stats.pourcent._yscale=400;
//ATTACHMOVIE
this["jmfn"+i].stats.attachMovie("bar", "bar", 1200);
this["jmfn"+i].stats.bar._y = 20;
this["jmfn"+i].stats.bar._x = 20;
this["jmfn"+i].stats.bar._xscale =0;
this["jmfn"+i].onEnterFrame = function() {
trace(this.img.getBytesLoaded());
this.stats.total.text = this.img.getBytesTotal();
this.stats.charge.text = this.img.getBytesLoaded();
this.stats.pourcent.text =Math.floor((this.img.getBytesLoaded()/this.img.getBytesTotal())*100)+" %";
this.stats.bar._xscale =Math.floor((this.img.getBytesLoaded()/this.img.getBytesTotal())*100)
if (this.stats.pourcent.text == "100 %") {
this.img._alpha = 0;
//this.stats._visible = false;
this.onEnterFrame = null;
}
}
}
can anyone help??
View Replies !
View Related
My Video Is A Ghost
I have a small site with a Video page. On this page you can click a button and a flv loads dynamically onto a screen. If you go to another page on the site, the video clip is still showing ....like it's a ghost
What am I doing wrong?
This is the code I've used to call the flv:
Code:
on (release) {
CurrentVideoURL = "video4.swf";
LoadMovieNum(CurrentVideoURL,1);
}
Can someone please help as I can't upload the site until this has been sorted...much appreciated if you know more about these things that I do!
Yossarian
View Replies !
View Related
Ghost In Advanced Pop-up
there is a ghost in my advanced pop-up!!
have a look at my site.
http://www.hmmaah.com
the problems is that when the mouse isn't over one of the buttons, the pop-up graphic is still feintly visible.
can anyone help me getting rid of that?
View Replies !
View Related
Filereference Ghost
hello every one..
i am facing a strange problem ,
i have a set of files being downloaded from a server. When i download it on my machine which is the server it downnloads.. but on other systems , the file save dialog box opens but the file is not saved.( nothing is written to disk) after i click "save ".
I have used System.security.allowDomain("myserver ip");
still no file comes to the system...
can any one help please ??
View Replies !
View Related
Ghost Prototypes?
Flash is leading me to believe that my prototypes for the MovieClip class are haunted. Seriously. I have defined a couple of methods for the MovieClip class (setOutline and reloadItem), but recently changed a fair bit of the functionality of these methods.
By changed, I mean, commented out the entire contents of the setOutline method, and removed a bunch of traces from the reloadItem method.
So, when I test my swf locally, in Flash 8, everything works great. The setOutline method gets called by several objects, but, since the method contains no code, nothing happens. The reloadItem doesnt trace the stuff it used to. All good.
Or not. The craziest thing happens when I simulate download, or when I upload the swf live and view it in the browser....
Suddenly, setOutline works again. Suddenly, reloadItem traces all the wrong shiznit again.
WHAT THE GYUCK? Its as if Flash remembers the old versions of the methods, but only when its being streamed? Eh? Anyone who knows what the hell is going on, please dear God help me
View Replies !
View Related
Ghost Textfield
hi
i am using the createtextfield method to create textfields in my swf, but i can't see them!! i can copy paste the content of them, and the things related to them work properly, but they won't appear in my swf. i thought they were underneath some image, but when i switch off (_alpha=0) the image, there is nothing. i also have an attachmovie in the same movieclip i create textfileds in, but the clip attached is visible...
here's the code i am using:
for (i=1; i<=23; i++) {
createEmptyMovieClip(["jmfn"+i], i);
this["jmfn"+i]._x = 580/4*i;
this["jmfn"+i]._y = 0;
this["jmfn"+i]._xscale = this["jmfn"+i]._yscale=25;
this["jmfn"+i].createEmptyMovieClip("img", -2000);
this["jmfn"+i].img.loadMovie("images/jmf/jmf"+i+".jpg");
//creation de stats
this["jmfn"+i].createEmptyMovieClip("stats", 1600);
this["jmfn"+i].stats._x = 0;
//creation of TEXTFIELDS
this["jmfn"+i].stats.createTextField("total", 1650, 20, 40, 200, 40);
this["jmfn"+i].stats.total._xscale = this["jmfn"+i].stats.total._yscale=400;
this["jmfn"+i].stats.createTextField("charge", 1700, 20,100, 200, 40);
this["jmfn"+i].stats.charge._xscale = this["jmfn"+i].stats.charge._yscale=400;
this["jmfn"+i].stats.createTextField("pourcent", 1750, 20,160, 200, 40);
this["jmfn"+i].stats.pourcent._xscale = this["jmfn"+i].stats.pourcent._yscale=400;
//ATTACHMOVIE
this["jmfn"+i].stats.attachMovie("bar", "bar", 1200);
this["jmfn"+i].stats.bar._y = 20;
this["jmfn"+i].stats.bar._x = 20;
this["jmfn"+i].stats.bar._xscale =0;
this["jmfn"+i].onEnterFrame = function() {
trace(this.img.getBytesLoaded());
this.stats.total.text = this.img.getBytesTotal();
this.stats.charge.text = this.img.getBytesLoaded();
this.stats.pourcent.text =Math.floor((this.img.getBytesLoaded()/this.img.getBytesTotal())*100)+" %";
this.stats.bar._xscale =Math.floor((this.img.getBytesLoaded()/this.img.getBytesTotal())*100)
if (this.stats.pourcent.text == "100 %") {
this.img._alpha = 0;
//this.stats._visible = false;
this.onEnterFrame = null;
}
}
}
can anyone help??
View Replies !
View Related
My Video Is A Ghost
I have a small site with a Video page. On this page you can click a button and a flv loads dynamically onto a screen. If you go to another page on the site, the video clip is still showing ....like it's a ghost
What am I doing wrong?
This is the code I've used to call the flv:
Code:
on (release) {
CurrentVideoURL = "video4.swf";
LoadMovieNum(CurrentVideoURL,1);
}
Can someone please help as I can't upload the site until this has been sorted...much appreciated if you know more about these things that I do!
Yossarian
View Replies !
View Related
Ghost Image
I have built a site but have run into a small technical issue that is pushing back the launch. One tester (who just happens to be a marketing manager) is viewing a mild color alteration/ghost of an image when on some of the pages.
No one else can replicate the issue, and the screen shot of the ghost shape actually appears to be the shape of some text boxes which alpha out earlier in the movie. My guess is that the user's monitor is having a hard time correctly rendering the alpha channels in the movie. I could be wrong, and would like to know if anyone else has run into a similar problem, and how they resolved/fixed it.
You can view a screen shot at:
www.shantytownworldwide.com/ghost.html
View Replies !
View Related
Sound In Movie Turns Back On After Going Backwards In Timeline...
Hopefully this is a simple one to fix...
I have a flash site that has a looping soundtrack. You can turn the music ON or OFF via a simple little button on the page. However, when you turn the sound off, click on a link, and then click on another link that happens to be prior in the timeline, the sound turns back on and I have to click the sound control button twice to turn it off again.
The sound is loaded in the same movie clip that controls on/off function and is then loaded on it's own layer in the main movie.
Here is the link to the site so you can see what I mean...
http://www.smkcc.com
Please help! THX
View Replies !
View Related
Select Audio Device To Play Back Sound
flash media server ,provide property Microphone.names that retrieves an array of strings reflecting the names of all available
sound capture devices.
is there is any property that detect output device attached to system so i can select which one to play back sound.
for example:-
i need to play back mp3 file in flash.
but i have more one output device installed in my pc.
the question is:-
is there is any way for falsh to list all (or detects) audio output device installed in my pc then let me pick one of them to play back sound by selected output device?
thanks ...........plz don't late to replay me
View Replies !
View Related
VIDEO PLAY BACK - SOUND (Stop A UIloader?)
PLEASE HELP ME SOMEONE!! I am going to rip my eyes out!
Here is what I have set up:
I have a website... http://www.thedrewblood.com
I have several pages set up on a main time line. Siting on my main time line is a UI loader that automatically loads an mp3 player, which the client wants to play through, with out interuptions. The pages have labeled frames, and the buttons have eventlisteners to move the time line to the specific frame. On this frame (say it is "video") I have a movie clip, with the page content. Inside this movie clip time line I have a ui loader which will load my flv playback component with various video.
So, the video loads perfectly, and everything is fine. However, there are some complexities that I would like to remedy.
when you navigate away from the "video" frame, the sound from the video continues to play. I would like that sound to stop, or is there a way to stop the ui loader?
I want the video to play, and stop as you leave the frame because I don't want the ui loader for the mp3 player to be interrupted.
If anyone can help me it would be greatly appreciated!!
View Replies !
View Related
|