To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash MX

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-28-2002, 10:13 AM   #1
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
ok folks, I've done a bit of research into this now and I've worked out exactly what Flash MX is doing.
Here was my situation:
A site on which the user could listen to a variety of sound clips. When they pick a section the piece of music streams down. In Flash 5, when they selected a different section the first piece of music would halt downloading, allowing the second piece to take the bandwidth and stream down.
In Flash MX however, even after the movie clip has been removed from the timeline, the piece continues to be downloaded in the backgroud, it doesn't play, it doesn't have any effect on the timeline. However it hogs the bandwidth and stops anything else being loaded in until it's finished.

I've hunted around a fair bit for a solution, some way of stopping a movie/mp3 being downloaded, but I have found none.
There must be a way of doing it, otherwise it's simply not possible to implement a properly streamed site any more.

Does anyone here know of a way to sort this out?
C4_Tom is offline   Reply With Quote
Old 03-28-2002, 11:55 AM   #2
deepinteractive
Junior Member
 
Join Date: Mar 2001
Posts: 7
I've recently experimented with the load external mp3 function, and found that:

a) if you load one mp3 into a sound object, then issue the load command again, for the same object with a new mp3, the time elapsed attribute of the sound object is cumulative.

b) working this way with several large (80-100mb) mp3 files, the processor spikes to 100% capacity and memory usage by explorer shoots through the roof

have you tried destroying the sound object to halt the download?
deepinteractive is offline   Reply With Quote
Old 03-28-2002, 03:13 PM   #3
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
Destroying the sound object sounds like a good idea. How's that done?
C4_Tom is offline   Reply With Quote
Old 03-28-2002, 05:01 PM   #4
cre8ive
Guest
 
Posts: n/a
I'm having the same problem with the loadSound(). No matter what I try the mp3 download continues and clogs bandwidth. Here's what I've tried with no success.

1. loading a new mp3 into the sound object. Deep is right the position goes cumulative.

2. Creating a new sound object over the old.

3. Creating the sound object inside an MC and unloading the MC

4. Creating the sound object in a level and unloading a level.

Even if you leave the url with the flash embeded the mp3 file continues to download.

The only way I have found to halt the download is to close the browser or projection file.
  Reply With Quote
Old 03-29-2002, 06:08 PM   #5
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
This sucks big time. A lot of sites that worked well in Flash 5 will now not work in in Flash MX. Kind of defeats the point of upgrading.
Does anyone know of the reason that Macromedia have done this?
C4_Tom is offline   Reply With Quote
Old 03-29-2002, 06:23 PM   #6
deepinteractive
Junior Member
 
Join Date: Mar 2001
Posts: 7
well, there's always the chance that reassigning the object reference to a scalar variable would cause flash to trash the sound object and free up the memory... I'll give that a shot next
deepinteractive is offline   Reply With Quote
Old 03-29-2002, 06:27 PM   #7
SOLOMONF
Senior Member
 
Join Date: Mar 2002
Posts: 141
even if you delete the sound object, it still seems to be sucking that MP3 down -- I thought this would be a cool feature, but I soon learned that it's not at all what it's cracked up to be.

The bad thing is that Macromedia never seems to patch their products. Why exactly is that? do we have to wait till version 7 for these bugs to get worked out?

The other irratating thing about the load Sound is that there is no pause mathod -- what's up with that? They should have known that people would want to pause their mp3s
SOLOMONF is offline   Reply With Quote
Old 03-29-2002, 08:41 PM   #8
deepinteractive
Junior Member
 
Join Date: Mar 2001
Posts: 7
well, pausing just needs a function that takes the amount already played, stores it in a variable, stops the object, then start again from the paused spot.
deepinteractive is offline   Reply With Quote
Old 03-31-2002, 04:58 PM   #9
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
It is annoying that the dynamic mp3 stuff isn't as good as we'd hoped. The bit that really gets to me though is that they've broken a feature that used to work.
C4_Tom is offline   Reply With Quote
Old 03-31-2002, 05:40 PM   #10
cre8ive
Guest
 
Posts: n/a
Tom, so is the problem the same when loading swfs?
  Reply With Quote
Old 03-31-2002, 05:44 PM   #11
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
Yes, you get exactly the same issue, it loads the movie in full even if you replace/remove/empty the holder.
Any file loaded dynamically is forced to load in full
C4_Tom is offline   Reply With Quote
Old 03-31-2002, 05:44 PM   #12
MikeChambers
Senior Member
 
Join Date: Oct 2000
Posts: 310
Quote:
Originally posted by C4_Tom
It is annoying that the dynamic mp3 stuff isn't as good as we'd hoped. The bit that really gets to me though is that they've broken a feature that used to work.
did anyone on this thread submit this issue to:

wish-flash@macromedia.com

with steps on how to reproduce it?

mike chambers

mesh@macromedia.com
MikeChambers is offline   Reply With Quote
Old 03-31-2002, 05:47 PM   #13
cre8ive
Guest
 
Posts: n/a
Tom, nevermind I went and checked some of my old streaming stuff and sure enough the bandwidth started clogging up when I started to interact with the stream.

This is terrible news. We can't build to stream anymore if they don't fix it.
  Reply With Quote
Old 03-31-2002, 06:21 PM   #14
cre8ive
Guest
 
Posts: n/a
Mike,

No, I've been digging around the Macromedia site looking for a place to report it.

It's a very serious problem and needs to be addressed. All flash 4 & 5 content using dynamically loaded content will be effected. Flash applications will bog down the bandwidth, and even worse if a user leaves a url with flash content for another their bandwidth will continue to lag.

  Reply With Quote
Old 03-31-2002, 06:31 PM   #15
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
Yep, this is a massive problem.
One of the nicest things with Flash was that you could make very nice looking sites with plenty of content and have it all stream together with no loading times.
This is now not possible.

I'm sure that this is a bug and not a 'feature' that has been introduced, I can't see a positive side to it.

Does anyone know if this is a problem with FlashMX or the Flash 6 player? If it's with the player then all our Flash 5 sites will stop functioning properly too, and I can't think of anyway around it.
C4_Tom is offline   Reply With Quote
Old 03-31-2002, 06:38 PM   #16
cre8ive
Guest
 
Posts: n/a
Tom it's definately the player. I have two machines one with flash player 6 and the other with flash player 5. The problem only happens when running the content through the version 6 player, and it doesn't matter if the content is in version 4 or 5.
  Reply With Quote
Old 03-31-2002, 06:54 PM   #17
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
Oh sh*t!
Plan of action anyone?
C4_Tom is offline   Reply With Quote
Old 03-31-2002, 07:09 PM   #18
cre8ive
Guest
 
Posts: n/a
Well I emailed the wish-list as Mike suggested, but who knows what good that will do.

I also started a thread at Macromedia Flash Forums

http://webforums.macromedia.com/flas....cfm?catid=194


I just want to know if they are aware of the problem and working to fix it. I've spent two years working on code for interactive streaming audio applications in flash, and clients expecting 85-98% coverage. What am I to tell them now, as more people get Flash MX their applications won't work right and their coverage will go down?

  Reply With Quote
Old 03-31-2002, 07:20 PM   #19
C4_Tom
Senior Member
 
Join Date: Mar 2002
Posts: 298
Good job, hopefully there will be a reply soon.
Macromedia have now got big problems.
Say my small flash site loads in a 50MB swf, goodbye bandwidth! Hello very frustrated user.

It also means that when browsing, if you have a look on a site and see that it has a large preload time you may decide to move on. This new bug means that even after you've moved on the large site will continue to hog the bandwidth.

How did this get through beta testing!?
C4_Tom is offline   Reply With Quote
Old 03-31-2002, 07:27 PM   #20
cre8ive
Guest
 
Posts: n/a
Quote:
How did this get through beta testing!?
Probably because the testers have broadband. I would have never come across the problem if it weren't for testing something with a dial-up and then using a bandwidth usage monitor to takea closer look on a broadband connection.
  Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash MX

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:50 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.