ActionScript 2.0 :: Application To Edit XML Variables Remotely
Dec 3, 2009
I'm trying to make an application, should allow admins to edit XML variables remotely. So you don't need to upload the file every time you edit it! I though, modifying a guestbook file could work: Variable Editor, as you can see, it loads the variables into the board and you can also edit it, the first variable get edited but the 2nd one doesn't, strange
ActionScript Code:
var currPage = 0;
var showAmount = 10;
previous._visible = false;
createMessage._visible = false;
createButton.onRelease = function() {
[Code] .....
View 0 Replies
Similar Posts:
Nov 13, 2010
For classroom, how do I actually able to remotely control 100's PC from a master application? Like control the student who also using Flex application is possble with XMLsocket?
View 3 Replies
Feb 10, 2011
I'm doing an app for the next st valentin's day and I'm using the Facebook API. The idea is that the user will be able to take a picture with it's own webcam and then edit that photo for to send it to a friend from facebook. But I can't find a tutorial about to edit an image (a bitmap) in the application. Can you tell me how can I do it? I want to edit the bitmap on the same app, like add a frame around the picture and maybe add a message too.
View 4 Replies
Jan 23, 2011
How I can save data to a .txt file. This .txt file will be stored on the same server that the flash file is stored on and is executing from. I want to, later, be able to access the data previously stored on the .txt file from my flash movie.
View 6 Replies
Jan 17, 2010
I have a Tree Control inside my Flex Application which I want to edit on a doubleclick on a tree item. I found the properties doubleClickEnabled= "true", doubleClick="startEditMode()", and editable="true". With these functions I can detect a double click and I can change the editable property to true based on a double click. The problem is that after I double clicked on a Item i have to click once more to really enter the edit mode. That doesn't seem to be intuitive at all..
View 3 Replies
Feb 26, 2002
I want to load Variables from a .txt-file to edit the properties of a movieClip. For example: 700 is written in the .txt-file. After loading the Clip the x-position of the clip should be set to 700. How can I do this?
View 14 Replies
Aug 11, 2009
I'm actually relatively new to flash and actionscript but I could say I have fair knowledge about them. So anyway, I usually build flash websites the traditional way using timeline animation and scripting. Today I had a job interview and they said they're looking for someone who can develop any web design into a Flash CMS with a back-end office for the client to edit the content without having to edit the FLA file or any code.
Accordingly, I'd like to know where and how to start. What are the main concepts I should follow/adapt?
View 1 Replies
Feb 16, 2011
I don't have a sking on my f4v file, it doesn't play in the server but it plays locally[code]....
View 1 Replies
Jan 23, 2011
I'm trying to send data via POST, since it's far too long to send via GET.
Here's the code I'm using...
pdfUrl.method = URLRequestMethod.POST;
var vars:URLVariables = new URLVariables();
vars.html = data;
pdfUrl.data = vars;
navigateToURL(pdfUrl);
The problem is that it always sends as GET, and the data in vars.html is too long for my server to receive.
To make matters worse, it seems like AIR can only send GET via navigateToURL.
The issue with this is, I need to open a new browser window and send the POST data so that a script on my server can create a PDF file for the user.
View 2 Replies
Sep 7, 2009
I have attached the .fla that I am working on. I understand that it is very basic and does not use class files and so on.... but I am just applying the finishing touches so that it actually works.Inside the quiz movieclip is some code that makes people's names and scores be entered onto the leaderboard. This works perfectly fine, however when I close the SWF and take the quiz again, the people that were previously on the leaderboard have disapeared!Is there anyway to make the best people stay on the leaderboard for future uses?but the code that is in question is:From frame 65 of quiz:
Code:
Mouse.show();
finishTime = minutes+":"+seconds+":"+hundredths;
[code].....
View 1 Replies
Mar 27, 2012
i have a component which gets the data selected by the radio button
<mx:itemRenderer >
<fx:Component id="radio">
<mx:RadioButton selected="false" useHandCursor="true" change="item_changeHandler(event)">
[code]......
View 1 Replies
May 18, 2011
We recently updated to ColdFusion 9 (from 8) and Flex 4 (from 3).
Now receiving below error when attempting to load Flex portion[code]...
Do we need to re-export the Flex project to fix problem or maybe code from /flex/remoting-config.xml needs to be updated?
View 1 Replies
Nov 30, 2009
I have a UIlLoader component that loads external images okay locally, but when i tested it remotely it doesn't work. Below is the code i used. I have a movieclip called content that holds my UILoader component and beside the loader is five buttons that when clicked....loads in my images.
Code:
// Listeners...
content.maryPic_mc.addEventListener(MouseEvent.CLICK, loadPic);
content.lemonPic_mc.addEventListener(MouseEvent.CLICK, loadPic);
content.orangePic_mc.addEventListener(MouseEvent.CLICK, loadPic);
[code]....
why this only works locally? I have doubled checked the directories and for the life of me, i can't work it out!
View 3 Replies
Jun 11, 2010
I have a couple of methodology questions concerning an .fla file I'm working on. I made a flash gallery here. As you can see online the images fade in as they are loaded dynamically via the loadClip() method.
I would prefer them to load more like this. Is it possible to load an image to a variable instead of a MovieClip that exists on stage via actionscript?In other words, at the moment the script loads images as you go. I would prefer if I loaded all the images first and then ran the script to render, view, and navigate the images.
In addition to this if you download the zip file with the flash file, source code, and example you'll notice that the position of the images and the text is more accurate than when viewed in a browser. I thought flash was a self-contained entity and that it would run identically on all platforms / browsers / online / offline / remotely / locally.
I know a lot to ask in one post, but I think the script can benefit you as well as me if you just download it and take a look. I'd love to hear suggestions as to how to remedy the position of the images and text.
View 1 Replies
Jul 15, 2011
I'm building an AIR application. Basically, what I'm looking to do is using navigateToUrl() to open a browser window, assign it a "name" and then, send variables to that newly opened window using the POST method.
EDIT : I need the window to be visible, this is why I absolutely need to use the navigateToUrl() function
I already know that I CAN'T DO something like this, that the AIR application will send the variables using the GET method...
var vars:URLVariables = new URLVariables();
vars.myVar = "Hello my friend";
var req:URLRequest = new URLRequest("http://example.com/my-page.php");
req.method = "POST":
[Code].....
View 1 Replies
Dec 30, 2010
I'm trying to create an application that receives variables passed through FlashVars and makes use of the new TLFTextField. I have run into an issue with accessing the FlashVars after declaring a TLFTextField variable.
The code I have is as follows:
ActionScript Code:
import fl.text.TLFTextField;
var tf:TextField = new TextField();
[code]....
The HTML file is passing a FlashVars value of "title=ThisIsTheTitle" If I run the code, the tf TextField is empty. If I comment out the last line that creates the TLFTextField, the FlashVars come through fine and the tf TextField displays the "title" variable that was passed through FlashVars.If I change the last line to read:
ActionScript Code:
var titleTLF:TextField = new TextField();
It works fine (the "title" variable from FlashVars is show in the tf TextField). I don't understand why delcaring a TLFTextField prevents the FlashVars from being accessed.
View 3 Replies
Jul 15, 2010
I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. URL...This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.[code]
View 2 Replies
Jan 26, 2011
I create a movie on imovie. I take it to Flash(CS3) and publish it as an swf file I then install that file in Dreamweaver. All is good I save and preview it locally. the file's root folder is images and same remotely I upload all including the HTML page and when I view the page, the place where the file is is blank.
I have uploaded this many times and it just wont work.
View 8 Replies
Dec 6, 2009
I'm looking for an AS3 function to get the filesize of a file that is being hosted on a remote webserver. Tried to find some functions but didn't succeed.
View 3 Replies
Nov 13, 2009
I've discovered something odd. When I load an swf from another server into an object/embed, it seems to kill the getURL function in Firefox and Safari, but not in IE.
View 1 Replies
Jul 13, 2010
I have a zoom slider that works properly. Yahoo! Now I need to be able to control the slider from various buttons located on the stage. The zoom slider goes from 50% to 200%. When a button on the stage is clicked I need the slider to go to 100%. Here is some code...
Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
[code].....
View 0 Replies
Nov 19, 2009
I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. [URL]This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.
Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
map_mc.site40_mc.gotoAndStop(1);
};
[code]....
View 2 Replies
Oct 11, 2005
My main movie loads "contact.swf" which has the email form in it that references "email.php".The form gives the completed message locally when running from the main movie but when I upload it nothing works.
View 5 Replies
Jun 11, 2009
I'm using a flash video player plugin and everything works great locally, but when I upload everything on the server the videos are not played...
is it about flash player security restrictions ?
View 1 Replies
Oct 30, 2009
i know this sounds stupid but just can't do it, how do you make another object appear on the press of another button or movie clip?
View 8 Replies
Aug 14, 2009
I've made a little game in Flash, and I want it to have an online leaderboard. But after looking into it, it seems it's complicated saving a simple .txt file because of security, and the tutorials I have tried to use, using PHP to do it, have not worked, not even the excercise files. So I was wondering if anyone have either a working tutorial or code to save a simple string in a txt file, or know another way of saving data remotely?
View 13 Replies
Sep 30, 2009
I have a preloader which loads an external swf. When I test locally, everything works fine, but when I test remotely: Preloader runs.External swf doesn't load into preloader. I am using the contentPath to load my external swf, and the only as2 I am using is: on (complete) { this._parent.loaderPB._visible = false; this._parent.mcbgdloader.visible = false;} to hide the progress bar and graphic used in the preloader.
I hope I provided enough info. The preloader is a regular fla and the external uses screens.
View 1 Replies
Oct 4, 2010
Can you access the FMS Start Screen to verify installation remotely? We have a new FMS 3.5.4 installation set up by our IS team, but cannot remote directly into the box to verify the installation per the installation guide. Is there a URL that can be used to access the FMS Start Screen if FMS was installed with Apache?
View 1 Replies
Nov 8, 2009
I've embedded a virtual tour on one of my client sites.
The site is hosted by Slicehost, and as you can see the load times for the Flash movies are very slow, so my idea was to serve the swf files from Amazon S3 Europe.
To test it, I have all swfs uploaded to the same directory / bucket on Amazon, while the index.html and p2q_embed_object.js files reside on my local machine. The js file is changed to refer to the Amazon-hosted swfs. The first swf loads fine, but the others don't. What am I doing wrong? Is there a better way to do this that would allow me to serve my Flash assets from elsewhere?
View 1 Replies
Jul 10, 2010
I have zoom code here
Code:
onClipEvent(load){
scrollMin = _root.range._x+_root.range._width // minimum _x value possiible for scrollbar
scrollMax = _root.range._x // maximum _x value possiible for scrollbar
[code]....
Do I have to copy and paste all of the slider code into the frame where my btns are? _root.srchMC.dataMC.site1_btn.onPress...
View 2 Replies