I want to create a Flash movie which displays four numerical values. I am a teacher and the four numbers are pupil teampoints gained during the week in class. Each friday I want to open the Flash movie and the four numbers to be displayed with a bit of music in the background for dramatic effect!I want the Flash movie to retrieve the four numbers from a txt file located in the same folder as the movie. I want this as other teachers at my school will then be able to come along and change the totals without having to fiddle around in Flash, and also so that the values can be entered before the children arrive in class. Is this possible? I think there are functions in Flash that retrieve information from txt files but I am not sure!
I have a problem with SharedObject. I created SharedObject using AS2.0 it's working fine.... my question is can it possible to store the variable values in an .txt file where the flash file is saved... basically the SharedObject will store the vallues in localdrive with file extention. not only using SharedObject if any other way to store the vaules in .txt file will be helpfull for me... my requirement is to store the the position of the swf file and when the time it reopen, it should start from previous position.
I am using a flipbook Flash/Actionscript 3.0 framework for a digital magazine[url]...
You can have videos embedded in the pages of the flipbook, but they can not be display fullscreen like Youtube videos, for example.
The flipbook can also import swf files to display as pages of the flipbook, so another way of embedding videos into a page of the flipbook would be to have the video player in the swf page you are embedding. This gives you more control over the style and the positioning of the video.
My question is: Is there a way with AS3.0 to togle the embedded video from normal predefined size to fullscreen and back?
When I use swfobject (or, for that matter, publish from Flash)...if my HTML file is in the same folder as my Flash .swf (called "bin")...the flash file displays as a blank white page. I can tell the .swf is on the page, because when I right-click I see the flash context menu...however, the swf is blank. So the path isn't written incorrectly.If I move the HTML file inside the "bin" folder and change the path from "bin/myFile.swf" to "myFile.swf" everything works again...what gives?I think it might have something to do with using the Loader class...I am using loaders to loader external .jpeg files. But I don't know what to do about this other than to keep my HTML files in my "bin" folder which is a bit of a pain.
i am using FlashDevelop and i have created 2 very simple classes, [code]When i create an instance of the Vehicle class in my VehicleOnly.as file and send the values to my constructor, and run the appplication, it does not show any output to my Output panel.[code]
to display the items from an array in a certain way, in two columns for instance so that they fit into a dynamic textfield or maybe to force a break when theyre displayed in one row
We're trying to upload a file and submit parameters to an ASP.Net MVC2 controller from a flash application. Essentially though this is simply creating a standard multipart/form post with a file and posted params. In the controller:
public string Upload(HttpPostedFile file, string someString, int someInt, DateTime someDate) {
to display the items from an array in a certain way, in two columns for instance so that they fit into a dynamic textfield or maybe to force a break when theyre displayed in one row
As far as I know, a pixel is a pixel. You can hardly move a DisplayObject half a pixel, can you? Still the x and y properties of a DisplayObject allow values with two decimals.
A small test.. PHP Code: addEventListener(Event.ENTER_FRAME, enterFrameHandler); function enterFrameHandler(e:Event):void { myDisplayObject.y = Number(myInputBox.text); trace(myDisplayObject.y); }
Shows that this happens in steps of five (0, 0.05, 0.1, 0.15, etc.). Values like for example 0.16 get converted to 0.15. Also, the object moves 1 pixel as soon as it's x/y value is .2 You would expect the x and y properties to convert the given numbers to integers, no?
I have just started using external AS3 files to try wean myself off using code in the main time line.I am importing an XML file using an external as3 file, but cant return the values to the main timelineIt worked when I used the trace option, but I need these values to dynamicly populate a movieclip on stage (another problem I cant add movie clip to stage even though I have the linkage etc)AS3 Code ----------------------------------
I am building a custom shopping movie for a client. He sells wine and champagne glasses with customizable bracelets. He wants customers to first choose either a 2,4, or 6 pack of glasses, and then individually choose bracelets. My problem is I don't know enough AS to code the functions.
For instance, when a customer first orders 2 glasses, it adds them to the cart, and then sends them to a new frame of the movie, with pictures of the 4 possible bracelets and a text field below for quantity, each with a default value of 0. They can choose 2, and only 2, bracelets by adding a "1" to their desired text fields.
First off, I want nothing to happen until they add a "1" to 2 separate fields. Once they have done that, a specific 'add to cart button' needs to pop up, that will getURL the proper link to add that bracelet combo to the cart.The code, which is wrong, that I am using so far is this:
ActionScript Code: on (release) { if (AS2 + B2 + R2 + SL2 < 2) {
I want to be able to add the sum of 3 input text boxes and have the total be displayed in another text box. figure I set a variable and do something along the lines of: Number = "_root.input1 + _root.input2 + _root.input3";Or do I have to do this another way?Also where should I put the code? In a button? Or can I stick it in the frame to save complications of users clicking on a button.
How would I go about editing the code for this tutorial: http:[url]......so that there are 8 thumbnails displayed at a time and instead of scrolling based on mouse position, the user clicks a next or previous button to display the next set of 8 thumbnails in the xml?I attempted to get it to display the thumbnails vertically by changing some x values in y and a width variable into height, but that failed miserably.This site is an example of what I am trying to accomplish: http:[url]....
It's been a about seven years since I have done any work with Flash but now my employer is asking me to create a custom online magazine tool (we're publishers). I've been immersed in PHP and AJAX and building Mac apps with XCode so I've got a bit of a relearning curve to go through.
Anyway, I'm pulling in some XML into a Flash file and want to display some of the various node values in a dynamic text box. That was easy enough, AS3 makes it a charm compared to the dark old days. The problem I am running into is displaying the values - its kind of a runsheet for a magazine - num of pages, ads, features, etc. etc. and I want to display that in one text box in a list type format. So I have something like this:
I'm just trying to have a textbox on my main stage display certain values depending on what frames are being played. So having not done actionscript in a LONG time, I would assume is it something like this:
I recently found out that the flash swf's I was trying to load were in as2 which is causing a great deal of problems. The sad reality is I need to load these up somehow, or find some alternative.What are my options for loading as2 into as3 from a remote source (different domain). I'm using Flashbuilder 4.5 as my development tool. I've been using flex for about two weeks now, so this is a little daunting.
After dragging many MovieClips/Components onto the stage, how can I generate a report (or display on screen)by listing the names,parameters, values of all the movie clips/ components dragged on the stages?
Is it possible to display my google calendar in a flash file? I tried loading it into a dynamic text box but that did not work. I feel like an idiot as it seems this should be easy to do.
I bought a website template that has a scrolling photo gallery. As it came, the images are static in the fla file itself. I would like to edit the fla and load images dynamically. Ideally from MSSQL. I'm using VS2010, C# webforms, and SQL Server 2008 R2. Are there any code snippets or tutorials or general guidance on how to do this? I do have a CS3 disc with Flash on it I can use for editing.
I've been looking around like a forensic scientist piecing together information for my latest project. Basically I need to display a particular webpage within my flash file... Now I know flash can display simple HTML, but nothing complex and nothing from an external source... BUT I know flash can also handle PHP - obviously. The page I need to load is a wordpress website, a combination of PHP codes and simple HTML snippets... but what I couldn't find was a way of inserting the snippets into a control box or movieclip on my page (actually run the PHP code to fetch HTML snippets).
My website will have a logo on the header that will play as a flash movie (animated flash movie .swf). I am looking for code / algorithm that will display an image with the same dimensions as the flash movie if Flash is not installed or enabled for the current user accessing the site. How do I do this?
I have been created Flash Presentation for my client. I woun this presentation. But It will show only when user close the presentation. And it will appear for 20sec. and then disappear. I have did this in Macromedia Director few years back through lingo scripting. But I'm don't have much experiec in Flash. So I don't know whether it's possible OR not?
I am trying to load .F4V file to Media Display Component on button press using Following Scriptvideo.setMedia("support/name.f4v","F4V")But its not working,
I just tried to display a flash file and an image with Fancybox.
To imagine about what am I talking, take a look on the next snapshoot:
[URL]
fancybox to be loaded automatically on pageload with the .swf file and the .jpg .swf file to be centered as it is also on the example above .jpg file to be positioned on the right bottom of the screen/page
[Code]....
Can this be done, to show up 2 media files on a fancybox overlay at the same time?