Xml :: Flash - Umbraco - Automatically Make Changes To A File With A Media Item Upload Or Delete Event?
May 17, 2011
I'm looking for a solution to the following problem and I'm not sure if this is possible to do with Umbraco.We have a Flash movie which will read in images/paths to images and an accompanying title via XML and we need to be able to manage these through Umbraco.Is it possible to program an event for when an image is uploaded or removed from this specific folder so that it makes changes to the XML file and so it adds or removes the corresponding data?
View 1 Replies
Similar Posts:
Aug 20, 2011
I'm working with Air and in Flash CS5. I've got AIR saving a string in a variable to a file:
[Code]...
It works fine. I'd now like to upload the file just created to a server. I've been playing around with a var fileRef:FileReference = new FileReference(); example. I was wondering if there was a way to automatically upload the file, or if a browse is always required? If not, I have previously used the following AS3 code to successfully send a string of data to a php file, and have php save the data as a file with whatever name is set in the php file.
[Code]....
View 2 Replies
Jun 5, 2011
Since Flash doesn't support multithread how do you that in actionscript 3?
View 1 Replies
Feb 8, 2012
I have about 50-100 flash elements on a page which are audio players that play only one audio each that are different from each other.Whenever a user clicks one of the player buttons, the audio either streams or loaded as a single mp3.I would like to know how browsers handle swf or audio that is on a page. If 50 of the players are clicked at 10mb each and not all at once, then I can imagine that there would be 500mb stored in the browser eventually as cache.If the browser only has 100mb to cache, how does it work? Does it delete the other swf or audio in cache or does it cause issues to the browser such as crashing or slowing down the computer, etc.
View 12 Replies
Dec 23, 2009
I've got a file upload that's working just fine except for the fact that the Event.COMPLETE event seems to take way longer than it should to fire. The Progress event is firing just fine and filling up the progress bar, and on top of that the entire file arrives on the server just fine, and way before the complete event fires. I've read I need to echo something back from the server, but I have no idea what that should be.
View 4 Replies
May 2, 2007
how to delete and make and event handler "null". My question is: how to give that a movie clip its event handler back?
View 1 Replies
Jan 17, 2010
How can we automatically configure edge from the admin console of flash media interactive server?
View 1 Replies
Nov 4, 2011
Is it possible to trigger Flex Piechart Item click event when a Datagrid Item is clicked.If so can anyone give some example.
View 3 Replies
May 26, 2010
i've deleted an audio file from my flash file and imported a better converted version of the same song to it, but now when i compile a swf of the file i get a msg in the output window saying "multiple copies of sound item in swf". i deleted the original file b4 importing the other 1, but it looks like that doesnt matter. what do i do short of starting COMPLETELY over?
View 2 Replies
Jan 18, 2010
im trying to add a delete item option to a cart, currently i have....
Code:
//populate cart
details.push([vItemCode,vBaseColor,vSecondColor,vThirdColor]);
//loop through cart and output it into the text field
[code]....
how could i add a delete button to remove certain items?
View 3 Replies
Jun 18, 2009
I have created some shapes dynamically at run time by mouse drag, Now i want to delete any selected item the white board.How can i achieve that.Currently i am able to delete the last drawn item through "removeChild()" method, but not the previous items.
View 1 Replies
Apr 20, 2011
How would I go about removing only the first character of an item in an array? All my items are strings, so for example I want to turn this:
pseudo code:
Array["01234","01234"]
to this:
Array["1234","1234"]
Or if that isn't possible, I could just turn each element into a string, modify it and re-Array it. The issue is using split(charAt(0)) isn't correct syntax. I just don't know what function to call and every search turns up only replacing specific characters, not character at a position.
View 2 Replies
Aug 10, 2009
I am working on a project where there are 10 questions and user can answer the question or skip the questions. I want to track the number of questions (which questions) the users have skipped. I am adding the skipped questions in an Array. But if users click on the previous button and skips the same question again, the same question number is added twice to the skipped question Array.My Array looks like:skippedQuestionsArray(1,2,3,4,2,3,4,1);I simply want to trip the duplicate entry and get the output likeskippedQuestionsArray(1,2,3,4);
View 6 Replies
Aug 31, 2010
my listener.onComplete = function(selectedFile:FileReference) is fired without any file in the upload dir. if the file is small and I wait a bit I can see the file (through FTP) coming up on the server, but most of the times the "onComplete" if fired without any file being saved.
can I add something to this php code to make sure the file is uploaded?
[Code]...
View 1 Replies
Jul 17, 2007
I'd like to completely erase an onPress = function() statement.delete movieclip.onPress... and it works because no actions happens when I press that movieclip. But the problem is there's still an on press statement but empty, and I can't make any onpress on the inside movieclips.BTW I still see the hand after using delete mc.onPress even if there are no actions assigned to that event.
View 4 Replies
Feb 2, 2011
I have to build an app which will have to record the mic and then automatically save the record somehow in a temporary file and then upload this file to a server. Is this possible without using media server?
View 8 Replies
Jun 5, 2011
I am trying to get the "bwcheck" application to work on FMS 4 on Amazon EC2, in order to detect my upload speed to the server and provide the best quality stream for my upload speed.The tutorial I follow is this:{URL}Both are almost identical. However when I compile the .fla to .swf (having changed the URL for my server and application), and after I load the server-side code, I get the following error in my server-side log:Method not found (recData) understand that apparently it is not finding the method, but I tried getting it off the function in the global scope, tried attaching it to the client, etc. but nothing worked. The original code of the server-side script is:
for ( i = 0; i < 1000; i++ ) {
data += "S->C";
}
[code].....
View 1 Replies
Sep 9, 2006
If you have an .as file in the global include directory do you have to upload it to your server with the flash file or does it compile the flash file with the included info?
View 2 Replies
Jan 3, 2010
The app I want to build is an interactive map for a site I'm designing. In a nut shell, students looking to enter an exchange program should be able to use the map-image (as in, an actual 'map of the world') to preview possible destinations (I've attached an image of the two basic states to clarify).
After an introductory animation, I want a mouse-over to trigger a function that populates the map-image with a series of buttons. I need the buttons to be distributed according to information in an XML file (ie. x/y coords, some information text, and an animation to load upon being clicked). I want each button to call a mouse-over function that loads info data from an XML field and place it in a dynamic text field at the top. Then, I want each button, when clicked, to call a function that animates replacing the map-image with an image of the corresponding travel destination. Finally, I want a button on each image that will clear that image from the stage and call the function that populates the map so the process can start again.
I'm working out of a couple of books on AS3, but I'm a little hazy on how I ought to be constructing this thing. So here's the first place I've run aground: After the intro animation, I want the user to mouse-over the stage and have a second animation play (clearing away the introductory text), and I want the conclusion of the clearing animation to immediately call the map-populate function; but I don't want a mouse-over to have any effect until the introductory animation is finished. Is there an event dispatched automatically at the end of an animation? What is the event listener class?
I'm not sure if I should be storing each of these animations in an independent .fla file or if I should create them on all one timeline and have the program redirect to specific frames.
View 1 Replies
Feb 20, 2011
I have a datagrid with an xmlListCollection bound to it:
<mx:DataGrid id="dgCompetente" includeIn="Competente" x="10" y="66" width="547" height="468"
change="dgCompetente_changeHandler(event)" dataProvider="{colCompetente}"
editable="false">
[Code]......
I want the selectedIndex to remain the same. So, if I delete item 2, the next in the list should be selected. The problem is that if I delete item 2, item 3 will be selected and I have no idea why.
View 1 Replies
Jan 13, 2012
Is there any "mainstream" library used for this purpose? Commonly spread, well maintained, documented etc.I found these (using flash):
Uploadify - not many releases, latest 12/2010, no documentation (!)
SWFUpload - latest release 03/2010, documentation
fancyupload - looks buggy.
phpfileuploader - looks heavyweight, and looks commercial (?) I cannot read the licence (you can download it but are you allowed to use it forever without paying?) plupload New version of pure javascript (no flash) Valums' ajax upload claims to handle file size limit and progress bar, which is quite suspicious to me: these features require to guess the file size before the upload, which seems impossible in javascript (look also here). Or can it work?
View 2 Replies
Feb 7, 2012
My flash media player is not playing automatically when my webpage loads. I have changed the settings from 0 to 1 (which should auto start the file), but still does not start the song automatically. This occurs in IE, FF, and Chrome.
<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="200" height="20">
<param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" />
<param name="bgcolor" value="#ffffff" />
[code]...
View 1 Replies
Feb 22, 2010
I have a problem with the following Flash AS3-code: When I change "Delete1" to "Delete", the menu item disappears. When I call it anything else but delete, then it reappears. Why? It also occurs when I comment out hideBuiltInItems...
[Code]....
View 1 Replies
Dec 30, 2009
I have a VBox containing a bunch of panels. I have implemented dragging and dropping but I need to be able to scroll automatically when the item is drug near the edge. I am having mixed results. I can get it to work, but not well. My example is below. It works if the user bounces their mouse around a little near the top or bottom edge, but I want it to work if they just hold the mouse there.[code]So if they are within 50px of an edge then it should scroll by 50px. I've exaggerated the numbers just to get an affect.
View 1 Replies
Apr 14, 2010
I have made my application in CS4 using as3.0. In my application there is one browse btn that upload image/picture on my application. It upload the image on Event.Complete event. This thing work in window's OS perfectly but in Mac it open a window on the click of browse but wont upload the image in my application.
View 1 Replies
Sep 2, 2010
I'm trying to find a javascript method to delete flash cookies on a page, but with no luck.I know it can be obviously done through flash or flex, but the problem is I know nothing about flash, flex and actionscripts...So my question is: Is there a way to just load a prebuilt flash movie in a page, which just programmatically deletes all the flash cookies it finds?I could find some actionscript code around the internet and didn't look complex, but I don't know how to use it
View 2 Replies
Jun 30, 2011
I have a 30 minute mp3 I need to embed in an .fla so I can export as .mov for conversion to .fla.I tried adding frames, but you can only add so many at a time. At 30 minutes, I had added the max frames (going to the rigth) about 15 times and it wasn't enough.Is there a trick to automatically adding enough frames to cover the entire imported mp3 on the timeline?
View 1 Replies
Aug 12, 2009
Is it possible to make a flash for a viewer to upload and display a photo temporarily, possibily automatically resize it if it is too small or large, while at the same time a few fixed lines of measurements appear on top of the photo that can be stretched or shrinked so the viewer can measure part of the photo?
View 4 Replies
Mar 31, 2011
In need to move/delete files on the local file system of the user from a web page.
I know the flash player run all applications in a sandbox for security reasons. But maybe is there the possibility for the user to allow local filesystem operations (in some advanced settings). Or maybe to sign/join a certificate.
View 3 Replies
Dec 12, 2011
I have android 3.2 tablet application that displaying flash inside webView. now I want to catch event when pressing some inner item inside (it does't direct to another url..)
is it possible??
View 1 Replies