ActionScript 2.0 :: Send A Txt File From Computer To Mobile Through A Bluetooth Connection?
Jul 30, 2009
Is there a way that i can combine Action Script with BlueTooth?I mean, i am trying to send a txt file from my computer to my mobile using Action script through a bluetooth connection.
Basically, I have a main swf and a global.as file main swf defines: Global.vars.username = "me"; and main swf also loads inside another swf (account.swf) on that swf (account.swf) the following code is performed:
[Code]....
testing live on internet is the problem, if the computer/connection is slow the global variable isn't grabbed. Like if flash sometimes loads first what has to go inside txtWelcome.text before grabbing the content inside Global.vars.username
I want to find a software (or method) of achieving the following:
Be able to create a Flip Book from a pdf file Be able to embed multimedia content (audio, streamed video, swf) in the pages The resulting project should work in every (or most) computer internet browser and mobile devices (android tablets and phones, iPad, iPhone i've done a lot of research already, but I can't seem to find a good solution for this. I've tried a lot of those Flip book creator softwares. Some of them work pretty well, but I haven't found one that does everything.
I'm aware of the biggest difficulty: iPad and iPhone not being able to show flash content. So I'm in the search of an idea or someone pointing me in the right direction.
For example, is there any alternative to Flash to create flipping books? I know that in HTML 5 you can embed multimedia contents that should work with iPad and iPhone, but I don't know if you can do all the "cool" stuff that flash flipping books give you )like transitions, gestures, etc.
I have been given the task of sending messages (SMS/Flash/ other formats) to any phone entering a restricted area... How do I detect the phone and send message to it without any prior knowledge of it's SIM Number?
I am trying to figure out how to send an email from a Flash Mobile (smartphones: blackberries, iphones, androids) app using mxml and Flash using Flash Builder 4.6. My boss told me to find out if it is possible. So far, I have been doing a lot of searching around on the internet for an answer.
I found this website: [URL], that has some classes for sending email in flash, but #1, I don't know if they work in Mobile apps, and #2, I can't find any instructions or tutorials on how to use the classes to send a simple email.
I downloaded the package from the site and imported into my project, where I am trying to send the code. But without sample code on how to simply send an email, I am not entirely sure what all do, and nor am I sure how to determine things like what port number to construct the SMTPMailer object (the SMTPMailer object is included in that package, and it takes a host string and a port number integer in it's constructor), right now I am trying 80 or 8080 for the port number, and I've tried localhost and one of our server computers, 198.162.1.109 for the host.
Anyway, I keep getting this error: Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error.
Here is some of my sample code:
[Bindable] private var mailer : SMTPMailer; private function init() : void {
I want to build a adobe Air application that sends an image to a mobile phone via bluetooth.Do you know of a framework or library to do that directly or indirectly? I mean using only flex or do I have to use another language also, such as java?
I got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?
Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.
I am successfully running Bluetooth-SPP applications relying on http://bluecove.org/ that is Java to Java. I do now want to establish Bluetooth-connectivity in an Adobe Flex-application. Anyone has experience, ideas?
I'm not really good with AS3 yet so maybe somebody can help meI found a pong game tutorial and it works fine.[code]Now I want that two computers play against eachother.So no player input only two computer that play.I tried a lot with the script but it doesn't work.
When swf file shows up on a computer as an unknown file, does that mean the computer doesn't have flash player? Or do I need to change my publish settings?
I am trying to save a flv file on my computer from my address on web. Will be an air applicattion that will pick this url from xml and do a URLRequest and save the file on my machine.
I did a code that save the file with the right name, but when I will play this files don't work. Neither on abobe media player.[code]...
In my Flash application, I would like a user to be able to import a picture from their hard drive. Basically, the app allows the user to customize an object. One of the steps of customization should be to add an image of their choice.
Is there a way in Flash to allow the user to pick a file from their hard drive, which is then read into memory and made accessible to an application? I would like to take the data and upload it to a server to store it for future sessions.
I would like to know if it's possible to edit a file from within the browser. I know where the file is and I know its format. I would like to some HTML5 and JavaScript but have little luck so don't mind using Flash or Java.
The file I would like to edit is the hosts file. C:WINDOWSsystem32driversetchosts on Windows XP.
This is mostly for test run of a new breed of AdBlocking so would like to give my browser and the best chance of working. I have Google Chrome Dev opened as ROOT, running on Windows XP.
I have heard about Flash Builder 4.5.1.As I have understood, one can make an application using Flex with the Flash Builder 4.5.1 and also exported the release build for iOS, Android and Blackberry.
What are the limitations of Flash Builder for developing the mobile applications? What are the things which can't do with this IDE? Is bluetooth, one of the thing?
Is it possible to develop Bluetooth feature for an application using Flash CS5?
I'm making a site right now. First there is an intro and then when one clicks on a button (for choosing your language), a new page should open (.html page made in dreamweaver) in the same window, but I don't know how to do this.
This is my actionscript now (but it doens't work):
I am working on this cd-rom and have just reached testing stage for part 1 (of 5). There are lots of interactive activities, video and animations. For the activities, I dont know if I am just too tired but there seems to be items which are visible on my .swf on my computer that sometimes are visible and sometimes are not visible on the cd-rom, also in testing yesterday there sere some activities that seemed to not be working correctly (Althought they perform fine on the desktop version, on a reset of the cd-rom they then seemed to work. Is there anything that I need to take into account for the code being read off a CD to make it more bullet proof? I am stressing out a bit at the Unknown factor- I cannot continue to produce this resource if I cannot guarantee how it will perform in real life?
I am trying to create a list of names which is generated by a swf file that contains buttons representing letters of the alphabet. The user generates a name by clicking on the letter buttons until the letters of the name have been spelled out and then clicking on abutton to add each name to the list. The names are generated inside the swf file but I want the list of names to be deposited in a file within a folder of the computer and remain there as a permanent record after the swf file has been closed. I can do the Actionscript 3 programming associated with the letter buttons but I would like to know how to send the names to the computer file.
I want to distribute an SWF file to be run on computers, not the internet.However, I want to be able to access the internet through a link controlled by a button.This used to work, now I get a security warning telling me I need to change the settings on my computer.For obvious reasons I don't want to make every person who runs the swf file to have to do that!Under Windows I can create an EXE file that does not create the security warning, but on the Mac that won't help.
Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.
Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.
Why the same fla source code publish different size of swf file in different computer with same version of adobe flash which is cs4?1 is about 3mb only and the other is about 20mb.The different is too big!What can i do?