I have to get Dow Jones Index using rest API in Flash. I found YahooApi, it works well on other indexes, but returns nothing on DJI. I have tested it here:[URL]Nether ^DJI nor ^DJIA returns Dow Jones index. ^NDX works well. How can I get this index too?
I'm doing a FB app with the Graph API in Flash. I've got everything working which consists in uploading some images created by the user in the app. The only part that I'm missing is how to tag these photos as with the Graph API it is not possible.
So I was wondering if it's possible to call a method of the REST API even though I'm using the Graph API.
Basically I have imported .flv videos into my flash website. The actual .flv videos have been uploaded to my website so the player skin is the only thing on each page and each skin is linked to the url of the video location. Hope its making sense so far. My problem is that the first video works fine but the other 3 videos do not play...the video player skin does not even turn up. I have also uploaded the "ClearOverPlaySeekMute.swf" video skin file onto my website but still does not work..Heres the flash website (its my own portfolio). If you go onto the "Projects" page and click on Solar System and go through the pages then you will see what I mean.URL...
My Preloader works fine when I preview in Download mode BUT only loads the first frame of animation.I have attached my file- just a simple image fade ( it has a lot more images but no space here!)Here is the code in the Actions layer:
I have a function that uses the ... rest argument as follows:
public function dispatchActions(... actions):void { var params:Object = new Object(); params.actions = actions; // I also tried casting ie. = (actions as Array) this.target.dispatchEvent(new ActionEvent(ActionEvent.dispatchActions, params)); }
I call it using myActionObject.dispatchActions("all"); The problem is that when a listener receives the dispatched params object and try to access the actions array, it does nothing. If I try to trace evt.params.actions it traces blank and if I try to trace evt.params.actions[0] it traces undefined.
ex:
function actionsListener(evt:ActionEvent):void { var actions:Array = (evt.params.actions) as Array; // I also tried without casting trace("actions", actions, "actions 0", actions[0], "action 1", actions[1]); }
This is the output: actions actions 0 undefined actions 1 undefinedI don't understand why I can't pass the ... rest argument through an object as an event parameter. How can I make this work?
I originally tried to capture, encode and upload the audio using Silverlight, but because of the lack of suitable client-side encoding options, I'm now giving Flash a shot (Flash has baked-in support for encoding to Speex).I think I've figured out how to capture and encode the audio... But now what was easy in Silverlight, is the challenge in Flash.My server-side is .NET: MVC2-I'm open to receiving the audio in whatever manner is best- REST, WCF..So that's my question: How could one upload binary data from Flash, to a .NET server-side endpoint
I have a flash drop down menu that overlaps a separate flash piece in an HTML page. The example of what I am talking about can be found here: [URL]
When you hover over product types, you'll notice that the drop down falls under the 'water banner'. I have set the z-index of that specific banner to be lower than the flash header but it still did not work. When I change the 'water banner' to a static image instead of a flash file, the menu overlaps without a problem.
This is the style that I have applied to the navigation bar
to play only once and then stop but the camera flash to keep looping.The sound is on a separate layer, but whenever I put the 'stop' feature in the ActionScript, it stops the WHOLE THING, so the camera flashes only once.Again, I want the camera flash to repeat, but the click sound to play only once.
I have a flash file that loads in a external swf. That swf contains a form that I want to control the tab order on. The external swf has form fields in it, and I have their tab indexes set. When I hit tab, flash ignores the flash index, and focuses on some of the navigation elements of the parent .swf. What am I doing wrong?
I am using swf files for headers on my website. All has worked well until tonight. If I clear my browsing history in IE then go to my website, the swf does not show on the index page (index page only thus far). If you refresh the browser the file loads fine. The only thing I have changed is I added some css for a navigation bar, which I would not think would effect the swf. You can look at the site at [URL]
I have two simple HTML divs one contains flash movie and another div contains simple text now my problem is that i have to put textual div onto the flash movie div what i am doing is setting the position of both divs to Absolute in CSS and setting the Z-Index of flash movie div to 1 and Z-Index of textual div to 2 but the text is coming behind the movie in every case but i have to put text onto movie,
I'm trying to get an absolutely positioned DIV to display in front of a Flash object; I can get this to work in every browser except Chrome.There are a couple of similar questions on here, but nothing pertaining to a problem with Chrome specifically. I've tried several of the suggested solutions, such as setting the 'wmode' param to 'transparent', and setting z-indexes for both the flash object and the div, but nothing seems to work.URL...There is some green text: "Click here to begin", which should appear in front of the Street View panorama. In Chrome, you can see that the DIV appears in the correct position, but is then obliterated by the Flash object.
I have a website at link text. I'm having problems with the navigation menu on the left. In the following menu: "Галерия -> Проекти" the submenu that pops up is shown under the flash content, despite of me setting the z-index. This only happens in Chrome and IE. Firefox renders it fine. Does anyone have a solution ?
I have swf object with z-index:-5; position:absolute; Also a div with ul in it where div has also, z-index:5; position:absolute; All browsers display div over my flash except IE9.
How do I know that my preloader is loading the rest of my file? I put a preloader on the first frame The rest of my web site is on the second frame If that takes too long to load up, I want the preloader to load. How do I know it is actually loading up the rest of the site? Or, is that not what a preloader actually does?
We are converting a Flex application to use some REST APIs.
When adding the mx.rpc.http.HTTPService class to the code, the SWF binary output grew from 175KB to 260KB. This is an unacceptable hit.
Is there any better way to do lightweight REST calls from a Flex app? Are we better off using an external interface JS just to make the calls from there?
The system is a Flex application communicating with a WCF REST web service. I am trying to upload a file from the Flex application to the server and am running into some issues. I'm using a FileReference in the Flex app to browse and upload the file as defined here: [URL]. I am then receiving the file as a Stream (shows as System.ServiceModel.Dispatcher.StreamFormatter.MessageBodyStream in the debugger) in the WCF REST web service (using project type of WCF 4 REST Service)
[WebInvoke(Method = "POST", UriTemplate = "_test/upload")] public void UploadImage(Stream data) { // TODO: just hardcode filename for now var filepath = HttpContext.Current.Server.MapPath(@"~\_testfile.txt"); using (Stream file = File.OpenWrite(filepath)){ [Code] .....
Positioning / Scrolling problem with Flex popup I am trying to get the main control bar on my application to control the location of a popup that has been opened using PopUpManager. create PopUp(this,JakePanel,false);Initially the page looks like this:After I scroll the page it looks like this: What I would like is for the Popup to scroll with everything else.[code]