Actionscript 3.0 :: Twitter Connect - Get Profile Picture?
Nov 30, 2010I'm working with some forms and i need that the user connects to Twitter (from my EXTERNAL web page) to get his/her profile picture (possibly its URL).
View 2 RepliesI'm working with some forms and i need that the user connects to Twitter (from my EXTERNAL web page) to get his/her profile picture (possibly its URL).
View 2 RepliesI'm trying to display the profile images from both facebook and twitter. For facebook, the URLs I'm receiving are something like this (not actual urls):[URL]... Which is then redirected to the 'actual' url like this:[URL].. I'm also doing this with twitter, with the same issue (redirected url).
So, when I load the image, it loads fine. But when I close the container that the image is in, then I get the security sandbox violation. I can get this all to work if I add the URL from the 'actual' image url like this:
[Code]..
I have a PHP script that returns to me my (and my friends) profile pictures, using the following: [URL] where $ID is the ID retrieved using the PHP API. I then use the following for loading the images in my app:
[Code]...
I've verified repeatedly that the ID being sent back from the PHP is in-fact my ID, and I've copy/pasted the address traced BEFORE the loading function into a browser and I get my correct profile picture, but somewhere in there it's bugging out for my ID in the load and only my ID in the load (I should rephrase it to say it bugs out for WHATEVER user is logged in to Facebook, not just me).
I'm having trouble passing the url for a users facebook profile picture to a Loader() variable. I'm using a PHP file to get around the security and from the debug I made, it shows that I'm getting the URL fine, but the Loader runs the error event listener. Here is what my facebookProxy.php file looks like;
<?php
$path=$_GET['path'];
header("Content-Description: Facebook Proxied File");
[code].....
im making this app, and i have it connect to the twitter api, but then say the facbook button or any of them is pressd the tweets are still displayed. Im sure its simple to remove a event listener, i know it exists but i have never done it so i have no idea how to do it... Can someone show me please?
This is my code(dont worry about the top too much, its just buttons twitter is near the bottom)
[Code]...
I'm trying to connect to the Twitter API via an AS3 app, but I keep getting
Error #2032: Stream Error. URL: https://api.twitter.com/oauth/request_token
When I try URLRequest("https://api.twitter.com/oauth") it at least loads something and calls my Event.COMPLETE listener. Can Flash just not connect to the Twitter API without a third-party? I have tried numerous AS3 OAuth packages and keep getting the same thing.
edit and I'm using Security.loadPolicyFile("http://www.twitter.com/crossdomain.xml");
I've created an app which uploads pictures onto facebook, works 100%
But now im trying to work out how to upload images to Twitter,
Does anyone know if this is possible through flash? and if so can someone point me in the right direction?
I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) {
thisframe =+1
}
[code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]
[code]...
I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):
public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";
[code]...
AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class
private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()
[code]...
It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.
I recently used the loadMovie action to load a .swf file to a target in the movie which it was being called from. Then I tried calling a picture to another target in the movie, but it did not load the picture as intended. I read about it on my book, but it didn't seem to work. Is there anyways on calling a picture into a target in the movie without placing the picture inside an swf file?
View 7 RepliesI have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.
View 3 RepliesI am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.
View 1 RepliesI'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?
View 3 RepliesHow to get profile URL given an UID?
View 1 RepliesI how that any Can help I have a Picture that I want To destroy it As someone break it as a glass and then something made it go back as she was
View 1 RepliesI made a document preloader thanks to kieth bit101. However i cannot test it.
View 5 RepliesI'm working on an AS3 Flash only facebook app - and I'm confused about how to download the users picture when a vanity url is not in use.Once authorized - i'm able to access the basic information fine first_name, last_name (not profile pic tho).. but I do recieve the link which can come in 2 forms [code]when 1. is in effect, I can access the remote profile picture fine via..URL...
View 2 RepliesI am building a new website, which you can see at [URL] The first bit I want to add is an area where business owners can list their business' information, such as the address or contact information. They should also be able to login later to change the information. I assume this will need some sort of database, but don't know where to begin looking.
Second, I wish to add a map that highlights the locations of these businesses.
I am having trouble profiling my application using Flash Builder 4 with any version of Flash Player above 10.0 (approximately, I can't remember exactly). To get round this I installed an older version of Flash player for IE and pointed the profiler to this when profiling.Now I want to use 10.3 so this is a problem! The alert box I receive is:
"Unable to connect to the application to fetch profile data.
It turns out I needed to state a full path to the ProfilerAgent.swf in my workspace in the mm.cfg in my home directory. For example:
PreloadSwf=C:UsersChrisDesktopWorking folderWorkspace.metadata.pluginscom.adobe.flash.profilerProfilerAgent.swf?debug=true
I am having trouble profiling my application using Flash Builder 4 with any version of Flash Player above 10.0 (approximately, I can't remember exactly). To get round this I installed an older version of Flash player for IE and pointed the profiler to this when profiling. Now I want to use 10.3 so this is a problem! The alert box I receive is:"Unable to connect to the application to fetch profile data.Please try profiling the application again."t turns out I needed to state a full path to the ProfilerAgent.swf in my workspace in the mm.cfg in my home directory. For example:PreloadSwf=C:UsersChrisDesktopWorkingfolderWorkspace.metadata.pluginscom.adobe.flash.profilerProfilerAgent.swf?debug=true
View 2 RepliesSo I'm dealing with a 15" Glossy Aluminum MacBook Pro and a 24" Dell (2408WFP) Display. The Dell monitor was configured with a color profile to make it -display- colors more realistically. The problem is with the Eye Dropper. It is essentially useless on all but the primary display.
If I take a circle and place the Flash window such that the circle exists halfway between the two monitors (some on the Dell, some on the laptop) and use the Eye Dropper, it gives me two different colors for the SAME FILL. On the primary monitor, it gives me the color I have the fill set to (DD0000), on the Dell, I get another color. Flash still seems to know that the fill is supposed to be DD0000 because using find/replace color, I cannot get Flash to find the color that the eye dropper reports on the Dell display.
i got five images, and five buttons, every image has a color, and lets say we start at the red one. When i click the the green button i want the green image to fade in.. i fugured out a way to do this on the timeline, but then i have to have a black box first fading in to remove the old picture and then start fading in the new picture..
View 2 RepliesI made a simple picture slideshow with a timer, prev/next buttons, pause/play buttons and jump buttons. Everything went good so far.Now i'm trying make every picture go to a URL when the picture is clicked but only the link on the first frame goes to the URL when clicked the other 5 buttons do nothing when click.(FYI: I made alpha 0% buttons in a layer above pictures)I tried two different codes but both have no effect.
as layer
Code:
stop();
var nextImage:Timer = new Timer(3000);
nextImage.addEventListener(TimerEvent.TIMER,playNext);
nextImage.start();
[code]....
I am developing a facebook application which sits in an application tab.The app is developed in flash and as such must use fb:swf to embed the swf.Therefore it sets allowScriptAccess = never on the swf.There are 3 things that I will need to do, and I am not sure if it will be possible.1) Load external SWF files into the parent swf2) Load dynamic XML from the server3) Upload files to the serverI am using flash 10.
View 1 RepliesI'm trying to load profile images (friend images) from Facebook with AS3 but I seem to be running into a security issue.I'm currently using the "official" Adobe Facebook API for Actionscript 3 which works fine. However, I seem to be having trouble loading profile images when running my application in a browser. The images load fine when running in the Flash IDE.The images are being loaded from URL... and there seems to be a crossdomain.xml policy on that domain:[code]
I just noticed that when I visit one of the images in a browser that I'm actually redirected to Facebook's CDN where the actual image is stored. When I hard-code the image url with the redirected URL I can load the image in the browser. It seems that this is not a security issue after all but a redirection issue.If this is a redirection issue then the question would become; How can I have Flash Player load an image from a redirected URL?It seems that the URLRequest class has a followRedirects property which is only available in AIR.I'm currently using a PHP script to get me the redirected URL as a work around but this of course is far from ideal and potentially a big strain on my server.
i'm developing an application for both desktop and mobile devices and would like to use the same code base for each build.
i want to employ cacheAsBitmapMatrix on some of my display objects, but cacheAsBitmapMatrix throws an error if it's included in an AIR application with a device profile other than mobileDevice or extendedMobileDevice.
something like the following would be ideal:
if (cacheAsBitmapMatrix.isSupported)
myDisplayObject.cacheAsBitmapMatrix = new Matrix();
[Code]....
I am trying to create a facebook application that will allow me to post to a fanpage wall once installed. to be honest i am a newbie when it comes to actionscript and am just looking for a simple solution. I have set one up that allows me to post to a personal profile but dont know how to do so for my fanpage.
View 0 RepliesI'm using Flash to create a simple profile on a recording artist for work. I'm trying to embed a minute-long .mov file into Flash, so when someone clicks the "watch" button I created, it changes frames and plays this .mov file. I have everything uploaded, but the .mov file only shows up on certain computers when someone actually clicks the "watch" button. It works on my Mac, a friend's Mac, but on the three PCs I've tested, it won't show up. The Flash file itself works, but the .mov file won't show up on the frame when it is accessed.The flash file containing the .mov is embedding onto a .php page made in Dreamweaver. On all computers, when the .swf is accessed directly, the .mov file will work properly. On the PCs, when the .php page is accessed and the Flash loads, the .mov will not load.URL...
View 1 RepliesI'm bringing in production art into Flash, and it's shifting getting lighter. I've read all about the issue, how it's
photoshop's color profiles, etc. Problem is, converting the images to working RGB isn't helping. I've tried converting them (originally they were in Adobe 1998 RGB) , creating a new document with the correct profile, but nothing works. I'm saving them out as PNG files. They look great in a browser even. Just washed out in Flash. Anything else I can try?
I'm building a Flex application with Maven and the Flex Mojos plugin. I now want to compile an alternative version of the application with some extra libraries to enable automated functional testing. For this I need to change 2 things in the pom: extra dependencies extra configuration of the Flex Mojos plugin in the build section I created a profile in the pom targetted at building the alternative version and added the extra dependencies. I'm wondering however how I can specify the extra configuration of the Flex Mojos plugin in the build section. Should I just redefine (copy and modify) the complete plugin configuration from the build section into my profile,
View 1 Replies