ActionScript 2.0 :: FTP Access Through A Swf?
Aug 13, 2004point me in the direction of any script / tutorials to be able to load an ftp site into a swf?I want the site to load into an mc like with loadMovie
View 5 Repliespoint me in the direction of any script / tutorials to be able to load an ftp site into a swf?I want the site to load into an mc like with loadMovie
View 5 RepliesIt's too complicate to explain but I'll give you an example
I have an AS3 ResultEvent Object and this object has several propeties which can be accessed by this like:event.result.name or event.result.age and, I have this String variable: eventProperty:String that contains "name" or "age" How do I access to event.result. with the variable?
So, you have a sprite, you draw some graphics, you set cacheasbitmap=true... I can't seem to access the newly created bitmap data, to access the dispose() method.
[Code]...
i have a little issue, this is the script:
import flash.net.navigateToURL;
import flash.net.URLRequest;
button.addEventListener(MouseEvent.CLICK, action);
function action(e:MouseEvent):void
{ var request:URLRequest = new URLRequest("novosti.php");
navigateToURL( request, "_self");
}
button is instance name of symbol - button, and like that script doesnot work there is error 1009:cannot access.....but when i put symbol with instance name button in form of movie clip, script works.
Is it possible for Flash or possibly Adobe AIR to have access to a local Access database?
I will have either a Flash EXE or AIR application running on a local PC (WinXP). The PC will also have a local Access database. I need my Flash application to get the data from this Access database. How would I do this?
I doubt it can be done with Flash or AIR alone (someone prove me wrong or right), but is there an option for some middle-man application to access the data base and send it on to Flash? How would this work?
Or could I read the MDB file into Flash and parse it myself? is there a library for this?
My flash movie loads config.xml from the file system. Inside config.xml are urls and the base url to other xml files that I wish to load in to the flash movie.
These urls in config.xml are requested by the flash movie providing my flash movie with data. Again these are .xml files how ever they are being accessed using the network. EG " http domain dot com slash data dot xml"(i cant post links yet)
I know that I cant access both network and local files in the same movie so my question is this. What is the best way to pass in the base url dynamically to the flash movie so i can cut out config.xml?
i refer to this tutorial [URL] what i found strange is that i can't use . to refer to movie clip instance in this tutorial, it only works if i use [] access for example: "_root.instancename" versus "_root[instancename]" only the second one works.... examine the short code i attached just cut and paste the code...play the movie..and see the difference,
View 6 RepliesI am trying to add a LOAD EXTERNAL MOVIE CLIP behaviour to a button sitting in a .FLA called SERVICESMENU. I want to load a .swf titled MULTIMEDIA.SWF into an instance of an empty symbol called PAGE LOADER on a different .FLA called MAIN.FLA.
The problem is when I am in the SERVICEMENU.FLA file, I cannot see the instances that I created in the MAIN.FLA when following the behaviours wizard so I cannot choose the PAGELOADER instance that was created in and resides in the MAIN.FLA file.
I want to change the text of a TextInput using its name for example.
("name1").text = "123"
or is it possible to create an array of components?:
txt[0].text = "123"
i want to access an Element of an XML. But somehow. i get null as the Result and that does not make any sense to me.
View 1 RepliesNot sure where the difference lies here, but I am trying to understand it. In this piece of code that is a public function of a MC with instances of other MCs in it, I cannot seem to access the instances except in a function within the public function (confused? so am I but here's the code)[code]...
View 3 RepliesThere is a php script on a server that outputs a list of the JPGs in a folder, as a text file. My SWF reads this php file perfectly when the html/SWF is run from my browser locally (on my computer), but DOES NOT WORK when the html/SWF is loaded from a server. There is no error message, and the request never triggers the "OPEN" event.
This makes no sense to me since the URL request is made from my IP address, whether I download the html and SWF from a server or run it locally, right? Also, I can directly access the php in my browser. The PHP is running under the ModX CMS.
I've been having a few problems with accessing an array from a different function.
The array I want to use is from the makeFly function, which generates instances of the Fly MovieClip. I want to access the array from the paperSwing function, which should test for a collision between the mouse cursor and the fly movieclip, and then if true remove the instance. This is the part where I'm having a bit of trouble, I'm not sure of how to access the array "name[i]".
This is from the "Main" Document class:
Code:
package {
import flash.display.*;
import flash.events.*;
[Code]......
in a class file used by my fla I have the code below. How do I access that variable so that I can display it in a textbox in my movie?
PHP Code:
var myBitrate:StringmyBitrate = String(_ds.currentStreamBitRate);trace("MYBITRATE " + myBitrate);
i'd like to access a variable in an associated class from my Document class [code]in my document class im trying to see if the class has changed the variable... if it has changed i'd like to obviously do something.if this isn't possible what's the simplest way to check a variable in another class?
View 3 RepliesI want to change the text of a TextInput using its name for example.
for(i=0;i<10;i++){
("name"+i).text = "123"
}
[Code].....
i have a textbox (totaltxt) within a movieclip (link_mc) which is on frame1, and i am trying to access the contents of totaltxt and put it in another textbox called totalround1 in frame2...e.g. if totaltxt = 100 then totalround1 should equal 100 aswellthis is my failed attempt:PHP Code:totalround1.text = Number(link_mc.totaltxt.text);
View 1 RepliesI have a button inside a MovieClip (instance name: bt_fechar) and I want to refer to it from the main timeline (that's where I want to keep most of the code). It returns the following output error message: "Error #1065: Variable bt_fechar is not defined"
Heres the code:
function retirarCiclo(event:MouseEvent):void
{
[code].....
I have a main Movieclip called player. In that I build a second MC called 'play_pause' with own time-line: two frames. Frame one have MC 'play', frame two have MC 'pause'How do I access 'pause' MC when 'Player' runs, for example to set a glow effect based on loaded config. On MouseOver set for play_pause I do gotoAndStop('f2') to show the highlighted effect, but I want that highlight changed at runtime.
View 2 RepliesHow is it possible to access another movieclip inside a movieclip, if you have it linked to a class in the properties?
like
Code:
function rotateSubclip_():Void
{
this.subclip._rotation += 1;
[Code]....
I'm having trouble accessing the turnQueue array which is being updated in the first function and accessed in the second, no idea what the rules are between functions for actionscript. Heres the code, I want the turnQueue to be growing as keys are pressed, and at the moment its not updating from the first function.
public function keyListener(e:KeyboardEvent):void {
trace("Key Entered");
if (e.keyCode > 36 && e.keyCode < 41) {
[code]....
I have tried for days to solve this. I am trying to access the "newsData" object from my .fla to populate my manually created textfields.
Here is the class:
package {
import com.adobe.serialization.json.JSON;
import flash.net.URLLoader;
import flash.net.URLRequest;
[code]....
below is a function (belonging to file1.fla) that plays, starting at a specific frame when a button is clicked. function goToFuncMLR(eventMLR:MouseEvent):void {gotoAndPlay(11);} Instead, what I want to do is play, starting at a specific frame in a different .fla file. If the external .fla file is named file2.fla, what do I need to do to access the timeline of file2.fla from file1.fla ? I have a feeling the solution involves a loader method inside file2.fla.
View 10 RepliesI need to access an array that's on the maintimeline from with in a movie clip im having issues with it.
The variable has all its info on the maintimeline but doesnt show up when i reference it in the movie clip So i tried referencing to the array var thumbURL:String =parent.thumbs ; and var thumbURL:String =root.thumbs ; but got an empty variable.
i've made a simple example here to show you my problem. I have basically created a stage object ("box"), with the nested children, box->b->c. I have exported box for as, with class "box" and base class movieclip. Now i create 4 instances of my box class and add an eventlistener to the nested child c. When i later on try to remove the eventlisterner for myinstance.b.c i get: TypeError: Error #1010: term is undefined and has no properties.at DocumentClass/removeSomething(). Here is my code:
package
{
import ....
[code]....
My audio file is in folder. I want to access form folder. Audio file name is "spin_snd"
View 3 Repliesif i have a movie clip in my Scene 1 and inside that movie clip is another symbol e.g. a button, how will i reference the instance name of that button in my Scene 1
View 2 RepliesIs there any tutorials out there that would show me how to access the iPhones GPS location?
View 1 RepliesI did a standard install of fms on a fedora 12 dedicated server yet I can not access the Admin Console via http[code]...
View 4 RepliesI have added an flv-playback instance to the stage in Flash CS4. The flv has some cuepoints named "01" - "10". The cue-points were set in AfterEffects CS4. There's some event- and some navigation-type cuepoints. I now attempted the simple task of getting a specific cuepoints' time using actionScript. Easy enough one should think, but apparently it isn't.[code]...
View 6 Replies