ActionScript 3.0 :: HTML5 Alternative To External XML?
Aug 9, 2011
I am heavy into video interfaces based on dynamically loaded external XML files. Example: I may click a category, then topic and then dynamically create a list of available videos based on an array loaded from XML.Is this concept dead in a Flashless world? If so, then shoot me now.Has anyone started down the HTML5 path? Is there more than just stand alone single video players in HTML5? If I have 100 videos organized by category and sub-topic, do I have to create 100 different instances of a video player?
I'm just trying to understand how once HTML5 enters the picture, the current concerns about browser incompatibility and other issues go away? Wouldn't HTML5 simply add another set of browsers to the large list of current browsers that the application must target?
That is, assuming the enterprise web app requires one of these new HTML5 features (e.g. playing audio and/or video, integrating SVG or vector graphics, etc.). If such a feature isn't critical then graceful degradation may be acceptable and then my question is moot.
But for those apps that require one of these new HTML5 features, are you planning to support older browsers, or expecting it's acceptable to restrict to HTML5 browsers because the enterprise in question has made one of them their new corporate standard (or other scenario, etc.)?
I am running into some real problems with importing a png and associating it with a movieclip.Basically I want an image (image1.png) to appear inside a blank movieclip on my stage called "image1". I need this to all run from the library and not from an external folder - thus this does not work for me : loadMovie ("image1. png", "ClickReveal.image1");Is this possible? Or do I absolutely have to run from an external folder or convert the png to a movieclip by hand and then use attachMovie? I am desperately trying to avoid those options.The reason is that I am building a template file here and the users need to be able to import their own images which may be called anything and need to pop into movieclips.
I made a script which will tile dynamic mc in a way that after a number of clips (say 5) in a row, i would like the 6th mc to position on the next row below the first row, like this:
1 2 3 4 5 6 7 8 9 10
i was able to do it thru series of if-else if statements but the thing is that i was wondering if there's a better logic in doing this, i was thinking of using switch statement but is there a way to type "i>=9 && i<=20" into a case parameter? here is the code and i have also attached the fla if anyone would like to see:
I have created a Flash application for a "big" client which communicates heavily with the server. Flash app is initially loaded with a big XML file, which is retrieved by an aspx file. Then every 5 seconds, it calls a different aspx file to update. There are 3 asp files, which also sends back XMLs, that it calls periodically on top of the aspx file. Buttons on the app calls 4 different asp files with data being sent via querystring, but, uses the XML.sendAndLoad commands since we want the communication being done behind the scene.
During testing on development and live sites, we noticed no problems. We had sporadic complaints about the application being slow, but, they were so rare that we let it slide.
Now, it seems more frequent. I went back to the application and tried utilizing the built-in garbage collection by deleting all temporary variables, but, that didn't seem to improve much.
Given this scenario... is there anything I could try to improve the speed of server communications?
I have an application requiring exporting of Flash animations to run on an embedded media player. This accepts a number of video formats. The most reliable I have found so far is DivX. The player supports DivX versions 3.11, 4.x & 5.x. The export codec in CS3 is DivX 6.8.5 which is not compatible with the player.The player also supports MPEG2 but the quality is not very good. Other options are Xvid Mpeg4 video (doesn't work) and MS Mpeg4 video codec V2 & V3 (also not supported in CS3).I have tried downloading a variety of alternative second source file converters but frankly tied myself in knots. Any idea how I can get around this problem and get a DivX 5.x codec to work natively within CS3?
I'm having huge bug issues with LocalConnection that nobody seems to be able to find errors in my code/files. So... I'm looking for an alternative. I need a main swf file to load an external swf including the ability to have it move from one frame to another. If this isn't a possibility, I can also just have the main swf hide/reveal a div or just an image in the html.
I am an Adobe Flex developer and I am sick of Eclipse. Is there an alternative (free) IDE for Flex? I am aware of Tofino, but I can't get that to work on my MSVS Express editions, and I don't want to buy the whole thing.
We have developed a magazine reader which is basically PHP application. Admin panel is built in PHP but when any user wants to read a particular magazine, it is handled by Flash i.e. we are embedding the .swf object with HTML in PHP page. But flash is not supported in iPad/iPhone. So we want to create this application in Xcode so that user can read the magazine in iPhone/iPad also. There is confusion how it can be accomplished.
I was reading through various source codes, trying to teach myself more and more AS as usual... and some things brought me to ask this question.let's say I place a movie clip on the stage, called gun. would:if (_root.gun) {} return a true statement, simply because a MC called gun exists on the stage?
Is there an alternative to attachMovie that I can use to put my movieclips on to the stage. Here is my problem, I have 2 frames total in my fla file, and in each frame I have buttons that when you click on them it attaches the corresponding image from the library. Problem is when you click to go to the next frame, the attached image stays.
I basically want it to stay attached only until you hit the next frame.
I'm looking for a lightweight alternative to the TileList component. I'm currently designing and developing an MPU Ad Creative that references an XML doc and pulls in four FLVs and their appropriate meta data. These videos will then be playable in the merch window, and there will be some opt-in data capture going on as well.
I've got a prototype going at the moment that grabs the XML and populates a TileList, and then uses ListEvent Listeners to add functionality to each of the ImageCells. All working fine, except that the file size is already at 47k without any of the data capture form fields in there. This is already over the TZ polite-load limit, and I've only added maybe 60% of the functionality. When I remove the TileList class, the swf shrinks down to 3k (a much nicer size ), and even after adding the remaining 40% I can't see this going much above 15k.
So, anyone know of anything I could use to replace TileList? I thought about creating my own class that holds all the information for each Video I need, but I thought I should check first to see if there are any other alternatives.
I have an swf document and for a while now need to convert it to an html5. I talked to a dreamweaver specialist and he suggested wallaby. I tried this but i didnt have it in an FLA. I tried converting it using trial software dont know if it worked. When i put it in their was errors with multiple things, it didnt like the actionscript3. I tried googles swiffy and it didnt like the 9-slice scalling, either
I am planning to develop a facebook application which uses iframe concept, it involves some rich UI and image manipulation, I am new to html5 but aware of flex
We have an ASP.NET 4 website that displays flash files. It has come to our attention that these are not fully supported on HTML5, and that they will not play on HTML5 platforms such as the iPad.So, in order to support such platforms, my thinking is that we need to try and display the video using the HTML5 <video> tag if the browser supports HTML5, or fall back to flash if it does not.However, it would seem that this requires our site to provide two video formats (flash format and video such as MP4). That presents problems because A), we need to store multiple video formats on the site, and B) our existing flash data will no longer work.Can anyone recommend information about the best way to support as many platforms as possible. And is there any way to do so without having to support multiple video formats?
I need to have the ablity to create 3000+ sprites so they can be interact. In this case it is a bunch of booths at trade show. I have done a lot of experimentation about how to create/draw these in the quickest possible manner.I have used timers, loops, enter frame events and I am still not satisfied with speed.My new idea is to create a seperate swf before hand that has everything drawn out so this doesn't have to be done at runtime, the swf can just be downloaded. So my question is.... What would be the best way to develop a module that draws out everything into a swf file so that at runtime, I am not drawing anything, I am just uploading the file.
I would like to have a flash app on a website where:A user can input some values Those values are then sent to a server which has an executable fileThe exe is run with the user's settings and then sends some data back to the userThe data is displayed in the flash app.Is it doable with CGI or is there a better alternative to this?
I'm trying to use URLRequestMethod.GET to get some xml from our website.In ie7 the onComplete never fires so it gets stuck but it works great in every other browser. I know that to fix a similar problem with preloaders you change the onComplete to a ProgressEvent and check to see if bytesLoaded == bytesTotal.This doesn't seem to work for URLRequestMethod.GET because when bytesLoaded = bytesTotal it doesn't mean that you have your data. Is there another way to check to see when the data is finished?
I've been using PTViewer but it is causing some issues with looking for the ptdefault.html everytime and I'm wondering what other options are out there?
is there any other framework that does the same as amfphp? I dont want to use amfphp because it hasnt been updated in years and looks like it's no longer under development, I have to use PHP so I'm looking for a PHP alternative.
Does anybody know of a tool that will allow me to create ASDoc style documentation with a Flash CS4/AS3 application? From what I hear ASDoc only works with Flex.
I want the content of a local text file to become available inside JavaScript. I've achieved that using HTML 5 FileReader API, but this works only in Mozilla Firefox and Chrome now. I know that it is possible to create a cross-broswer solution using Flash. Is there any open-source project that do that?
I've faced such situation. I've used to program in C#, and such code:
[Code]...
was asking both, condition1 and condition2 to be true (the case when they both are giving false and the end-result is true, could be achieved in other way). In Flex, same code would perform "some actions" if the both conditions are false. I just was wondering if is there any chance to make it break after finding first false in a queue, or I have no choice and should write nested if's?