I can't use remote object in Flex to save an image to the server.
I have a situation where I can't use remote object in Flex to save an image to the server.
Could someone help me with an alterntaive?
private function doSave():void {
var bd:BitmapData = new BitmapData(canvas.width,canvas.height);
var pe:PNGEncoder = new PNGEncoder;
bd.draw(canvas);
var ba:ByteArray = pe.encode(bd);
myService.doUpload(ba,sIP);
<cffunction name="doUpload" displayname="Save Signature" hint="Saves a PNG Signature" access="remote" output="false" returntype="any">
<cfargument name="sigbytes" required="true" type="binary">
<cfargument name="ip_suffix" required="true" type="string">
<cfset myUUID = RandomString('ABCDEFGHIJKLMNOPQRSTUVWXYZ',15)>
<cfset name = expandPath("converted_pngs/signature_#arguments.ip_suffix#_#myUUID#.png")>
<cffile action="write" file="#name#" output="#arguments.sigbytes#" />
<cfset SigFileName = "#arguments.ip_suffix#_#myUUID#">
<cfreturn SigFileName />
</cffunction>
Try assigning binary arg to <cfimage/> then save.
Similar Messages
-
My iMessage application stopped working. iMessage is apparently having trouble logging in using my apple_id. It works fine with my iPhone and iPad. When attempting to login to iMessage using my apple_id I get the following message "The server encountered an error processing registration. Please try again later." If I try to log into the appstore, I simple get "An unknown error has occurred" Any suggestions?
Hi, see if it's one of these...
Anonymous
Post subject: NSURLErrorDomain error -1100 in OS X 10.8
If you check for software updates using the App Store in OS X 10.8 and get "NSURLErrorDomain error -1100" the problem may be with your Software Update preferences. This is particularly likely if you were using a custom Apple Software Update server. To solve the problem, quit the App Store, move the following two files (if present) to the trash, restart, and only then rerun App Store updates:
/Library/Preferences/com.apple.SoftwareUpdate.plist
/Library/Preferences/com.apple.SoftwareUpdate.plist.lockfile
http://x704.net/bbs/viewtopic.php?f=12&t=6130
I was recently trying to upgrade to mountain lion through the app store. I have unreliable Internet from a cable company whom I will not name, but we all know who they are. My Internet dropped while downloading the upgrade. Once I went through the notorious unplug the modem/router and plugged it back in to gain Internet connectivity again, I could not resume. No matter what I did, the app store kept displaying "an error occurred." I am hoping that those with the same issue read this first to save them hours of skimming through the Internet to find a solution. Here are the steps to take:
1. Make sure you have reestablished Internet connection
2. Chances are you got frustrated when you tried to resume/unpause the download and clicked the "X" to the left. If so, select the "Store" drop-down menu from the App Store and select "View My Account." There should be an option to unhide your purchase. You know what to do.
3. There is also an option to reset all warnings for buying and downloading under "View My Account." Do this, click "Done," sign out of the App Store and quit the App Store.
4. Open the Preferences in safari and select Privacy. Select "Remove All Website Data." Just do it.
5. Launch the app store and sign in.
6. Now, if you "Check for Unfinished Downloads" everything works peachy.
I hope this helps. Not much I can do for your Internet connection though.
JonEz15...
https://discussions.apple.com/thread/4697970?tstart=120 -
I'm configuring a Server, running Windows Server 2008, to be accessed remotely. Suppose no user is logged in in the server (if it was just turned
on, for instance). Can I use the "Remote Desktop Connection" feature to log in remotely in this case? Or is it always necessary to have a user locally logged in, to remotely log in to one of the users available?If its a fresh installation, RDM might not work at first.
1. You need to check firewall and allow Remote Desktop. To be specific, communication to port 3389 TCP
2. Right click My Computer --> Properties --> Remote tab
Enable Remote Desktop
Allow connections to this computer
Click users and grant the permissions for the users. By default, Administrators do have the permission. An also, the users who are members of the 'Remote Desktop Users' security group also have the permission -
If i remove i-tunes then re-install it will i loose all my music? I accidently removed bonjour now can't use remote., If i remove i-tunes then re-install it will i loose all my music? I accidently removed bonjour now can't use remote.
Hello Footr,
The following article provides the answer to your question, as well as steps for completely removing iTunes and related components:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.apple.com/kb/HT1923
iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
Thanks,
Matt M. -
HT5287 Can I use remote disk on a 2008 unibody MacBook with no optical drive?
Can I use remote disk on a 2008 unibody MacBook with no optical drive?
According to the link you came from the only MacBooks this works with are MacBook Air and MacBook Pro with Retina display. If yours is not one of these I can see no harm in trying it.
You could consider getting an external optical drive. -
Can't update remote object (RMI)
I have made a class "A" that implements a remote interface "RI". I then rebind it to the rmiregistry:
RI bob = new A();
Naming.rebind("bob",bob);Class A has a few methods that I call that changes som private fields.
After some time I start another class B that makes a look up:
RI found = (RI)Naming.lookup("//localhost/bob");But the private fields have not been changed in this looked up object.
Is it necessary to call rebind each time I make a change to a remote object??If you'd stick to the same thread instead of starting a new one all over the place you'd find that I've already answered this question three days ago: http://forum.java.sun.com/thread.jspa?threadID=770735&messageID=4393030#4393030
Can you stick to that thread please. -
How can I use remote disk?
I just installed bootcamp on my Macbook Air. How can I use remote disk so that I can put a disc in my Mac Mini and use it in Windows 7 on my Air?
Here are instructions directly from Apple: http://support.apple.com/kb/HT1777?viewlocale=en_US
-
Can I use more than 1 device ie iPod and iPhone on the same iTunes account and have different music on them
Yes. Use the option to sync with selected playlists on the music tab when your devices are connected.
tt2 -
Can I use iTunes 10.7 and iTunes 11.1.3 on the same computer running Windows 7 (64-bit)?
Yes, but it needs to have at least two copies of Windows installed.
(94491) -
i still have 5 Gb icloud storage but 2.1 gb on iphone I want to upgrade to 6.0 but need 2.6 gb on my phone can i use icloud to free up some space and still access the apps that I store there on my iphone.
No.
You need to delete content from your iphone. -
Can you use a start up disc on an iMac without formatting the hard drive?
Can you use a start up disc on an iMac without formatting the hard drive?
Yes, because the startup disk is read from the boot rom, not the Hard Disk.
-
Can i use one JSF component's value for other component in the same page.
Can i use one JSF component's value for other component in the same page.
For example
I have a <h:selectBooleanCheckbox id="myChk"> in my jsf page, i want to access its value for another component like:
<h:commandButton disabled="#{myChk.checked}" action="myAction" value="myValue" />
** "myChk.checked" >> I am just asuming "checked" property is available...Bind the checkbox to a UIInput myChk property. Then you can reference this property from the page, e.g.
<h:selectBooleanCheckbox binding="#{myBean.myChk}" onchange="submit();" />
<h:commandButton disabled="#{myBean.myChk.value}" action="myAction" value="myValue" /> -
Can I use apple tv in India when I buy it in the USA?
Can I use apple tv in India when I buy it in the USA?
Welcome to the Apple Community SOM_PA.
Certainly, you can use it anywhere, obviously without the services which are US only (i.e Disney etc) -
Can i use my Corp discount to buy a phone and pay the balance after discount thru Edge?
Can i use my Corp discount to buy a phone and pay the balance after discount thru Edge?
Are Corporate discounts usable against the full purchase price of the phone?
How does Corporate discount work on More Everything Edge.Ok so another question are you going to pay full price up front for the phone, use Edge or do it on a subsidy? Also which model since they vary in price from $650-$950.
Line fees on a More Everything plan are typically $40 per line.As I said being on Edge or being off contract would reduce that by $25 if you have a 10 GB data plan as you state you would. The 10 GB data portion is $100 but since your discount is 26% it will only cost $74.
So to keep this simple until I get more info from you if you still had all 3 lines under contract, 3 smartphone lines and 10 GB with a 26% discount would be $194 a month before taxes and fees.
Since you have 2 lines currently of contract, if you kept using your current phones or paid full price upfront for new phones you'd have 2 month2month discounts of $25 so that would drop your bill to $144 before taxes/fees
If you bought the cheapest iPhone 6 on Edge your Edge payment would be $32.50 a month for 20 months. So for two iPhones 6es( assuming you got the cheapest one ) that would be $65. That would on top of the $144. So a total of $209 -
I can not use my account to buy applications inside because I forgot the answers safety questions
You need to contact Apple. Click here, phone them, and ask for the Account Security team.
(86795)
Maybe you are looking for
-
What type of external hard drive should I get?
First, I'm not sure were I should have posted this question but here goes.... I am officially 100% an Apple home environment now. I have an iMac, a Macbook Pro, and an Airport Extreme. I want to add an external hard drive and I need suggestions for w
-
When I try to edit a photo in iphoto, I select a photo and click on the edit button but all it does is duplicate the photo and doesn't give me any editing tools. How can I fix this? I have tried exporting a photo, importing it again but the same thi
-
Anyone else having trouble with missing ringtones after upgrading to 8.1.1
Anyone else having trouble with missing ringtones after upgrading to 8.1.1?
-
I have recently purchased Photoshop Elements - but accidentally chose the PC version rather than Mac (I had changed to Mac the week before). I spent over 3 hours using the online support to get the activation code changed from a PC to a Mac version
-
Nokia shuts down after connecting to bluespoon ax2
Recently acquired a bluespoon ax2 bluetooth hands-free. My nokia 6230i seems to have a problem after it connects to the bluetooth device. Right after it connects, it suddenly shuts off. I figured the problem might be the profile, but then still it do