Page Numbers In A Flash File?
Sep 15, 2009Is there any easy way to put the page number at the bottom of a page within a movie?page 1 is on frame 1 etc and so on
View 2 RepliesIs there any easy way to put the page number at the bottom of a page within a movie?page 1 is on frame 1 etc and so on
View 2 Repliesi'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
We are developing a dynamic image slide show which display images dynamically from XML data. We need display the numbers like (1 2 3 4 5 ) from the xml file as per the number of records for images with hyperlinks to their corresponding images. (We also need to display 10 numbers at a time )
View 1 RepliesI have created a booklet in InDesign cs4 that includes page turn transitions. I have saved it as a SWF file and it works perfectly on my PC with the ability to sweep through the page turns. My issue is now, what type of file can I export the SWF file to so that I can view it on an iPad and am still able to have the page curls?
View 3 Replieshow can i restrict the values inputted into my TextInput control in my mxml page to only numbers.
View 1 RepliesEverything seems to be a string right now & that kinda ruins the whole xml as an internal data structure thing, I don't need a big tree of string I need typed data :-/ Are there any changes I can make to either my XML files or my AS3 code that will force it to cast ints as ints and Numbers as Numbers? Or maybe some kind of type schema I can impose? Not really worked with XML til recently so chances are I'm just ignorant of the canonical way to deal with this...
View 4 RepliesI am able to pass a variable from an html link that loads a separate html file and instructs the embedded file to go to a specific frame.But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:
html file 1
Code:
<a href="fullpage.html?stateVar=19">Go here</a>
html file 2 swf embed code with variable info:
Code:
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("yourSWF.swf", "sotester", "500", "500", "8", "#FF6600");
[code]....
have a swf file which content a FlvPlayback play to play targeted video. It is working OK when I run published HTML file from flash professional CS5. but when I embedded this flash to asp.net content page using object tag the move will pay but the video controls play and stop with disappear. I listed down the code I sued.
[Code]...
I have a flash file that I'm trying to change backgrounds for each page. The background itself changes nicely but I'm having a problem getting the background to scale to the stage size. I'm using Greensock's Liquid Area to try and handle it and it does well with a single background but as soon as I introduced more my code choked..
package com.picturesite.pages {
import com.gaiaframework.api.*;
import com.gaiaframework.debug.*;
import com.gaiaframework.events.*;
import com.gaiaframework.templates.AbstractPage;
[Code] .....
I want to make a button within my flash page that when clicked will allow the site viewer to download a .rar file. how would this be achieved? Would I simply use a URLRequest and Loader?
View 4 RepliesI have this java script and want it to work in a blank flash file when i open it in a html page.
[Code]...
i was trying to edit my xml . i want to increase the value of the numbers in my xml file.[code]
View 4 RepliesHow can I use sendAndLoad to call a php page with flash, and have that page create a user download box, to save a txt file? I have the php code that outputs a text file:
Code:
Header('Content-Type: application/octet-stream');
Header('Content-Disposition: attachment; filename=test.txt');
// Print the text to be sent
echo "hi";
That would force a download box if you ran the php page but the send and load will not get it to work.
We need to display an HTML page within a Flash executable file. We request the members of this forum to kindly guide us on how to go about it.
View 1 RepliesI'm working on a sample i found on this site:
[URL]
it captures the webcam & saves the image then posts it to a page.
but it seems that i couldn't catch the saved image
i'm capturing the response in a aspx page and save the image in a file. here's my asp.net code:
if (Request.Files.Count == 0)
{
Response.Write("ERROR: No files were uploaded");
return;
[Code].....
is it possible to load javascript file to the page using flash instead of embed the code in the page? for example : Wibiya Web Toolbar.so I made immediately an account for this forum to get the code for the example.[code] URL...
View 1 Repliesabove.the .swf is already embedded in html page. and i have couple of buttons from .swf file and how do i call call the html page with the button inside .swf file
View 7 RepliesI'm working on a sample i found on this site:t captures the webcam & saves the image then posts it to a page.but it seems that i couldn't catch the saved image, im kinda rusty on'm capturing the response in a aspx page and save the image in a file. here's my asp.net code:
if (Request.Files.Count == 0)
{
Response.Write("ERROR: No files were uploaded");
[code].....
I have a master page and a child page and have placed the javascript code inside the child page for flash movie.
The problem is the movie seems working when there is a alert on, without at least one alert msg, the code does not work, I am sure you people can solve, I can see that the following code works well in both Mozilla and IE, but only if the alert is ON, if I put it off, then the code does not work. Can anybody tell me what is the workaround :
[Code]...
I've been working on a project for a while but got stuck where I have a text file that contains a set of numbers in this format[code]...
So I must read the numbers from the file and put them in an array according to the column so at the end I have[code]...
I am almost finished with my project and I am once again stumped on how to tackle a search feature. I have one more section to do that will be a printing function.
Having an XML file, I need to search this file based on a range for criteria.
My XML data will have many sets of data separated by a gamenumber tag. The gamenumber is unique in value but the sub data will not be. There will be same values in that range.
So what I am looking to do is search anywhere from 2 to 10 gamenumbers at a time with 2-10 numbers. These numbers are in an input box and get called from a click event listener.
I have the routine working to search 1 data set but I can for the life of me think of how to do multiple data sets in one shot.
Here is an example,
Search games 2-5 for numbers 2 7 13 19 43 80 etc... Each number is in it's own input box.
The results could be an array or 4 different strings. It should be dynamic because the searches will changes from 2-10 games.
I am using an if else if statement to separate the searches and run it's own routine. So when the start number is not null and the second search number is null, it only searches a single record. The search parses only the data based on the start number search input box.
But if the end number is not null, it will go to the routine and search the scope of the the number range. I am thinking that the routine starts with the start number and then use each gamenumber in a loop to parse the data for that game only and store the results. Append each result into an array or strings.
I looked at for each and for in loops but I am not seeing who to put it together yet.
Here is what the XML Data looks like
Code:
<?xml version="1.0"?>
<Container>
<Game>
[Code]....
Just wondering. Is it possible to load data from a external txt file in AS2? in particular using the data loaded as a number variable to use for say a Maximum number in a timer counter? for example, say the text file has the variable&numOfPhotos=3how can you make it so flash AS2 can read the variable and convert the number (which I guess is a string) into a Number variable, ready for the swf to use in number related activities?
View 4 RepliesI can't figure this out. When I test a URL page with an embedded SWF file (using [URL]) I cannot get the embedded SWF to play more than one or two frames. However, if I upload this same flash-embedded html page, and test it on the WWW, then it seesm to play without a glitch.
View 1 RepliesI have a page that has a table with each row corresponding to an audio file. The last cell in each row embeds a simple flash audio player. The problem is that the flash file for the player is being downloaded for each row separately and as soon as rows go beyond 40-50 it crashes the browser.
I tried using different players (1pixelout, flash-mp3-player) and the problem is still there, so its not a player specific issue.
Is there any way to cache the player so that it is only downloaded once?
Under Visual Studio 2010, I'm developing an asp.net application.I added a folder to my project called Flash. Under Flash folder I added a swf file with its external resources to run. The folder content:
1- ScrollingImages.swf file to lunch the flash
2- ScrollingImages.xml file that the swf file uses to read images from thumbnails folder
3-thumbnails folder which content images used by swf file. I can embed the swf file to html easily using this code:
[Code]...
I want to get an idea on how the majority of people structure the flash websites they make.First, do most of you actionscripters, when creating a website, use a parent movie that holds the sites navigation and an embedded blank movie clip to load individual content pages? I get the feeling that is true because it saves a lot of space in your swf file.
That was the easiest question. Next, when you create a transition effect to keep the viewer occupied between loading different pages, how do you usually go about this?Assuming you have a blank movieclip in the main SWF to load individual page content.Do you have a movieclip animation that is called in the main SWF that is a layer above or masks the container movieclip which is loading the external content? Or, do you have the transition in the actual content SWF, with a transition in effect, midframe with the content, then transition out effect.
It seems the second choice might be a little more repetitive, but maybe a little more simple, then again, maybe not.My last question is not actionscript but javascript.I want to load my flash file from a link on an html page that launches a new window that is perfectly sized around the flash movie, with none of the menu bars and that works on windows(ie, netscape, opera) and MACs.As a secondary, if its possible,I would like to have the flash movie pop up into the center of the screen, right now it pops into the top left corner.Here is the script I have. It works for PCs with IE, but a friend that looked at it on her MAC had to resize the window:
Code:
<A HREF="" onClick="window.open('flashmovie.html', 'newWnd',
'width=750,height=400'); return false;">Try this</A>
The flash.html is the automatic html page that flash publishes your SWF file.
i've created a php file which grabs ID, name, URL1, URL2, and Price from a table and puts it into an array called 'loadpics'.Now here is where i'm lost.How can i then put pictures into flash from the URLS in the variable? how to tell flash to create the pictures... Do i need to use a component or something? Or do i create a movieclip and somehow load them in there? if someone has an xml script example of putting images from the urls in the variable created by the php.
View 3 Replieshow to do this and not found much, so here goes:
I want to generate a variable number of random numbers less than 16 with no duplicate numbers
Ive posted the fla, and what i'm doing is generating a random number and putting it into an array then using a for loop to cycle through the array for each new random number to check if its already there. if it is, then i want to regenerate that number.
if you test the fla you'll see that all i get in my array is some lovely zero's and i sort of know why this is, but don't know how to stop it.
I am trying to convert a string having numbers to an integer.
//15 9's are there
var str:String="999999999999999"
var res:Number = new Number(str);
But it is not able to convert correctly as the the var res now has the value 100000000000000000. I know that the number has 52 bits of memory, then why is it not able to do the conversion?
I wanted to make a book with flash where each page is a frame in the file. I have successfully made the next page and previous page buttons, but I was wondering how to get started on making an input field that lets users put page numbers that go to the specific page / frame.
View 1 Replies