Flash - Get Dow Jones Index Using REST API?
Mar 2, 2011
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?
View 1 Replies
Similar Posts:
Jun 22, 2011
So, for sending to individual streams we have to reference the connected netStream we want to send to in some way like this:
sendStream.peerStreams[0].send("MyFunction",param1,param2);
and I have to determine which peer I'm sending to by their ID such as "peerID1234"
I know that you can check the peerID of the stream by doing:
sendStream.peerStreams[0]["farID"]
how can I make my send stream function know to use the array index where the peerID is?
so basically it could be like:
sendStream.peerStreams[where peerStreams[]["farID"] == peerID].send("MyFunction",param1,param2);
View 1 Replies
Feb 3, 2011
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.
View 1 Replies
Jun 8, 2010
I want to pass a rest in a netconnection call, something like this:
public function requestData(service : String, ...params) : void
{
nc.call(service, params);
}
this doesn't work since the call is expecting each parameter to be separated by commas, like:
nc.call(service, params[0], params[1], params[2]);
I've read some posts about apply, but I can't find a solution for this specific case.
View 1 Replies
Jan 6, 2011
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...
View 1 Replies
Aug 25, 2011
i would like to remove one or more object at runtime.
After each removed movieclip rest movieclips should be reposition as below. (Removed moviclip is 4 at representative figure)
Movieclips can be more.
View 6 Replies
Aug 6, 2010
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:
Code:
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onWatch);
this.loaderInfo.addEventListener(Event.COMPLETE, onTotal);[code]...........
View 1 Replies
Nov 17, 2009
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?
View 3 Replies
Sep 7, 2006
How to create an illusion of a flash movie that gets bigger and looks like it exceeds the stage area.
View 4 Replies
May 5, 2010
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
View 1 Replies
Aug 16, 2011
I think it would be simplest to explain it like this:
[Code]...
View 1 Replies
Mar 22, 2012
I want to get tab Index with it's id. My tabs are in a tabNavigator.
this.tabid.instanceIndex returns -1
this.tabid.tabIndex returns -1
Do I have enable order or any property in tab Navigator to get the index of a tab?
View 1 Replies
Oct 25, 2007
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
#flash_piece {
z-index: 1;
position:relative;
top:0px;
}
View 8 Replies
Feb 23, 2012
Can I have a flash movie in a div under a another div file w/ content? I want to have this flash movie.[url]... and have a jquery slider over the top.
View 1 Replies
Apr 3, 2009
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.
View 1 Replies
Mar 2, 2012
Can someone recommend me a good example of Adobe air and REST API communication and authentication?
View 1 Replies
Jun 8, 2010
I've done my own delay function as following:
Code:protected function delay(func:Function, milliseconds:int, ...statements):void
[Code]...
View 1 Replies
Oct 6, 2009
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?
View 0 Replies
Aug 17, 2010
Will a flash movie the size of of the logo area for example[url]...
slow site down when visitors first open site, my friends said no but the whole movie has to load as well correct[url]...
View 1 Replies
Aug 22, 2009
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]
View 12 Replies
Jan 11, 2010
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,
View 1 Replies
Oct 13, 2010
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.
View 2 Replies
Dec 10, 2010
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 ?
View 2 Replies
Dec 30, 2010
I have a form that pops up in flex, it is a movieclip contained within a UIComponent. Within this movieclip are form fields.
For some reason I can't get the tab button working to be able to tab between the fields. I set up each field with a tabindex, but that doesn't work.
Is there anything else I need to do besides this? This is basically all the code I am using:
email.tabIndex = 1;
city.tabIndex = 2;
firstName.tabIndex = 3;
etc.
Is this not working because of flex? And if so, what is a workaround?
View 1 Replies
Jun 21, 2011
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.
View 2 Replies
Sep 15, 2010
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?
View 3 Replies
Dec 19, 2010
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?
View 2 Replies
Mar 24, 2011
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] .....
View 2 Replies
Apr 21, 2011
I am creating a Restful WCF web service which will need to be consumed by FlashBuilder 4. Is this possible? If so, how can I go about doing that?
View 2 Replies
Sep 28, 2011
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]
View 1 Replies