ActionScript 3.0 :: Bandwidth Profile And FLVs - Slow To Show Alternate Content (JPGs)?
Dec 22, 2010
I'm working on a video header that will cycle through 4 12 sec videos. The idea is if the connection speed is too slow to show alternate content (JPGs). Based on previous code I've used with LoaderMax think I have it figured out. I think the normal bandwidth profiler in flash ignores FLVs and just shows them as loaded ASAP. Is there another tool out there for this that accurately works when loading external FLVs?
I was recently testing the Amazon MP3 Widget on my site. It was not appearing and I realized it was being blocked by my ad blocker plug-in that prevents cross site flash objects. I want to know if there is a way to tell people that they are missing this content. It seems like the ad blocker simply removes any embed code. What can I do to tell people they might be missing something they actually want to see. I'm hoping there's something similar to the no script tag, but I'm assuming its more than that.
If I try and add some alt code so that ipad and iphone users can see something instead of a blank page, but when i save the code it disapears,The code for the flash is:
I have built a Flash site and also set it up with alternate content so it can be viewed on iPhone and iPad as well as other mobile devices. It works great everywhere but in FireFox the site's swf loads on the page twice.Has anyone else experienced this issue and if so, what have you done to work around this FireFox bug?
I have made a preloader that is in the same swf as my main Movie.I went and set all my linked movieclips to *not* export in the first frame.However, I seem to still have quite a bit loading in my first frame (64kB) and I can't quite figure out what it is? The only movieclips I have set to export in my first frame is my preloader movieclips ("container" and "preload bar") both of which are simple shapes I made in flash.
I use Flash CS5+Action Script 2 and have a template where I can display several flv files in succession by pressing PREV and NEXT.But I wish to show jpg files in a similar manner, i.e. currently I have 6 flv files, 1-6, and wish to display 6 jpg files after them, i.e. 7-12
How can I display alternate HTML with the jquery.swfobject plugin for browsers without Flash? I'm unable to find any documentation or examples showing how to do this.
Is there a way for flash to detect a user's bandwidth, and depending the size of bandwidth, stop loading, or continue with the load? Now that I'm thinking about it, this would probably be a javascript detection script and if the bandwidth is high, load .swf, if not load a .jpg?
We are having a little problem implementing bandwidth detection with FMS, for some reason when enable it, bandwidth consumption spikes significantly I am wondering why? and if there a white paper somewhere that would talk about how properly implement this feature.
This is really weird and I have no idea what could be causing this.I have this simple Flash site:
http:[url]....The main interface is loaded, and then it starts to preload a few external JPG images.The problem is that with IE it is taking about FOUR times (or even more) the time to load the same pictures with FF. In a slow connection such as a 128K the main interface takes the same time to load either on FF aswel IE - about 5-10 seconds. Then, it starts loading the external pictures - in FF it will take about 20 seconds more and in IE it will take about 80 seconds more. It is clear to me that the problem is not in the site loading itself, but in the contents loading. I can't see what in the browser could be interfering in the SWF, unless that the IE Flash plugin have some known (or unknown!) bug regarding to MovieClipLoader!
The only thing I can have in mind, is that I am not terminating the listeners in the onLoadComplete events, so theoretically they would be keeping the CPU busy even after the pictures finish to load (I spawn about 30 listeners, one for each picture). However, I doubt that this is the reason or else it would make FF slow down too, indeed? Also I noticed that when running the application in the authoring environment (control+ENTER) but loading contents from remote server, it have the same behavior as when loaded within IE (slow loading).
I am setting up a small community, online based Radio Station where it shows a section for the schedule. I would like this schedule to show different listings, depending on what day of the week it is.
I am fairly new to ActionScript, therefore I do not yet understand the syntax properly and understand ActionScript 3.0 would be easier for myself to learn first, however my movie is quite big as it is and unless I can convert it to ActionScript 2.0 I'll need to learn how to do this.
I have one circle mc, when i roll over the Circle it will show the content of the circle .. this part is working fine. but inside of the content i have one link . i am not able to select the inside of the link.
I am just wondering if it is possible to show an image instead of flash content for mobiles? I want to allow the adobe sniffer to do its thing when it is people using pc and mac browsers and direct them to the plug in page to download the flash player if they need it, but is there a way to sniff for a mobile / smart phone browser and if they cant view flash it will show an image instead?
I have two issues again, my first is one I have had for a while my website is blank when you first go it then it will play, I thought it needed a preloader so I put on up but it still seems to do the same thing, any suggestions?Her is my code on the first frame, their is a really detailed movieclip in the center could their be a way to load it quicker, maybe cut down on the time?[code]
I'm attaching several movieclips onto the stage inside a for-loop and populating a dynamic textfield within the moviclip inside the same loop.Tracing the texfield.text shows the proper value in the Output console. However, the text value is not visible on the stage. I've drew a shape next to the dynamic textfield just to make sure the movieclip is being properly attached. I can see the shape but there is no text next to it.
Code: var xPos=200; for(var i=0; i<image_list.length; i++){[code].....
I have an animation that shows items highlighted in a diagram. As the items are highlighted, the audio will play (to explain the animation). because we are creating this for people with possible disabilities, we also created captions with text for the audio. So, in separate layers, we created speech bubbles and text that is synchronized to the animated actions on the screen. this will also be synchronized with the audio. We want to have a button (close captioning button) that when users press it, they see the text captions and if they press it again, they don't see the text captions. my questions are
1) what will be the easiest way to create the effect i am looking for? 2) what actionscript command will i need for the button's actions?
I am making a website in flash for my business that consists of several elements. For example I have one menu on top with the usual "contact", "resume", "about" and so on, and so far this is not the problem as I only need some text to show up when the button is clicked. But on the left i have another menu with different sections called "animations", "layouts", "illustrations" and so on, and the point is that each link is supposed to start a slideshow with my artwork depending on the category. How to make the buttons show content, and I even created a simple slideshow (with prev and next buttons).
I used the following code for the slideshow: stop(); right.onRelease = function() { if (_root._currentframe == 5) { gotoAndStop(1); [Code] .....
Now the only thing left to do is to actually make the different buttons show the slideshows. I have tried to embed the swf of the slideshow in the frame of my content layer that is dedicated to the layout button. I've had to try a few things. at first the slideshow didn't do what I previously programmed it to: instead of me having to click next or prev, it just flipped through all the images continuously. That I fixed, but now the only thing that still doesn't work are the buttons. they seem active when I test the movie, but they don't take me anywhere- they're just stuck on the first image.
For example if I have 5 pdf files in a folder on the computer and then want to show these files in a swf file and if I then click on the pdf file open up the specific file. and if I remove or add a pdf file it will affect the list (its okay if its only updates the list when reloading the swf file)
We have added a few sub folders under the webroot folder. I did this so I could make a custom web page that generates the code need to display the video in a web page if it is one of the folders. My question is how do I get these folders and their content to show up in the Administrative Console? Also how do I get the videos to be logged? I have looked through the Server.xml and Application.xml files and the fms.ini but do not see any place, Am I not looking for the correct setting? Attached is a pic of the folders.
I want to show a local html file into my application but I could't find to do that.
I used <mx:HTML> component with using its location property but it is not working when I try to do it with a local file which is in applicationdirectory.
EDIT: Here is my code :
<fx:Script> <![CDATA[ private function init():void {
I want to create a flash site where I have a long horizontal movie clip split into about five sections, each about 960px wide. The effect I want to achieve is when the user clicks on the button it will scroll horizontally to the specific section of the flash project. For example, if your on the home page and you click on the contact the movieclip will tween to the right until it reached the contact section of the long movieclip. And I also want it where if the user clicks on the home it'll scroll back to the home page. I can't seem to accomplish. I tried positioning with the x property and move right so many pixels. I'm thinking about setting like some coordinates or some kinds of reference points so when the button is clicked it will go to those specific points in the stage.
I remember doing this years ago, but can't remember if it was with SWFObject. Anyone herd of this before? I guess it would basicly disable SWFObject from switching the altContent for the SWF. I though it was something like: [URL] But can't remember the real one (if it exists).
I've an Accordion component in my Flex application and works great, but I found a little glitch in its behaviour.While one of its menus is opening, it shows a white rectangle and, when it completely loads, it shows me the content. But I want to show the whole content without this "white" rectangle when it loads.For example:
Image 1: My Accordion is ready to use
Image 2: I want to open another submenu, so while it's opening, a white rectangle is shown (I was really quickly to take an screenshot)
Image 3: Recently opened submenu is fully loaded.Here is my source code:
I'm trying to put a .jpg as an alternate image for if there is no flash player or if someone is trying to access my site from an iPhone. the div i want to insert it into is as below...