i'm trying to do an image gallery. initially i was not able to display the thumbnails stored in the array. instead it keep showing the same thumbnails. with that solve i'm facing another problem.. i'm keep getting an error Error #2044: Unhandled ioError:. text=Error #2124: Loaded file is an unknown type. when i click on the thumbnail to load the .txt file.
hw can i command the pre-loader to track the progress of the download?
public function loadImage(filename:String):void
{
// show the preloader
In my asp.net application,I want to show the .ppt file using the slide show manner.
That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..
Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.
This is a slide show using the flash: [URL]
What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?
I'm working on an interactive CD for a summer camp. What are my options for showing a PDF file within a Flash projector? AIR or a .NET wrapper are not options because we can't rely on any frameworks that may not be installed on the end-users' machine.
(We've used FlashPaper in the past, but it looks bad and its not supported anymore. What's about fscommand?)
EDIT: Reading a link posted in Jordan's question, I saw the possibility of embedding a web browser in the flash projector. Is there a way to embed a web browser or trigger a web browser (pointing to a particular local file) in a Flash Projector?
I have a file I am saving out in php that is just a txt file that has an array in it like this:
array ( 0 => array ( 'key' => 0,
[Code].....
Then I am trying to bring it back into flash as an array. I have tried things like "as array" but that doesn't work. converting this "string" from a txt file into an array in flash?
When I try to publish my flash file to a windows projector file (exe), it doesnt show up in the folder that I have it set to save to. Below are images of the process I go through to publish it, and it still doesn't show up, even when I directly set the folder. I have tried restarting my computer and flash.
I know how to setup a preloader and I have that working. But when I debug the flash application and simulate a download, it has a blank background until a few seconds have passed. I know it is "downloading" the swf file and I'm wondering if I can show a progress bar for that, or do I need to have the swf file as small as possible and pre load everything needed and have all assets as a separate file I fetch? I found something with ProgressEvent.PROGRESS but this only loads after the flash file is finished downloading.
im working on a website called [URL] and im trying to get it to have coming soon on it so I created a swf file called index but it wont play unless you type in. [URL] For the life of me I cant figure out why it wont go to it...im using dreamweaver cs3 to create the page
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.
I'm trying to build a flash component for my upcoming website where I have to read data from a XML file and show these with a fading 5 second interval - I guess you could call it an image-fader/content-fader or some such :-) Before I post my code I would like to let you know that my experience with AS3 is quite limited as I've always been working with Silverlight (C#) instead.
Flash file wont show up on page unless you type in direct location. I am working on a website called phocusmag and I am trying to get it to have coming soon on it so I created a swf file called index but it wont play unless you type in. Phocusmag.com/flash/index.swf
For the life of me I cant figure out why it wont go to it...im using dreamweaver cs3 to create the page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]"> <html xmlns="[URL]"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> [Code] .....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
I'm trying to make a memory like game. It might be called Simon or Simple Simon or something. Basically something is shown for a second and then gone, then the user clicks that something. Then two or three things are shown in order and then gone and the user clicks the order.
I'm stuck at the very beginning, just showing something from an array for half a second or so then stopping and then starting over and adding one more element.
convert pdf file into byte array.and also i tried in Google also but no results yet.can u prefer how to convert pdf file into byte array and retrieve byte array into pdf file in flex application.
Several arrays are created by passing a number (k) from a different array,for every item in the array I need to have a little dot.I have a movieclip on the timeline with a maximum of 15 dots.So if the array has only 6 items, the last 9 dots should dissapear.
PHP Code:
function fill_items(k:Number) { var item = josXML.firstChild.childNodes[2].childNodes[k];
[code].........
But the dots_total[t]._visible = false; part isn't working...Maybe it's the wrong way to achive this, but i can't seem to figure out why it's not working.
On library i have some movieClips like box1, box2 ... boxn.How i can show all this box on stage using array?I just know how to show my array in OUTPUT window. var boxList:Array = ["box1", "box2", "box3", "box4", "box5"];trace(boxList);
I have a function that returns an array of search results. I have a limit of 7 per page. When they hit 'next' I want to show the next 7 results in the array. How can I do this?
I'm trying to show and hide a sub menu. So what I want to do is for the sub menu to show up and stay up if certain buttons are clicked, but disappear if other buttons are clicked. I've got an array of the sub menu. If any of the buttons are clicked from the sub menu array, it should stay.
var subMenu:Boolean=false; This is my sub menu array: var arrSub:Array=[m8_mcButton,m9_mcButton,m10_mcButton,m11_mcButton,m12_m cButton,m13_mcButton,m14_mcButton];
When a button is clicked, I want to check to see if the sub menu is showing and to check which button has been clicked. This is the code I came up with, but unfortunately, doesn't work...
function onButtonClick(e:MouseEvent):void { for (i=0; i<arrSub.length; i++) { if (subMenu && e.currentTarget!=arrSub[i]) { arrSub[i].y=-130; subMenu=false; }}
I want to make an array that loads movie clips, kinda like a tile game.. I'm making this "Badges" kinda thing on my game, and I want to add them with an array, so that it makes it much easier then adding each one.
I want it so that it shows 6 at a time, then you press a button, and it shows the next 6. How can I start out making this?
I am attaching mc's from the library using xml to populate the textfields. What I am wanting to do is show the first six mc's, then after say 10 seconds show the next six. With a text field displaying "1 of 3", after 10 seconds, "2 of 3" ....etc. A bit similar to image galleries really (sorry if I haven't explained this very well).Anyhoo, heres what I have so far, it loads the mc's one after each other:
I never worked with movie files before and I'm having problems to play a f4v file from a html file.
Inside flash, when I do a ctrl+enter, the video shows and plays just fine.
When building the .html file to play it all, only my presentation and movie skin will show up but the movie won't load.
Even if I do a file > publish the video won't show up or play. Everything I have on timeline is working just fine (and again, even the videoskin is showing up).
Now, do I have to change anything inside publish settings or do I need to try something different with html?
ps: here's the part inside html code where I insert the swf:
I never worked with movie files before and I'm having problems to play a f4v file from a html file.
Inside flash, when I do a ctrl+enter, the video shows and plays just fine.
When building the .html file to play it all, only my presentation and movie skin will show up but the movie won't load.
Even if I do a file > publish the video won't show up or play. Everything I have on timeline is working just fine (and again, even the videoskin is showing up).
Now, do I have to change anything inside publish settings or do I need to try something different with html?
I am trying to show a movie if the button clicked on is in my array... ActionScript Code: function showmenus(e:Event):void { //store my buttons in an array var threecolorbuttons:Array = ["menusilver33940mm3c", "menusilver343mm3c", "menugold33940mm3c"]; //loop through all buttons of movie and if theyre in array show 'myMovie' for each(e.target.name in threecolorbuttons) { myMovie.visible=true; }}
However this presents me with the following error.... Error: Error #2078: The name property of a Timeline-placed object cannot be modified. at flash.display:isplayObject/set name() at newchip_fla::MainTimeline/showmenus()
I want to read filetext (.txt) and put it in to array. here is my sample text from my file.
22 33 11 22 45 56
How can I read file and put it in to array like a[0] = 22 a[1] = 33 a[4]=11 ... or I should use 2 dimension array ? Is flash AS3.0 has 2 dimension array ?
I've got a button and an empty movie clip. Id like to show 4 photos in a random way but without repeating it till all of them are shown first.[code]...
I don't know how to create an array and on every Random number you check if the new Random number is already in the array. If not, you put that value in the array. If it is already in the array...you generate a new Random number. When the array contains all numbers.