ActionScript 1/2 :: Any Way To Alter Files Using Flash?
Jul 30, 2010
Is there any way, using some kind of intermediary such as XML, PHP or the like, to alter ftp files with Actionscript? Actionscript 2 is my target, but 3 is alright too and I would need to be able to at least move and delete ftp files. In an unrelated matter, does any file transfer protocol allow the creation of shortcuts? If Actionscript and languages that communicate with Actionscript can't write to ftp, can they read from it? I know that you can call a specific file in the same folder as the swf, but can a user request a listing of the entire contents of a folder, or alternatively just the number of items in a folder?
View 1 Replies
Similar Posts:
Jan 28, 2009
Is there a way to alter the appearance of a Flash exe file using Action Script? I want to get rid of all the default windows stuff e.g. maximise, minimise, close and all the rest of the top tool bar.
View 1 Replies
Sep 10, 2011
I have a developed a browser-like Mac Desktop app which uses WebKit to render web content. My app links against the standard system WebKit framework (it does not bundle a private WebKit framework).
However, I would like to bundle a private Flash plugin in my app bundle. When my app runs, I would like WebKit to prefer the private Flash plugin in my bundle over any other Flash plugin on the system.
How can I alter WebKit's plugin search path such that my app will load my private Flash plugin bundled with my app?
View 1 Replies
Jan 13, 2011
I have completed a simple contact form using Flash CS5 and AS2. Instead of having headings such as "your email", "subject" and "message" outside each text field, they are contained inside each relevant text field and are made up of input text. I would like to do two things: To have the initial text (ie. "Subject") in a smaller size and heavier weight than the subsequent text typed in by the user. I would also like the initial text (ie. "Subject") to disappear as soon as the user starts to type in the same box.
View 2 Replies
Aug 4, 2011
if you have an active state and a passive state for something, you can jump between the two with gotoAndStop(2), gotoAndStop(1); or you can manipulate whatever property is changing directly (e.g. if it's alpha, then symb.alpha=0.5, symb.alpha = 1.0). I've found myself jumping between the two, and I don't like it (I like to have a standard, or at least a usual). What's considered a good practice
View 4 Replies
May 13, 2011
I am trying to randomize the positions of MovieClips in a Vector. to be added to the main stage's display list. I have this function that generates the MovieClips with their properties:
private function initMovieClips():Vector.<MovieClip>
{
var initVec:Vector.<MovieClip> = new Vector.<MovieClip>();
[code].....
View 1 Replies
Jan 26, 2010
Does anybody know a purely PHP based way to alter the frequency of an MP3 file?
A client's website is utilizing a Flash based MP3 player to play some audio.The client is producing the audio herself.
The trouble is that the tools that she is producing it with, and is familiar with, automatically produces MP3 files with a frequency of 48000hz, while some versions of Flash have trouble playing anything with a frequency differing from 44100khz.
View 1 Replies
Feb 2, 2011
coming from a print background i am trying to teach myself both as2 and as3 and am working on a couple of small projects for myself. I have run into the issue, where the user is in fullscreen mode cannot use keyboard commands to inout text. I would like to know how i could make an alert that appears when the user is in fullscreen mode only.
View 0 Replies
Sep 27, 2004
I'm attaching [phil+"a"] to ["bob"+i] and I can't seem to be able to alter phil's properties. Tracing I get undefined.
_root["bob"+_root.i].attachMovie(_root.train, _root.phil+"a", _root.i, {_x:_root.hold._x, _y:_root.mover});
_root.phil._alpha =0;
trace([phil+"a"]._alpha);
View 4 Replies
Sep 29, 2009
I have a number of movieclips which I would like to move when a particular value is entered into an input text box. The movieclips simply need to grow longer when a value is added to the input text. eg '10' would cause 'this.movieclip1._xscale += 20;'The closest to an explanation of how to achieve this that I could find was here:
View 7 Replies
May 28, 2010
I am stumped as to how to use an animated symbol repeatedly in a timeline while being able to alter its visual qualities without breaking the animation motion.I make a simple 3-layer animation of a body with two legs doing a walk cycle in place.I convert the completed animation as a new graphic symbol in the library.
I can then drag copies of that animated symbol to different timeline layers and alter their overall scales or give them each additional motions with a motion tween so various versions of it can move across the stage independently with tweens while keeping the walk cycle movements of the symbol.
I can change the colour properties of the added symbols but this only affects the whole image, so if the object had a body and legs in different colours, altering the properties changes all of the body parts to the same colour.Doing this does preserve the walk cycle motion, but the new object looks crude because it has become all one colour.I can then alter the visual properties of the components individually, but then it loses its animation motion.Whether I just group it again or convert it to a new symbol, it has lost the animation motion (the walk cycle of the legs) of the original. how to make such an animated symbol so that I can reuse it in the timeline while changing its visual properties (so it looks like a different character in the story) and yet keep its original animation motion.I have tried to duplicate the symbol and to copy and paste the motion but nothing seems to work.
View 1 Replies
Aug 18, 2010
I've run into an interesting problem while working on a file. Everything was going really well until I got into work this morning, and suddenly I couldn't change any instance names on any existing movie clips. The movie still compiles fine, and everything that already had an instance name still has an instance name. However, I cannot change any instance names, nor can I give any new movie clips instance names. The instance name text box is grayed out and I can't select it. Everything else works fine, and I can give instance names to text fields that I create. I have no problems saving files, exporting SWfs, drawing, or animating.
After doing some research, it appears that this issue is limited only to my computer - everyone else can give instance names to movie clips, using the same files. Also, this problem appears to be affecting every file I open on this computer.
View 1 Replies
Nov 2, 2010
I have some ActionScript code that splits a string using Regular Expression and lets me add content at the split location.
// AS3 Code
function formatTweetText(tweet:String ):String
{
[code]....
View 4 Replies
Mar 18, 2010
I have the two team names for my game appear in dynamic text boxes. What I would like is to be able to alter the properties of the text box depending on which team has their go.This is the code which switches teams:
Quote:
function getRandomFishPoint() {
index = Math.floor(Math.random()*(points.length));
txtPoints.text = points[index];[code].........
So what do I have to add to have the text change colour, or something. I'm still figuring out what I want to change, but I would like to know how to change the properties of the text box.
View 1 Replies
Oct 14, 2011
I'm trying to build a little question/answer program in flash using XML data as the source of information.I'm trying to build it in such a way that I only have to alter the XML, not the .as files.So, for example, I have
ActionScript Code:
ui.question_txt.text = xmlData.question1.question;
ui.optionA_txt.text = xmlData.question1.optionA;
[code]....
View 1 Replies
Jun 20, 2003
How can I alter Kirupa's snow effect ( http:url.... ) so that it begins on a slow start? Just have little snow start it off and then gradually reach the original effect.
View 10 Replies
Mar 5, 2009
Basically I have five mcs on the stage, MC1, MC2, MC3, MC4, MC5, and I would like to change the alpha, for example, each time I click on nextBtn. I would control the number of mcs but altering the if (j <= 4){ line.
[Code]...
View 3 Replies
May 6, 2010
I'm trying to figure out a way to alter a path to an image that is in a meta tag. It's for a facebook share button, and I'd like the ability to change the thumbnail image that is sent to facebook depending on where the user is in my flash file. The link itself is sent from flash no problem but I'd like to update this meta tag
Code:
<link rel="image_src" href="[URL]" / >
First somehow (not sure if PHP is the answer or flashvars or what) and then send the link. I attempted to just add all the facebook meta data to a php file that had a redirect link to the facebook share but it didn't like that hack. So basically I need to alter the meta tag on the current page and send the link from flash.
View 1 Replies
Nov 24, 2009
I've created a complicated animation at a stupidly high frame rate. The .mov file at the moment just runs too slowly. The animation is of a watch interface so the timing is very important and I can't just have the movie file take twice as long at a lower frame rate.
How can I drop the frame rate without altering the overall time? and without manually changing the frame length of each motion tween?
View 1 Replies
Feb 14, 2011
Attempting to move from AS2 to AS3 and become OOPed! I've come to a sudden halt over the last few days with some basics.I will use a simply example to describe my query.3 movieclips, a square, circle and oval, drawn in Flash, dragged to the stage and given instance names of square, circle and oval! The square and circle sit on the main timeline, the oval movieclip sits within the circle movieclip. How can I alter the .alpha property of the square from within the oval?Each movieclip has its own class .as file (and linked to the instance on stage) but I have not been able to generate a path in the ovals AS3 class script to access outside it and up to the square on the main timeline to change the squares .alpha property.
View 4 Replies
Aug 1, 2009
Is there a way to use ColorTransform to alter the colors of a gradient on a shape? Or is there another way to it aside from redrawing the shape?
View 1 Replies
May 28, 2009
I have created several movie clips in a loop.
[Code].....
After they are added to the stage I later want to go back and alter their appearance. I am having difficulty targetting them:
[Code]...
View 3 Replies
Feb 22, 2012
Currently in my flex application, I've got all of the app's assets being served from my local server, but I want to be able to serve all of the assets from a CDN (URL...)
the application has quite a bit of components so rather than going to each component and changing the source of the asset, is there a way to capture all of the outgoing request from my flex application and run some logic where I can change the request from [URL]...
View 1 Replies
Apr 4, 2005
I want to do a triangle so when you drag the corners the sides and the angles alter and you can show the degrees and lengths. Just like this website.
[URL]
View 2 Replies
Apr 4, 2005
I want to do a triangle so when you drag the corners the sides and the angles alter and you can show the degrees and lengths. Just like this website.
[URL]
View 2 Replies
Mar 27, 2012
It's easy to do on publishing clients, just use:http:[url]....How do we do it on the FMS? It doesn't appear to be possible according to these docs: http:[url]...What is the default for the FMS for the audioReliable, dataReliable and videoReliable properties?
View 2 Replies
Apr 28, 2009
I'm in the process of making a web page that'll successfully checked as XHTML 1.0 Transitional ([URL]), but as soon as I place in the fixit.js script under the flash object and view the page in IE, all the flash elements turn white. Quote:
[Code]...
Anyone knows how to place in flash files in xhtml files on IE without manually controls by clicking on the flash file.
View 1 Replies
Oct 27, 2009
How to alter the onPress to make things happen automatically when the page loads? Basically here my_btn (on frame 1) is used to send data to the server. I need it to happen automatically when the page opens in the browser.
Code:
my_btn.onPress = function () {
View 6 Replies
Feb 22, 2012
If you don't add an asset (text field, mc, btn etc) to the stage / create the object dynamically, is it possible for the asset to move x,y position or alter it's properties depending on the user environment? If so, what environments can cause this? IE what browsers, op. systems, player versions etc?
View 4 Replies
Sep 19, 2010
I want to alter the text color inside a string that has some HTML tags using regular expressions.My question is how can I alter the letters only of the text between html tags and not inside the html tagsI am using something like this:
ActionScript Code:
var exp:RegExp = new RegExp(textfield.text,"i")
str = str.replace(exp, "<font color='#FF0000'>$&</font>");
[code].......
View 3 Replies