ActionScript 3.0 :: Embedding An Amazon Associates Carousel
Oct 13, 2010
I want to put an Amazon Associates Carousel widget in my flash game. That means loading an external swf. Here's my attempt:[code]The only additional information I've been able to find is that the error happens in com.amazon.arsenal.loader::Preloader. It would be useful to know what object is null, or what line of code this occurs on (I have the decompiled source of widget.), but I have no idea how I would find that out.
View 4 Replies
Similar Posts:
Oct 12, 2010
I want to put an Amazon Associates Carousel widget in my flash game. That means loading an external swf. Here's my attempt:
Code:
var loader:Loader = new Loader();[code]....
The only additional information I've been able to find is that the error happens in com.amazon.arsenal.loader::Preloader. It would be useful to know what object is null, or what line of code this occurs on (I have the decompiled source of widget.), but I have no idea how I would find that out.
View 5 Replies
Nov 11, 2009
I have an average carousel flash component I downloaded... It would be easy to embed into an html webpage but I need it in a flash webpage that I am building...I figured I could put the whole thing into a movie clip and stop on that frame and the carousel animation would work fine but all it does is loop my animation... Even with the "stop();" at the end... My skills are pretty basic in Actionscript...
Code: Select all// Code Credit: Lee Brimelow
// Tutorial Reference URL: http://www.gotoandlearn.com
// Modified by http://www.flashmo.com
[code]...
View 1 Replies
Jun 12, 2010
how to associates the active button with current slideshow. See the link below from Apple. So, people know which button is active.[URL]
View 9 Replies
Apr 9, 2011
Wondering if I'm allowed to modify and save the flash ami "adobe-flashmediaserver-useast/fms-4.0.1.8011-centos"?It'd be nice to not have to reinstall and configure everything every time I run an instance.
View 4 Replies
Apr 27, 2010
I have flash (AIR) application running on a single controlled system (there is only one computer running it and nobody has access to it).I will host some files on Amazon's S3 and I need to make sure that only my flash app running locally on that computer can access those files.I'm wondering what the best (most secure) approach would be for doing this.My initial thought is to make the files on S3 private and store the secret key on the local computer running the flash app. Then when I needed to access the files from flash I would send out an authenticated query string with some expiration time. The only problem with this is that I don't know how to generate the S3 signature in flash. Also I'm a little skeptical about storing the secret key on the flash machine (even though it's a privately owned machine with no other users using it).Is there a better approach perhaps?I have access to a server with PHP, so I could maybe use that as some kind of proxy, I'm just not sure how while keeping the file access secure and not creating a bottleneck through the web server (as opposed to direct access to S3).
View 1 Replies
Jun 7, 2011
I've written a little OSMF player that streams via RTMP from Amazon Cloudfront. There's a known issue, the mp3 duration is not correctly readed from metadata and thus the seek function is not working.
I know there's a workaround implying the use of getStreamLength function of NetConnection, which I successfully implemented in a previous non-OSMF player, but now I don't know how and when to call it, in terms of OSMF Events and Traits. This code is not working:
[Code]...
View 1 Replies
Sep 27, 2011
I managed to run the FMS on an EC2 instance and I am able to use admin console. So I think I can say, that the server is running. Now I want to connect to the multicast application, which is delivered with the FMS as an example, via RTMFP. I can't get it to work... With an FMS 4.5 development server I didn't experience such problems. It seems to be a problem with the AWS. It might be, that I missed something to configure
View 1 Replies
Feb 27, 2012
I have a flex 3 app that is attempting to load images from Amazon S3. The images fail to load, so I fired up debug mode. In debug mode, the images load, but I also get the following output in the debugger[code]...
View 1 Replies
Mar 13, 2012
I am working with Amazon In-app-purchases for Android on flash using native extentions. So, I have implemented purchase flow in sandbox ( I was using their file InAppSDK-SandboxData.json for debug). But now, I have an amazon account. I have created purchase items in my developers account, and I want to test flow of buying them.
String requestId = PurchasingManager.initiatePurchaseRequest(product_id);
but it throws an exception, it try to open file "InAppSDK-SandboxData.json", but I have deleted in hope that it will go to product servers, but it does not. I found that I can only make purchases when I will commit my app to Amazon app store((
So, how can I test my real payments to product servers and how can I debug this process??
View 1 Replies
Feb 8, 2010
Does anyone know of any issues with running FMS on Amazon's EC2 Cloud environment? We're running some live streaming applications, but are hearing reports from users of random disconnects.
View 1 Replies
Jun 14, 2011
Are the RTMFP connection limits for the FMS AMI hard limits? What will happen when the limit is reached, will the server just refuse new rtmfp connections?
View 1 Replies
Jul 18, 2011
I can start an instance of Flash Media Server 4 on Amazon EC2, using the Adobe public AMI, and I am able to view the vod and live media samples without any problems.
I can SSH into the running instance, and I can also bring up the Admin Console web page for that instance in a browser. However I have not been able to log in to the Admin Console.
Before trying to log in to the Admin Console, I have edited /opt/adobe/fms/conf/fms.ini and inserted a username and password, then I saved the modified file.
I have also updated my security group to add a custom TCP rule to open port 1111.On the Admin Console page login fields I have kept the default server name of Server 1.For the server address I have tried both localhost and also the public DNS address of my EC2 instance.I have used the username and password that I put into fms.ini.
View 2 Replies
Apr 11, 2012
I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in and tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.What code/solutions are there to get this to play on Android devices?
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>
[code].....
View 1 Replies
Jul 6, 2010
what I need to do to set up variable bit-rate streaming with Amazon Cloudfront. I am not using JWPlayer but have built my own flash player.
What calls to I need to make to Cloudfront and how do I make them? Or is it all handled on the client side?
I am using FMS 3.5.
View 1 Replies
Apr 5, 2011
Has anyone tried using flash media server 4 on Amazon web service? I was wondering what your experience was and the costs of running it?
View 1 Replies
May 28, 2011
My company is about to conduct a big project which involves a flash games website. This website is targeted to the US, meaning it will serve a lot of concurrent users. We bought many flash games and the website is about to be finished, so we must find a hosting company right away.
The website consists of 10 static pages, 140KB each (design+images+CSS).JavaScript is being delivered via Google CDN (jQuery, SWFObject) to save bandwidth.We have 20 SWF games, each weights around 500KB to 6MB top.I'm planning to use dynamic compressions and basically any possible method to save bandwidth and resources, but nevertheless I must get a large hosting for possible growing in the future.SQL is nothing special: DB size will be 150MB top and all tables are indexed using fulltext catalogs and non-clustered indexes.
After doing some research, I've found that big websites are using Amazon's EC2. I tried to contact Amazon but they're weren't really helpful. All I got is the following URL.We are talking about Windows 2008 R2 and SQL Server 2008 R2.
View 1 Replies
Dec 15, 2010
I just set up a new copy of the official Adobe Amazon Machine Image for FMS4.One show stopper: it seems to require a license key in fms.ini, just like any other FMS4 install.The master log file has "invalid license key" in it. We tried giving it the "Activation key" no dice.There's a license directory in /opt/adobe/fms with 3 .bin files.We tried entering the path to that directory for the license no dice.The docs don't say anything about it.I've spent over 3 hours being transferred around Adobe and listening to elevator music(code).........
View 6 Replies
Apr 24, 2011
I've been trying to set up an instance of Flash Media Interactive Server on Amazon Web Services for an AVChat (avchat.net). I signed up for the service here:[URL] I have some simple questions on getting it started --- namely: do I create the FMIS instance myself now that I've signed up, or do I need to go ahead and create it? I see under the EC2 tab I can create an instance under 'Community AMIs' for adobe-flashmediaserver-useast/fms-4.0.1.8011-centos-5.5-ami-1.manifes t.xml Is this what I want? I realize this is a bit of a noob question.
once installed what I'm trying to do is to add a folder for AVChat into /opt/macromedia/fms/applications/ ([URL]). I am assuming that once I do have this instance running, I can move/modify files on the server instance.
View 7 Replies
Oct 28, 2011
I have just started using Adobe Flash Media Server on Amazon Web Services. Does anyone know how can I monitor server statistics such as the number of active connections? I have connected using SSH to the server but I cannot know what to do from this point on?
View 1 Replies
Apr 11, 2012
I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in <object><embed> and <video> tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file. What code/solutions are there to get this to play on Android devices?[code]
View 4 Replies
Apr 17, 2010
I've been thinking for a long time about working on a multiplayer game in Flash. I need updates frequently enough that ajax requests won't work so I need to use a socket server. The system will eventually have enough objects/players that I would consider it an MMO. I would like to set up a scalable system on Amazon's EC2. (Which probably effects my choice of server) This architecture would hopefully allow the game to grow without many changes over time. (Using a domain decomposition technique or something similar)
Heres my internal debate:Should I
a. Code my own socket server in C++ or Java?
b. Use the free and open source Red5 socket server for Flash?
or c. Pay the licensing fees and go for Electroserver?
I consider myself a decent developer, but am at an impasse as to what road to go down. I'm not sure if I, could develop/would need, the features of one of the prepackaged socket servers.
I'm also not sure if the prepackaged servers would work well in an Amazon EC2 environment and take full advantage of its features.
View 2 Replies
Nov 23, 2009
So to get around Flash security issues, I have a script to upload files to S3 by sending it to a PHP script on my server which then uploads it to S3 with server-side PHP libraries.
Now, I'm looking for a solution to downloading a file from S3 in the same way. I suppose the best way to do it is to somehow make a PHP script that downloads the file from S3, then sends it back to the Flash client?
But the one thing is, I don't want the file to hang around--I'd like to delete it when the process is done. I suppose I can just have the Flash client call another PHP script on the server that deletes the file after the load is finished.
View 1 Replies
Sep 9, 2010
I am having a heck of a time loading an image from Amazon S3.[code]...
Is there any way I can avoid having to hard-code the policy file path in my AS?
View 2 Replies
Jul 8, 2010
I'm using FlowPlayer to replace an existing FLV player on my site that plays videos from Amazon E3. I have many pages and each should show a different video. For each page, I have a value stored in my CMS that is the "streamName". The stream name corresponds to a flashvars paramenter in the object/embed tags that show the video player:&streamName=my-great-video
On my new player, I'm able to get the video using a URL similar to [URL] How Does Flash (or Amazon???) know to add in the .swf extension? There are several video formats used on the site, and the current player works with them all... But, as I mentioned above, on each page the value store for the video (ex="my-great-video") includes no extension.
View 1 Replies
Jul 27, 2010
My website allows users to upload photographs which I store on Amazon's S3. I store the original upload as well as an optimized image and a thumbnail. I want to allow users to be able to export all of their original versions when their subscription expires. So I am thinking the following problems arise.Could be a large volume of data (possibly around 10GB)How to manage the download process - eg make sure if it gets interrupted where to start from again, how to verify successful download of files.Should this be done with individual files or try and zip the files and download as one file or a series of smaller zipped files.Are there any tools out there that I can use for this? I have seen Fzip which is an Actionscript library for handling zip files. I have an EC2 instance running that handles file uploads so could use this for downloads also - eg copy files to EC2 from S3, Zip them then download them to user via Flash downloader, use Fzip to uncompress the zip folder to user's hard drive.
View 1 Replies
Aug 2, 2010
So I have a working Flash player using Cloudfront, AS3, NetConnection & NetStream. Works with a FLV, but I need it to work with MP4s. It connects to the stream, and outputs the following:
NetConnection.Connect.Success
NetStream.Play.Reset
NetStream.Play.Start
NetStream.Buffer.Full
My presumption is that it is working when looking at these messages, however it doesn't show the video or play any audio.
View 1 Replies
Oct 19, 2010
I have a server side code written in java and client side code written in flex. As client makes a request roughly every 3 seconds to the server, then I'm pretty sure I'm running into scalability problems at some point.
As far as I can see, I can host the application either in Google Apps Engine or Amazon Cloud. As I understand Amazon offers a do-it-yourself approach and I have to set up and maintain the cluster myself, which I'm not really fond of so I'm inclined to use GAE, which promises virtually infinite scalability if one can conform to the limitations and restrictions of course.
One of the limitations is the number of requests at 500 per second (can request temporarily more by filling in a special form), which roughly translates to 1500 simultaneous users, each pinging after every 3 seconds to the server.
What bothers me is that I really don't know how big this thing can grow and 1500 players definitely doesn't seem like a lot so besides using Google Apps and perhaps AWS (unless it scales better with what I'm trying to do), what other options do I have, which wouldn't cost me a fortune?
View 1 Replies
May 31, 2011
I'm building a Flash mp3 player to handle streaming mp3s served by Amazon CloudFront (which uses Flash Media Server). I'm using an FLVPlayback 2.5 component to do most of the heavy lifting (I tried an all AS3 method, but any stream automatically stopped within 5 - 10 seconds of playing). When I trace out the FLVPlayback's totalTime property, I get NaN. This is causing the seek bar to simply not work. This only seems to affect mp3s, as when I load an FLV I get a real value for totalTime. Does anyone know why this is happening
View 1 Replies
Nov 14, 2011
I am currently pulling data from an s3 storage account. S3 has a flat file structure but gives the impression that the files are stored in directories. how do I convert this String[]
[
"/company_1/user_1/1.txt",
"/company_1/user_1/2.txt",
"/company_1/user_1/3.txt",
[code]....
I am using grails to render the data as JSON for a flex application using an Advanced Datagrid and need a tree like structure, as if you were browsing files on your desktop.
View 1 Replies