Weird Flash Vs. Html Priority Issue?
A site and Flash mp3 player I built are acting funny all of a sudden.
http://www.hugesound.com
It works fine in Safari & FireFox Mac, but not IE PC and sometimes it doesn't work in FireFox PC (others can repro. it, I cannot).
If you go to the site, then launch the Flash mp3 player (grey button at the bottom), then for example click 'Action', A song will automatically start streaming, then minimize the player and go back to the main site, then try to click on the buttons at the top to navigate to another page, nothing happens. You can't go to another page UNTIL the streaming song has finished loading.
It's like the player is using all of the available bandwidth and not allowing the html pages to update when you want to navigate to them. (that's how it acts in my bandwidth simulators at least) Has anyone else experienced this? Anyone fathom a solution? .... (but then why would it work perfectly fine in most browsers?) ....
B
Ultrashock Forums > Flash > Flash Professional
Posted on: 2005-10-28
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Text HTML Issue (really Weird)
Dunno why, but for some reason, when i use the italicize tag in my external text file, the italicized text won't show up on-screen. The <b> and <u> tags work just fine, but the <i> tag is causing some weirdness. Has anyone had this happen before, or does anyone have any suggestions? thanks.
Weird HTML (getURL) Issue With Custom Window.
Hi there. I have created a swf presentation in its own custom sized HTML window, and when you get to the end of the presentation you can click to view a specific website, however when you click the button, I get a 404, and it doesn't open the site in a new window, it opens it in the same window, eventhough I used the right command:
on (release) {
getURL("http://www.quaerospringboard.com/home.htm", "_blank");
}
THe link to the presentation is:
http://www.quaerospringboard.com
The page that the button at the end is referencing is:
http://www.quaerospringboard.com/home.htm
Very Weird Issue With Flash And Mac..
Hi, Im having a weird issue ( well at least weird for me hehe ) with an app. Im working on... I developed a video/audio player for a website, pretty basic, just some controls here and there, progress/seek bar, volume bar, nothing fancy...What is bothering me is that on windows, on every browser runs smoothly, suddenty I got a call from my client and tells me that on Mac it doesnt, so I tried on a Mac ( intel core 2 duo ) and everything is fine, I tried with a Mac with PowePC and oh my god what happens!!! hehe What I notice is that on Mac with PowerPC if a click on any of the controls (play/pause button, etc) they disappear as if the flash player stops rendering them...very weird.. I read at excelent blog http://www.kaourantin.net/ that mac and intel based pc handle image rendering different of course, but I dont know how to overcome this Anyone has gone into similar issue before? Here are some screenshots so you guys get the idea
With Intel Box:
http://www.estudiosbinarios.com/lab/Intel_box.jpg
With PowerPC Box :
http://www.estudiosbinarios.com/lab/PowerPC_Box.jpg
Thanks in advanced!
Weird IE/Flash Scrolling Issue
I have this flash movie with 5 frames in it. I had to make the flash movie as long as the longest frame so I would be able to print each page separately. Problem with that is, if you use the IE scrollbar and then click a next button on the flash movie, the next page doesn't force IE to go to the top of the window.
Is there a way on the next button to tell IE to scroll to the top of the page? And no, I'm going to put scrolling into the flash since it screws up being able to print each page separately.
Here's an example of the movie:
http://12.24.114.61/preview/red_zone/
you need to input values on the 5 boxes on the first page, just use all 1's for now, then on page 2, scroll down so the next button is on the top of the page and then click it, you'll see what I mean.
Thanks in advance.
[CS3] Weird Flash Issue In Firefox 3
hi i recently installed firefox 3 (for mac os x) and have noticed a very strange issue in it with one of the sites i have built. basically, if I go to the site http://forhadahmed.co.uk in FF3 the site (which is a flash movie) appears as intended, but if i type in http://www.forhadahmed.co.uk when the page loads the flash movie shrinks to a very tiny size (about 100 pixels, when it should be 800x600) at the top of the screen. i have not encountered this before and no other flash site i have made has this problem. i have not encountered this in any other browsers as yet either. has anyone else encountered this before, or know how to solve it? many thanks
Weird Netscape / Flash Issue
Hey guys,
This one is really is really weird...
Have a page with some flash content in it (a looping animation), which disables the nav drop down after it finishes loading in.
This only happends wiith Netscape, in all other browsers it's fine.
We have tried it with different SWFs, and the issue seems to go away and the nav drop downs work just fine.
Any ideas on this, anyone?
Please help if you have any clues, thanks very much!
Flash Authentication Portal -- Weird Issue
Hi,
I've made an authentication portal for my team using Flash.
After the user enters in his userid and password, he should be brought to the main menu.
What's happening in the code is this:
On the second frame of the Flash movie, I'm checking for two session variables (userId and isUserValidated). If the two session variables are defined, then that means the user is already logged in. The movie skips to the "Main Menu" frame, which displays a customized menu for the user.
However, if those two session variables are NOT defined, then that means the user is not logged in, and the movie keeps playing until it hits the UserId and Password prompts.
From there, the user logs in, his userid and password are passed to a Logon_Validator.cfm module, which basically determines whether his userid/password combination are correct or not. If the logon is successful, then the Session variables are set, and the webpage containing the Flash movie is re-loaded (in order to get the session variables). Once the re-loaded Flash movie gets to the second frame, it sees that the two Session variables are defined, so it skips to the "Main Menu" frame.
However, what happens sometimes (maybe 10-15% of the time) is that, after the user logs on and gets his session variables set, the re-loaded Flash movie seems to pass right over the code in the second frame that checks for the two session variables.
This is what the Flash ActionScript code on the second frame looks like:
Code:
stop();
if ((sBACUserID != "") && (sUserValidated == "YES")) {
_global.username = sBACUserID;
gotoAndPlay("main menu");
} else {
play(); // plays until the Userid-password prompt
}
I'm confused as to why sometimes this "if" block is skipped over. Am I handling session variables in Flash the correct way? (re-loading the webpage to get the variables into the movie) Any help would be appreciated! Thanks.
Weird Flash AS2/3 Hardrive Cache Issue
Hi Guys,
Lately since the start of my dev work with CS3 I ve been getting the weirdest stuff happening, and it is starting to hamper my performance and sometimes even throw me way off course.
It happens with the trace function.
Sometimes when I change a trace function within my classes to check for a value I get the same value as previously traced for.
For example Test 1: I trace the value burger
trace("BURGER IS "+burger) // Outputs BURGER IS YUM
Test 2: trace the value of burger but change the trace string
trace("WHOS YOUR DADDY "+burger) // Outputs BURGER IS YUM
It seems that a version of the swf is precached into my hardrive for easy compiling, but somehow is not updating when I change it. It is not for any stupid reason like I didnt save or something. I had some associates come over to my desk and showed them and they are convinced as I am that it some kind of bug.
Anyways I was wondering if anyone here has come accross this...and did they manage to solve it.
Thanks guys.
Flash Authentication Page -- Weird Issue
Hi,
I've made an authentication portal for my team using Flash.
After the user enters in his userid and password, he should be brought to the main menu.
What's happening in the code is this:
On the second frame of the Flash movie, I'm checking for two session variables (userId and isUserValidated). If the two session variables are defined, then that means the user is already logged in. The movie skips to the "Main Menu" frame, which displays a customized menu for the user.
However, if those two session variables are NOT defined, then that means the user is not logged in, and the movie keeps playing until it hits the UserId and Password prompts.
From there, the user logs in, his userid and password are passed to a Logon_Validator.cfm module, which basically determines whether his userid/password combination are correct or not. If the logon is successful, then the Session variables are set, and the webpage containing the Flash movie is re-loaded (in order to get the session variables). Once the re-loaded Flash movie gets to the second frame, it sees that the two Session variables are defined, so it skips to the "Main Menu" frame.
However, what happens sometimes (maybe 10-15% of the time) is that, after the user logs on and gets his session variables set, the re-loaded Flash movie seems to pass right over the code in the second frame that checks for the two session variables.
This is what the Flash ActionScript code on the second frame looks like:
Code:
stop();
if ((sBACUserID != "") && (sUserValidated == "YES")) {
_global.username = sBACUserID;
gotoAndPlay("main menu");
} else {
play(); // plays until the Userid-password prompt
}
I'm confused as to why sometimes this "if" block is skipped over. Am I handling session variables in Flash the correct way? (re-loading the webpage to get the variables into the movie) Any help would be appreciated! Thanks!
Flash Authentication Portal -- Weird Issue
Hi,
I've made an authentication portal for my team using Flash.
After the user enters in his userid and password, he should be brought to the main menu.
What's happening in the code is this:
On the second frame of the Flash movie, I'm checking for two session variables (userId and isUserValidated). If the two session variables are defined, then that means the user is already logged in. The movie skips to the "Main Menu" frame, which displays a customized menu for the user.
However, if those two session variables are NOT defined, then that means the user is not logged in, and the movie keeps playing until it hits the UserId and Password prompts.
From there, the user logs in, his userid and password are passed to a Logon_Validator.cfm module, which basically determines whether his userid/password combination are correct or not. If the logon is successful, then the Session variables are set, and the webpage containing the Flash movie is re-loaded (in order to get the session variables). Once the re-loaded Flash movie gets to the second frame, it sees that the two Session variables are defined, so it skips to the "Main Menu" frame.
However, what happens sometimes (maybe 10-15% of the time) is that, after the user logs on and gets his session variables set, the re-loaded Flash movie seems to pass right over the code in the second frame that checks for the two session variables.
This is what the Flash ActionScript code on the second frame looks like:
Code:
stop();
if ((sBACUserID != "") && (sUserValidated == "YES")) {
_global.username = sBACUserID;
gotoAndPlay("main menu");
} else {
play(); // plays until the Userid-password prompt
}
I'm confused as to why sometimes this "if" block is skipped over. Am I handling session variables in Flash the correct way? (re-loading the webpage to get the variables into the movie) Any help would be appreciated! Thanks.
Weird Firefox Flash Menu Issue
Firefox covers up html items even when a menu/submenu is not fully extended. Alternatively, the menu works just fine in IE 7.0. Does anyone have a work around for this?
Example www.seimw.com/castings/aseries
Thanks in advance.
Weird Issue With A Web Flash Nav Header And Safari/Macs *PLEASE HELP*
Recently a weird bug has presented itself in regards to a site I manage and design. Here it is:
http://www.jeffhardingmusic.com
For some reason the Flash Header will not load in Macs (either in IE for Mac or Safari) The presentation was exported from Flash MX 2004, and works fin in PC's. This is a recent development, the site was working properly, then I updated the site and it began to not load.
Is there any weird bugs when it involves swfs v.6&7?
What could be causing this problem?
Thanks all
JF
[Flash 5.0] Priority Problem
Hi there!
Ik have a problem with the loading part of my website www.blindlead.nl. You can see an intro movie (no preloader) and then you see the site itself. With a DSL connection it takes about 20 seconds to load but with a 33k6 modem, it took someone up to 12 minutes!
I tried some ideas, for instance to play a transistion, it has to be completely loaded first:
stop ();
ifFrameLoaded (61) {
play ();
}
So as soon as it's loaded, it will start playing so that it does't stop in the middle of a transistion. The other advantage would be that you can use the site while the pictures are loading.
Is there anybody who knows a solution to this problem? I'm already late with finishing this, so I do hope so.
Thanks in advance,
Bobby Rond
[F8] Help, What Aspects Of Flash Are A Priority To Learn?
I'm an amateur FLash guy who has been self-taught by way of Flash books over the last few months. I recently completed a class at the local design college as well. I'm looking to make a career change and hopefully make a move towards becoming a Flash Developer/Designer however I have no 'Flash-Friends' to help me out with simple questions. Can anyone suggest what would be the best way to go about teaching myself/learning Flash so I could set myself up for hopefully a career? If it's any help, I already have a thorough understanding of the program itself, tweening, etc, etc, all the basic stuff plus a decent understanding of basic AS 2.0.
Any suggestions or advice would be hugely appreciated...
Flash Button - Linking To HTML Page - Weird Problem
There could be a really easy solution for this, but I can't figure it out. I have a simple button that links to an anchor within an HTML page. Here the actionscript for the button:
on (release) {
getURL ("test.html#two");
}
when the button is pressed, the HTML page comes up but only to the top of test.html. The '#two' is not passed to the URL . Seems like everything after '#' is ignored. How can I get around this?
Flash Input Fields Displaying Weird Html Tags
Hello everyone!
i am building a small flash form where i have 2 input fields to which i have assigned variable names.
for testing purposes at when i click the submit button i have flash to trace the values of these variables.
i was expecting to see in the output window only the text i have entered in the fields.
Instead what i see is this
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#00AFEF" LETTERSPACING="0" KERNING="0">test</FONT></P></TEXTFORMAT>
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana_10pt_st" SIZE="10" COLOR="#00AFEF" LETTERSPACING="0" KERNING="0">test@test.com</FONT></P></TEXTFORMAT>
Anybody knows a way around this?
cheers,
*WEIRD* Issue....
I can't, for the life of me, seem to figure out what's going on here. This website is still *totally* under construction, but notice that if you mouseover the first option on the menu (ABOUT ARGENT), a drop-down menu will appear [the buttons don't really go anywhere yet]and 95% of the time if your mouse *leaves* the pull-down menu area, the pull-down menu disappears. If you fool around with it for a few secs though, you'll notice that sometimes it *doesn't* disappear!?!?! I can't figure out why though.
Here's the page in question:
http://www.babaganoo.com/Argent/index0304b.html
I'm using an invisible hitbox area that is a hollow rectangle around the proximity of the pull-down menu. It contains action script that looks like this:
on (rollOver, rollOut) {
gotoAndStop ("Menu");
}
It's not rocket science by any means, but I still can't figure out why it's not *always* working. Anyone have any ideas?
Thanks!!!
Please Help Weird Issue
I have a button that takes you to scene2 which has a stop in the first frame also in the first frame of scene2 I have an external swf load with the following code into an empty mc named "webload":
_root.webload.loadMovie("webtwo.swf");
the webtwo.swf has about 40 frames and pause action between each image that fades in and out. Now when I click to go into scene2, it loads the swf and shows first image in that swf then it automatically reloads the site !! so my question is, CAn you have an external swf that doesn't have a permanent stop at the end of the frames (edit: actually I added a stop action to the end of the external swf and this is still happening !?? I need to have the swf loop around so it fades the 3 images in and out. here is where it happens, click the second button after you click web
http://cgpuppet.com/test/main.htm
it's like the movie keeps looping like there is no stop scripts after you click on the second (circular wheel) button... I have a site where I did this before and never had any issues.
Help Weird Issue...
I am now just dumbstruck about a weird problem I just found. I have been recently doing my website in Flash and it is in the final stages of completion. The work had been halted for about a week. And 2day i just ran the swf file again. And to my surprise none of the fonts are appearing in the presentation. The images appear though. I opened the fla file and hit Ctrl+Enter to publish again. The movie that it initially shows displays everything correctly. (You know the one Flash shows u just after you publish) It is when i try to run the generated swf file from desktop that the problem is occuring.
* and another thing dynamically loaded text appears but does not look pretty at all.( to think everything was working perfectly jus a week b4!)
What could be the problem. Any ideas..!!?
Weird Issue...
Hey all, I am having a bit of an issue, really not too sure whats goin on but let me explain.
I've created my flash files one of which is my main swf and another which loads into the main swf. When tested locally they work perfectly, however when uploaded to my server the main swf works fine, however when I click to access the second swf nothing happens. Here's the weird part.. the when i view the files directly in the browser (meaning without any html page, example - www.site.com/site.swf) everything works perfectly.
Not really too sure if I am doing anything wrong or if I am forgetting something.. please get back to me as I need to get this website I am working on off the ground asap. If I have been unclear about anything please let me know and I will do my best to re-describe the problem.
Thank you for your time,
Steve
Weird XML Issue...
So here's the deal... I can read and parse an XML document into an array and then loop through that array one item at a time. Once finished, I want to go back to the beginning and read/parse the XML again (just in case there have been updates to the XML). It seems to work but does lots of weird things such as repeating certain XML entries, excluding entries, etc. It's hard to explain without showing the code so here you go:
XML document:
Code:
<?xml version="1.0"?>
<object name="1" description="Lake Land College News... coming soon! :)" />
<object name="2" description="...very soon!" />
AS on Frame 1 of my MC:
Code:
stop();
myContentNames = new Array();
myContentDescriptions = new Array();
currentObj = 0;
loadContent("../news.xml");
function loadContent(url) {
myXML = new XML();
myXML.onLoad = buildContent;
myXML.load(url);
}
function buildContent() {
count = 0;
currentChild = this.firstChild;
findContent();
function findContent() {
if(count == 0) {
if(currentChild.nextSibling != null) {
currentChild = currentChild.nextSibling;
assignContent(currentChild);
}
} else {
if(currentChild.nextSibling.nextSibling != null) {
currentChild = currentChild.nextSibling.nextSibling;
assignContent(currentChild);
} else {
delete myXML;
gotoAndPlay(2);
}
}
}
function assignContent() {
myContentNames[count] = currentChild.attributes.name;
myContentDescriptions[count] = currentChild.attributes.description;
count++;
findContent();
}
}
AS on Frame 2 of the same MC:
Code:
linkOff = 0;
myLink._visible = false;
if (eval(currentObj) + 1 <= myContentDescriptions.length) {
if (myContentDescriptions[currentObj] != null) {
tickerRegion = myContentDescriptions[currentObj];
linkVal = myContentNames[currentObj];
} else {
tickerRegion = "Lake Land College - LiveNews! v1.0.3";
linkVal = "";
linkOff = 1;
}
} else {
currentObj = 0;
goToAndPlay(2);
}
Somewhere (anywhere) in the middle of a tween:
Code:
stop();
if (linkOff != 1) {
myLink._visible = true;
}
startTime = getTimer();
this.onEnterFrame = function () {
currentTime = getTimer();
if(currentTime-startTime > 4000) {
gotoAndPlay(nextFrame());
}
}
AS on the final Frame:
Code:
if(currentObj == myContentDescriptions.length) {
currentObj = 0;
delete myContentNames;
delete myContentDescriptions;
gotoAndStop(1);
//goToAndPlay(2);
} else {
currentObj++;
goToAndPlay(2);
}
any ideas?
Weird Issue
I have a weird issue with symbols that are making up a form-- they don't really appear completely unless you roll over them.
I admit the symbols are kinda jammed close together, maybe that has someting to do with it? But if anyone can tell me how to fix this issue I would be extremely grateful!
Weird GIF Issue
Hello everyone,
I'm used to working with Flash MX 2004, but I bought a new laptop with vista so I decided it was time to upgrade to the full CS3 suite.
I've been working on a couple of low grade banners for this company (they require gif) so I made the animations for them w/ Flash CS3 (actionscript 2.0 though).
The problem is when publishing as an animated gif, it's output is really weird. instead of being the standard animation i created, the whole thing is over inflated and not even visible (ie.. instead of showing the word "residual" the whole screen is just taken up by the very bottom portion of the R in residual).
Doc is 465x60 30fps and animated gif settings are as follows:
playback: Animated
Loop Continuously
Dimensions: match movie
Transparent: Opaque 128 Threshhold
Dither: None
Palette Type: Adaptive
Max Colors: 255
Palette: none
Anyone experience this issue? I have no clue what is causing it nor how to fix it.
Weird Issue With FF2.. (I Think)
I am using a flash store front called panther commerce. I am using firefox3 here at work and if I view:
1. http://drewestate.com/new/2008
2. Click 'Bodega' on the left (after it loads).
The cart initialized and pops up. If I view it at home on FF2, I get the following errors(image below) and its like its in a recursive download and the cart never gets initialized. If I view it here at work on IE6 it doesnt work. I tried it on a mac here at work using FF2 and it worked fine...Can anyone think of an idea behind this??
Really Weird Issue Help Please
ok so.. first, this only happens when i test it in a browser, not in flash player itself.. which i think is really odd.. all it is is a movieclip with two frames... a stop(); on each frame.. right... simple as possible.. when you click a button, it plays that movieclip and therefore moves it back and forth between the two frames.. the problem is that for some reason, in the browser only, it is jumping to the second frame on it's own... but everything still works, it switches back and forth when you click on it, it's just backwards.. i've tried even just reversing the order and that didn't work.. any help would be much appreciated..
ActionScript Code:
private function doAudio():void
{
_tick = new Sound();
_tick.load(new URLRequest("Audio/tick.mp3"));
_mainSound = new Sound();
_currentSound = _mainSound;
var _loader:URLLoader = new URLLoader();
_loader.addEventListener(Event.COMPLETE, XMLLoaded, false, 0, true);
_loader.load(new URLRequest("songlist.xml"));
}
private function XMLLoaded(e:Event):void
{
_xml = new XML(e.target.data);
_songlist = _xml.song;
_getMusic = new URLRequest(_songlist[0].url);
_mainSound.load(_getMusic);
_soundChannel = _mainSound.play();
_songPlaying = true;
_music.mtext.text = _songlist[0].title;
_soundChannel.addEventListener(Event.SOUND_COMPLETE, nextSong, false, 0, true);
createParticles1();
}
private function nextSong(e:Event):void
{
if(_songPlaying == false)
{
}else{
if (_currentIndex < (_songlist.length() - 1))
{
_currentIndex++;
}
else
{
_currentIndex = 0;
}
var nextReq:URLRequest = new URLRequest(_songlist[_currentIndex].url);
var nextTitle:Sound = new Sound(nextReq);
_soundChannel.stop();
_music.mtext.text = _songlist[_currentIndex].title;
_soundChannel = nextTitle.play();
_currentSound = nextTitle;
_soundChannel.addEventListener(Event.SOUND_COMPLETE, nextSong, false, 0, true);
}
}
private function prevSong(e:Event):void
{
if(_songPlaying == false)
{
}else{
if (_currentIndex > 0)
{
_currentIndex--;
}
else
{
_currentIndex = _songlist.length() - 1;
}
var nextReq:URLRequest = new URLRequest(_songlist[_currentIndex].url);
var prevTitle:Sound = new Sound(nextReq);
_soundChannel.stop();
_music.mtext.text = _songlist[_currentIndex].title;
_soundChannel = prevTitle.play();
_currentSound = prevTitle;
_soundChannel.addEventListener(Event.SOUND_COMPLETE, nextSong, false, 0, true);
}
}
private function pauseSong(e:Event):void
{
_music.mute.play();
_pos = _soundChannel.position;
_soundChannel.stop();
myparticles.end(5);
_songPlaying = false;
_music.mute.removeEventListener(MouseEvent.MOUSE_UP, pauseSong);
_music.mute.addEventListener(MouseEvent.MOUSE_UP,playSong);
}
private function playSong(e:Event):void
{
if(_songPlaying == false)
{
_music.mute.play();
_soundChannel = _currentSound.play(_pos);
_soundChannel.addEventListener(Event.SOUND_COMPLETE, nextSong);
_songPlaying = true;
myparticles.begin(5);
_music.mute.removeEventListener(MouseEvent.MOUSE_UP,playSong);
_music.mute.addEventListener(MouseEvent.MOUSE_UP, pauseSong);
}
}
_songPlaying is set to false off the bat, and the only thing you don't see here is the initial call to "doAudio"...
AMD Processor Issue, Or Just My PC Being Weird ?
I have created a Flash game which, at times, just about runs at 80% of the intended frame rate, due to heavy accurate collision detection coding.
> This is on an AMD k6-2 500Mhz PC with 384 MB SDRAM and a Voodoo 3 AGP2000 graphics card, on Windows XP (Flash players 5 and 6, standalone or in the browser).
The same game runs perfectly at all times on a laptop with a 300MHz Intel Pentium II processor, 64 MB RAM, Windows XP, and ALSO on a 400MHz pentium with 64MB Ram and an old S3 graphics card.
I created a test movie that runs a function x number of times in a for() loop, and counts the time taken. The results show that the 500MHz AMD processor is slower than both the PII 400 and the PII 300.
This indicates that there are issues with Flash player on the AMD K6-2 500 processor (though admittedly there are other factors, motherboard, BIOS etc). Has anyone else come across similar problems ?
Adrian
Weird Version Issue, 6,0,65,0 Vs 6,0,47,0
I just built my first flash piece for a client, through much hell and learning mind you, ( http://www.frankny.com/test/cg/version_1/index.htm ) AND in the clients flash player Version 6,0,47,0 the attorney bio headshots shake? On my player Version 6,0,65,0 every thing is fine. ? ! ! ! ! !
What do I do?
How do I test for something like this and how can I fix the problem?
Can I get a version 6,0,47,0 to test for?
I can't really tell my client oh that's just your version of the flash player... that you and thousands of people visiting your site have Uhg. So I guess I really need to fix the problem.
- Lost
Weird Sound Issue...?
Has this happened to anyone. This is actually the second time for with on a different project.
I am using multiple wav files in my fla as sound effect. In the timeline, everything plays fine and I hear all of them. But when I publish the movie, one does not play? Any ideas??
Button With Weird Issue - Help Please
I have a drop down menu on a my new site. It works some what, When I click on it it junps to the left and then I can drag it around the page. I do not want either of these functions "jump left or drag around". I can click on it and it drops down but I do not see my options. I also want it to look like my other buttons but for some reason it does not.
I have attached the fla's and the txt file.
I have uploaded the main fla and text file"zipped" I will try to upload the other fla file but may need to post again to do this. total 3 files"2 fla's and a text file.
Please help.
Thanks
Weird Button Issue
Majorly weird issue. I have a movie clip and iside it 4 buttons that have roll over and roll out with on release get url. They all work but one and what is very weird button 3 goes to a page the is not the one specified in the get url command. I even deleted the whole get url command and still it goes to the wrong page. What they heck is it pulling this from? Is there a way to search for a value in the whole fla file to find where it is at? I even deleted all button actions on button 3 and it still works and goes to the wrong page.
Ideas?
No worries. I got it.
Weird Targeting Issue
I'm using attach movieclip and my target path is like this _root.mov + i.mov and every time one is attached i becomes a progressivly higher number like this: _root.mov0.mov _root.mov1.mov and so on. My problem occurs when I try to target it. What I'm doing is I have a variable on the inside of the movieclip after it gets created the variable on the inside equals the i on the root frame. Basically I want the movieclip to be able to target itself with an absolute path because using a relative path seems to cause problems. Like a remove movieclip targeting the wrong one. Check out what it currently is at http://www.typhoonent.com/body invader.swf
Weird Button Issue Please Help...
hi. i'm hoping someone can help me. i've got this weird thing going on with 2 of my buttons. for some reason, when i click on them, rather than getting the URL, the jump the movieclip that houses them in the scrollable area. has anyone else ever encountered this problem? i don't see any other invisible buttons hiding anywhere in this entire 2145 file... :-/
thanks.
Weird SetMask Issue
Hi,
Did some code using setMask, real simple example and it worked fine. Then I put that code inside another MC and it stopped working, for no apparent reason. Does setMask only work in the main timeline??
thanks for any advice.
boombanguk
Weird Framerate Issue..
I animate at 12 fps and for some strange reason when I hit enter to watch the animation the framerate is dropping on the stage. I'm not sure what could be causing this, it has never done this before... I finished a file Friday and it worked just fine. Now if I hit enter to try and watch the animation the framerate keeps dropping..
Weird Private OOP Issue
Hi there.
I have a very simple code, just for testing purposes;
ActionScript Code:
// in a .as file:
class Statething {
private var statePopulation:Number;
}
Now, when I do these two different things,
in flash:
ActionScript Code:
var north:Statething = new Statething();
north.statePopulation = 100;
trace (north.statePopulation);
and
north = new Statething();
north.statePopulation = 100;
trace (north.statePopulation);
In the first example, I get a error message, saying that the member is private. This doesn't happen in the latter.
Why is it so?
Weird Selector Bar Issue
1st I've gotta set the scene here:
I have a selector bar that has 12 available selections (they are all in the same file as a long set of pix with alpha), but only 4 are visible at a time so the scroll bars on the left and right scroll thru them. There is a layer below them called "indicatorMc", and this is the part that selects the images and also highlights the selected option by placing a circle behind it. There is also a dark blue behind that, just as a bar between the two scroll buttons.
It renders out in the .swf perfectly, everything looks great, it functions....
but then I imported it to the server and there are vertical bars sliced out of the dark blue behind the pix and circle selector. I'm almost positive it has something to do with the "indicatorMc" movieclip since the slices switch their locations each time i select a different option. the selections still work fine- it just looks really obviously BAD.
so it only happens when overlayed over the background for the site, not in the .swf, and there are no transfer modes applied to it.
Has any user ever encountered a problem like this, and if so- how did you deal with it?
Any input would be so appreciated, thanks!
Weird String Issue
OK this should work, and it doesn't. This code is on the frame level.
ActionScript Code:
var myBudgetDisplay:String = "";
var MyBudget:Number=3;//just to see if it sends
//da formula -> parseInt(myPaycheck.text)-(parseInt(homePayments.text)-parseInt(carpayments.text)-parseInt(commutePay.text)-parseInt(utilPay.text));
myBudgetDisplay="Your budget is "+MyBudget+" dollars.";
This is only a test, of course; I made MyBudget a fixed number just to see if it'll go across, and it doesn't. The myBudgetDisplay string does in fact load into the next frame, into a dynamic text box, but the number does not appear - the rest of the text shows fine. This text box is single line, and I have tried with and without font outlines embedded, static and dynamic, single and multiline, Firefox and ie7. I am using MX04.
My brain hurts. Any help is appreciated.
AS2: NetStream .flv Weird Issue...
I had a video playback using NetStream that worked perfect on Friday, then our IT Dep. switched servers on Friday night, and now it doesn't work. It will still play on my local files and when you open the .swf from the server, but it you try to go to the web address, nothing.
I know this is a bit vague, but any suggestions on what to look for on the server settings or something? I'm not an IT guy so, I really have no idea.
Here's the location: http://www.wrightsreprints.com/folio
And here's some code for you:
Attach Code
//---------------NETCONNECTION SETUP------------
var nc:NetConnection = new NetConnection();
nc.connect(null);
//---------------NETSTREAM SETUP----------------
var ns:NetStream = new NetStream(nc);
//---------------ATTACHING NETSTREAM------------
video.attachVideo(ns);
//---------------PLAYING EXTERNAL FLV-----------
ns.play("david_video_3.flv");
Weird Loader Issue
I am having an issue with my preloader that I can't figure out why it is occurring. I am using the following for my preloader.
function onLoadStart(mc:MovieClip) {
laodProgress.removeMovieClip();
this.attachMovie("laodProgress", "laodProgress", this.getNextHighestDepth(), {_x:container._x + 185, _y:container._y + 47});
}
function onLoadProgress(mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
laodProgress.laodPercentage.text = Math.floor(bytesLoaded / bytesTotal * 100) + "%";
}
function onLoadInit(mc:MovieClip) {
laodProgress.removeMovieClip();
}
This works great, except when I open my contact section and then open any other section, it seems like the removeMovieClip does not work anymore. So every time I open any other section, it duplicates the laodProgress.laodPercentage MC and leaves it on the stage when done. The weird thing is that all sections, including the contact section use the same function to load MCs. That function looks like this.
function loadNewSection(whichMovie:String):Void {
container._alpha = 100;
resizeStage();
mcLoader.loadClip("flash/" + whichMovie + ".swf", container);
}
Any ideas why this could be happening?
The files are here:
http://www.agilitygraphics.com/clients/tillinghast/dev2
Thanks a lot for any help!
SwapDepths Weird Issue
hi i have a btn that when clicked it will swap the depths of the menu on top of the main picture.
everything works when i Test Movie in Flash, but when i play the .swf file (generated by Test Movie) using flash player, the btn of swapdepths become not working anymore... any idea?
code:
btn_menu.onRelease = function() {
cd2.swapDepths(contactus);
}
Weird ActionScript 3.0 Issue
Hi,
As of a couple of days ago, with any AS 3.0 scripting I do in the Action Panel regardless of how simple or complex, when I hit the Check Syntax button, I get the dialog box warning: "The script contains errors. The errors encountered are listed in the Compiler Errors Panel."
The problem is .. no errors are listed in the Compiler Errors Panel.
I've even gone so far as to load in samples from Adobe.com and regardless of the file, if there's ActionScript added to the timeline through the Actions Panel, I get "The script contains errors..." dialog box.
ActionScript 2.0 files are fine.
The problem does not occur on my Mac, just on my Windows PC running Creative Suite CS3 on Windows XP.
The only change I've made recently is to install the Dreamweaver and Fireworks CS4 betas. (I've done the same on my Mac, with no issues there).
Any ideas? I've uninstalled the CS4 betas and reinstalled Flash CS3, but that hasn't solved the problem.
Weird Text Issue
Hi,
I've just been making a plainBtn class with a testField which i could then use in other classes (changing the text to whatever i want that button to be...)
in another class i have four variables of the btn and changed their name appropriately than decide to have them fade in at launch. i've set the alpha to 0 and all of the different components of the btn have faded fine except the textField?
the main component of the btn is a var called box, so i've tried the textField attached to it (box.addChild...) and i've tried without - neither work and the textField wont fade like the rest...
anyone know what's causing this?
Weird Text Issue MAC Only
Hi there, i have this little problem:
I made this web site
http://www.yupisatam.com
in a PC computer works just fine but in MAC computers the text (that is being loaded from an external txt) doesn't load correctly (some characters are missing).
Also the gallery behaves weird(the thumbnails load once and again, and the preloader of the photo doesn't work).
If anyone can help me...
theguaz
CHILE
Weird Preloader Issue? [FMX]
Hi Everyone,
I have several external swf's I am loading into my main movie. I followed the tutorial located at http://www.kirupa.com/developer/mx2004/transitions2.htm ... and the transitions work great. The problem is that my preloader works in the main movie, but it doesn't work in the external swfs when they are being loaded in. I have searched the forums, but haven't found a solution for this problem. It doesn't play the preloaders at all, just sits there until the browser has loaded them then all of a sudden they appear. My preloaders work, I have tested them many times to make sure. Any ideas on what I am doing wrong? I need a preloader in every single movie, even the main one.
Thanks in advance.
Weird Array Issue
im having a very strange array issue right now. any help on this would rock...
i am creating new movieclips, and then trying to store a reference to each one within an array called "openWin_array"
Here is that code...
Code:
cw_mc = windows_mc.attachMovie("contentWindow_mc", "contentWindow" + content_loc + "_mc", contentLoc + 1);
addToArray(openWin_array, cw_mc);
I pass the array and what needs to be added within the array to a function i setup called "addToArray"...here is that function
Code:
_global.addToArray = function(array, obj) {
// just keep adding stuff to array
r = array.push(obj);
trace(array);
};
now, it seems like this should work fine, but it doesn't? It will add the mc to the array, but it will delete the previous entry within the array....
for instance, the first time an mc is created...it will push the value into the array, and then the second or third time, it will push the new value into the array at the end, but all previous entries are deleted? What the crap is that? What am i doing wrong?
please help...
Weird Mouseover Issue
I have a weird issue on a mouseover in a peice. I believe it because of an onEnterFrame not ending and it animating over and over again, but i cannot find the issue. If you play with http://www.akacom.com/rfp10.swf you'll see that it only happens if you mouse over when their decreasing size.
oh well, here you go:
ActionScript Code:
///////////////////////////imports/////////////////////////import flash.display.*;import mx.transitions.Tween;import mx.transitions.easing.*;import flash.filters.BlurFilter;///////////////////////////init/////////////////////////txlogo._visible = false;snblogo._visible = false;burblers._visible = false;Stage.scaleMode = "noScale";Stage.align = "LT";HPosition();VPosition();loadBitmapSmoothed("bg.jpg", anmc);///////////////////////////scaling/////////////////////////var VPositioner:Number = (Math.round((Stage.width-768)/2));var HPositioner:Number = (Math.round((Stage.width-1024)/2));function VPosition() { if (Stage.height>=412) { //var VPositioner:Number = (Math.round((Stage.height-768)/2)); //setProperty(topright, _y, 0-VPositioner); //setProperty(topleft, _y, 0-VPositioner); setProperty(txlogo, _y, (Stage.height)-80); setProperty(snblogo, _y, (Stage.height)-80); //setProperty(bottomright, _y, (768+VPositioner)-96); }}function HPosition() { if (Stage.width>=612) { //var HPositioner:Number = (Math.round((Stage.width-1024)/2)); //setProperty(topleft, _x, 0-HPositioner); //setProperty(topleft, _x, (Stage.width-HPositioner)-120); setProperty(snblogo, _x, (Stage.width)-180); //setProperty(topright, _x, 0-HPositioner); //setProperty(bottomright, _x, 0-HPositioner); }}var resizeListener:Object = new Object();Stage.addListener(resizeListener);resizeListener.onResize = function() { HPosition(); VPosition();};///////////////////////////bg image/////////////////////////function loadBitmapSmoothed(url:String, target:MovieClip) { var bmc:MovieClip = target.createEmptyMovieClip("bmc", target.getNextHighestDepth()); var listener:Object = new Object(); listener.tmc = target; listener.onLoadInit = function(mc:MovieClip) { mc._visible = false; var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true); this.tmc.attachBitmap(bitmap, this.tmc.getNextHighestDepth(), "auto", true); bitmap.draw(mc); target.createEmptyMovieClip("cover", target.getNextHighestDepth()); target.cover._x = target.cover._y=0; target._visible = false; drawRectangle(target.cover, target._width, target._height, 0x000000, 30); function drawRectangle(target_mc:MovieClip, boxWidth:Number, boxHeight:Number, fillColor:Number, fillAlpha:Number):Void { with (target_mc) { beginFill(fillColor, fillAlpha); moveTo(0, 0); lineTo(boxWidth, 0); lineTo(boxWidth, boxHeight); lineTo(0, boxHeight); lineTo(0, 0); endFill(); } } createEmptyMovieClip("whitebox", _root.getNextHighestDepth()); whitebox._x = whitebox._y=0; drawRectangle(whitebox, 100, 100, 0x000000, 100); function drawRectangle(target_mc:MovieClip, boxWidth:Number, boxHeight:Number, fillColor:Number, fillAlpha:Number):Void { with (target_mc) { beginFill(fillColor, fillAlpha); moveTo(0, 0); lineTo(boxWidth, 0); lineTo(boxWidth, boxHeight); lineTo(0, boxHeight); lineTo(0, 0); endFill(); } } //burblers._x = burblers._y = 0 if (Stage.height/Stage.width>target._height/target._width) { img_prop = target._width/target._height; target._height = Stage.height; target._width = Stage.height*img_prop; target._y = (Stage.height/2)-(target._height/2); target._x = (Stage.width/2)-(target._width/2); } else { img_prop = target._height/target._width; target._width = Stage.width; target._height = Stage.width*img_prop; target._y = (Stage.height/2)-(target._height/2); target._x = (Stage.width/2)-(target._width/2); } burblers._y = 0; burblers._x = 100; //////////////////////// xspacing = 100; yspacing = 100; depth = 10; whitebox._visible = false; smoothness = 90; //Calculate positions and values amH = Math.ceil(anmc._width/whitebox._width); amV = Math.ceil(anmc._height/whitebox._height); //Create grid for (i=0; i<amV; i++) { for (var k = 0; k<amH; k++) { whitebox.duplicateMovieClip("box"+depth, depth); var cur:MovieClip = eval("box"+depth); cur._x = xspacing*k; cur._y = yspacing*i; depth++; } } function fadeOut(startboxnr, speed) { fadeMC(startboxnr, speed); } function fadeMC(mcnr, speed) { var thebox:MovieClip = eval("box"+mcnr); thebox.onEnterFrame = function() { this._alpha -= speed; if (this._alpha<=smoothness) { this.onEnterFrame = null; if (this == _level0.box100) { pulse(1); } continueFade(this, speed); mcnr += 1; fadeOut(mcnr, speed); } }; } function continueFade(mc, speed) { mc.onEnterFrame = function() { this._alpha -= speed; if (this._alpha<=0) { delete this.onEnterFrame; } }; } fadeOut(10, 10); anmc._visible = true; txlogo._visible = true; snblogo._visible = true; burblers._visible = true; var stage_listener:Object = new Object(); stage_listener.onResize = function():Void { if (Stage.height/Stage.width>anmc._height/anmc._width) { img_prop = anmc._width/anmc._height; anmc._height = Stage.height; anmc._width = Stage.height*img_prop; anmc._y = (Stage.height/2)-(anmc._height/2); anmc._x = (Stage.width/2)-(anmc._width/2); } else { var img_prop:Number = anmc._height/anmc._width; anmc._width = Stage.width; anmc._height = Number(Stage.width)*img_prop; anmc._y = (Stage.height/2)-(anmc._height/2); anmc._x = (Stage.width/2)-(anmc._width/2); } burblers._width = Stage.width-310; burblers._height = Stage.height-200; }; Stage.addListener(stage_listener); }; var loader:MovieClipLoader = new MovieClipLoader(); loader.addListener(listener); loader.loadClip(url, bmc);}/////////////////////////////////load sections///////////////////////////////for (i=1; i<17; i++) { var itemmc:MovieClip = eval("burblers."+i); trace(itemmc); itemmc._alpha = 0;}function pulse(item:Number) { var itemmc:MovieClip = eval("burblers."+item); itempulse(itemmc); new Tween(itemmc, "_alpha", Regular.easeInOut, 0, 100, .5, true); var myTween:Tween = new Tween(itemmc, "blurX", none, 5, 0, 2, true); myTween.onMotionChanged = function() { itemmc.filters = [new BlurFilter(itemmc.blurX, 0, 3)]; }; iteminteractions(itemmc, item); doit = function () { if (item<16) { item++; pulse(item); clearInterval(timer); trace (timer) } }; timer = setInterval(doit, 800);}function itempulse(item:MovieClip) { scaler(item); item.onRollOut = function() { delete this.onEnterFrame; new Tween(item.box, "_alpha", Regular.easeInOut, item.box._alpha, 0, 1, true); new Tween(item, "_xscale", Regular.easeInOut, item._xscale, 100, 1, true); new Tween(item, "_yscale", Regular.easeInOut, item._yscale, 100, 1, true); var myTween:Tween = new Tween(item, "blurX", none, item.blurX, 5, 1, true); myTween.onMotionChanged = function() { item.filters = [new BlurFilter(item.blurX, 0, 3)]; }; scaler(item); }; function scaler(item) { item.grow = true; blurX = 10; item.onEnterFrame = function() { if (this._xscale<120 && this.grow == true) { this._xscale = this._yscale+.25; this._yscale = this._yscale+.25; this.onRollOver = function() { delete this.onEnterFrame; new Tween(this.box, "_alpha", Regular.easeInOut, this.box._alpha, 70, .5, true); new Tween(this, "_xscale", Regular.easeInOut, this._xscale, 140, .5, true); new Tween(this, "_yscale", Regular.easeInOut, this._yscale, 140, .5, true); var myTween:Tween = new Tween(this, "blurX", none, this.blurX, 0, .5, true); myTween.onMotionChanged = function() { this.filters = [new BlurFilter(this.blurX, 0, 3)]; }; }; } if (this._xscale == 120 && this.grow == true) { this.grow = false; var myTween:Tween = new Tween(item, "blurX", none, 0, 5, 1, true); myTween.onMotionChanged = function() { item.filters = [new BlurFilter(item.blurX, 0, 3)]; }; this.onRollOver = function() { delete this.onEnterFrame; new Tween(this.box, "_alpha", Regular.easeInOut, this.box._alpha, 70, .5, true); new Tween(this, "_xscale", Regular.easeInOut, this._xscale, 140, .5, true); new Tween(this, "_yscale", Regular.easeInOut, this._yscale, 140, .5, true); var myTween:Tween = new Tween(this, "blurX", none, this.blurX, 0, .5, true); myTween.onMotionChanged = function() { this.filters = [new BlurFilter(this.blurX, 0, 3)]; }; }; } if (this._xscale>100 && this.grow == false) { this._xscale = this._yscale-.25; this._yscale = this._yscale-.25; this.onRollOver = function() { delete this.onEnterFrame; new Tween(this.box, "_alpha", Regular.easeInOut, this.box._alpha, 70, .5, true); new Tween(this, "_xscale", Regular.easeInOut, this._xscale, 140, .5, true); new Tween(this, "_yscale", Regular.easeInOut, this._yscale, 140, .5, true); var myTween:Tween = new Tween(this, "blurX", none, this.blurX, 0, .5, true); myTween.onMotionChanged = function() { this.filters = [new BlurFilter(this.blurX, 0, 3)]; }; }; } if (this._xscale == 100 && this.grow == false) { this.grow = true; var myTween:Tween = new Tween(item, "blurX", none, 5, 0, 2, true); myTween.onMotionChanged = function() { item.filters = [new BlurFilter(item.blurX, 0, 3)]; }; this.onRollOver = function() { delete this.onEnterFrame; new Tween(this.box, "_alpha", Regular.easeInOut, this.box._alpha, 70, .5, true); new Tween(this, "_xscale", Regular.easeInOut, this._xscale, 140, .5, true); new Tween(this, "_yscale", Regular.easeInOut, this._yscale, 140, .5, true); var myTween:Tween = new Tween(this, "blurX", none, this.blurX, 0, .5, true); myTween.onMotionChanged = function() { this.filters = [new BlurFilter(this.blurX, 0, 3)]; }; }; } }; }}////////////////////////function opensection(num:Number) {}
swf: http://www.akacom.com/rfp10.swf
fla: http://www.akacom.com/rfp10.fla
Weird Alpha Issue
Hey guys and gals,
Basically I have a system where XML code is read and properties of the specified objects are changed:
Code:
<name value="rollover" />
<alpha value="0" type="Number" />
<!-- Setting visible to false works, alpha doesn't -->
All is well and gravy, outside of the alpha property... for some reason, the property is set correctly but the sprite on the stage is not affected (ie. is still visible).
ActionScript Code:
trace(this.name+".alpha =", this.alpha);//outputs rollover.alpha = 0
And when I use Debug>List Objects, I get the following:
Code:
Movie Clip: Frame=0 Target="_level0.layout_holder.header.nav.home.rollover"
Edit Text:
Target="_level0.layout_holder.header.nav.home.rollover.rollovertext" Variable= Visible=true Text = <P ALIGN="LEFT"><FONT FACE="Times" SIZE="18" COLOR="#777777" LETTERSPACING="0" KERNING="0">Home</FONT></P>"
So the rollover sprite has an alpha of 0, yet the text inside of it can still be seen. Would this have something to do with where I change the properties, or use addChild, or something like that? Every other property runs through fine, aka. if I set visible to false, it disappears.
[AS2.0] Weird Issue With LoadMovieNum And IE6. Please Help
(X-posted in Flash CS3)
Hi there, I really hope you guys can help me, because this one has got me beat.
I have a series of movies that I have created in Flash 9 using AS2.0
The structure of the files is as follows: Chapter 1 (a relatively empty swf file) calls up a number of external files: a set of variables, a background, a loading animation and then the first real movie - which we will call movie1. This is all done using LoadMovieNum and levels.
Now this same structure continues on, the last file in Chapter 1 (movie1) calls up Chapter 2 (which loads it's own files and relevant movies), and so on and so on...
Now, this all works fine... Until it gets to Chapter 3. At this point it starts to not display some files (which, since they have been called in previous Chapters are already cached).
I'm at a loss as to understand why it suddenly stops working. From what I can see the code is exactly the same (except for filenames etc).
I have tested the same set of movies in FireFox, Opera, Safari and Netscape (across Mac and PC), without issue.
Is there a known issue in IE6 that would cause this problem?
I have exported these movies for Flash Player 6 (I have tried changing this to 9, but it does not resolve the issue).
Thanks in advance!
Lauren
Weird Text Issue MAC Only
Hi there, i have this little problem:
I made this web site
http://www.yupisatam.com
in a PC computer works just fine but in MAC computers the text (that is being loaded from an external txt) doesn't load correctly (some characters are missing).
Also the gallery behaves weird(the thumbnails load once and again, and the preloader of the photo doesn't work).
If anyone can help me...
theguaz
CHILE
|