i just made a draggable window for my website, its contained within a movie clip(profile_mc) and with in that there is a button which has these actions applied to it :
[code]...
now it all works good, but its reall jerky and just stops even if you dont release.
I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr
Vista SP2 Visual Studio 2008 SP1 Windows Mobile Device Center
I have a large flash project and I'm trying to figure out the best way to handle it. I want to load in an XML file of groups and their members, and a bunch of attributes related to each group and its respective members - but these groups and members are only displayed on screen after a user clicks on their parent groups. My first thought was to just pull in the XML for the whole tree of groups and users, then assign movie clips for the groups, and attach properties related to their display and how the user will interact with them - but if they may never appear on screen, is it pointless to do this? How do I best structure this project? Build an object and attach properties only to the object, then add display data only on click?
I have a banner ad which contains an flv player. Due to size restrictions for banners at the site, I've found a player which I think will do the trick (chrometaphore). However, the site in question does not allow anything more than the actual swf for the ad, so I cannot include the com folder for the player and need to include all AS3 code in the swf file. I'm not a scripting genius, and wonder what it would take to include all the classes in the AS3 file contained in the swf. Is it possible? Does anyone know where I can find a VERY lightweight player whose entire code is contained in the fla?
[edit]: It just occurred to me that if the flv is on a remote server, could the com folder and files also be remote? Currently, the path for the com files looks like this:
I need to remove some movieclips that are attached dynamically so they do not show up underneath the new movieclips that will be attached when a user clicks the next button. I've tried removeMovieClip with little success. I am able to remove one or two of them, but not all. I need all of the previously attached movies gone.
Here is the as2 for it. PHP Code: //Set functions function show_movie() { menu_mc._visible = true; buttons_mc._visible = false; teacherinfo_mc._visible = false; } function displayInfo() { [Code] .....
Is there any way for flash to determine the number of files contained in a folder? If so how. I am trying to create a photo gallery which will load as many pictures as there are in a specified folder.
I am working on a short animated story, which has a scrubbable timeline and chapter headings. I used TimelineMax for sequencing it. For the most part, it is working fine. I am seeing some strange behavior that pop up, though: sprites disappear, functions stop responding to user input, seams of the sprites become transparent -- all small issues but pretty hard to nail down because they happen in Mac only.
So I am wondering what is wrong with Flash, and why it misbehaves on a Mac?
Can anyone tell me if I need to use Actionscript 3 code instead of Actionscript 2 code in the following situation: I am running a swf file which is contained in a browser window (all files are contained on a CD and I have a 'trust' file set up to let them play properly). Up until now, I have been using the following Actionscript 2 code to close the browser window (the Actionscript 2 code is on an 'Exit' button within the swf):
on (release) {getURL("javascript:window.close()");}
This Actionscript 2 code has always worked and still works in Flash player 8 and lower. However, it does nothing when played using Flash player 9. Can anyone tell me if Flash player 9 won't recognize Actionscript 2 code? Is it essential to use ONLY Actionscript 3 code if you are using Flash player 9? I am having the same problem when I try to launch another html page containing a swf (popped up from the swf contained in the main html window).I have the following code on the button to launch the popup html window.It always worked, but suddenly no longer works with Flash player 9.Here is the code I am using:
on (release) { getURL("javascript:launchWin2('webpage2.html');"); }
I have all the necessary background code to launch 'webpage2.html'.It works everywhere except in Flash player 9.
I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference(); private function onClick():void { fileReference = new FileReference(); fileReference.addEventListener(Event.SELECT, onSelect);
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
Is it possible for an SWF to detect the name of the folder that it resides in at runtime? And then pass that folder name as a variable to a function? If this is possible, would someone point me in the right direction as to how to do it?
I have 2 swfs. Swf #1 loads swf #2. Swf #2 has actionscript code that always makes that swf centered no matter how large screen you are viewing the swf in. When I call swf #2 into swf #1, swf #2 takes up the entire window of swf #1 when I only want it to take up a certain size.
Does anyone know if its possible to load a AS2 swf into a AS3 swf, and then have the AS2 swf load other AS2 swfs onto different levels (e.g. _level1, _level2, ect...). I'm trying to wrap an preexisting AS2 swf that manages the loading of several other AS3 swfs onto levels, with a AS3 swf.
I have a tilelist that is loaded using a xml document. The user clicks on one of the images and it is then displayed in a movie clip. the code to load the tile list and display the image is this:
Actionscript Code: var xmlLoader:URLLoader = new URLLoader(); var xmlData:XML; xmlLoader.addEventListener(Event.COMPLETE, LoadXML); xmlLoader.load(new
I have created a NetConnection to a Coldfusion component and the responder is tracing the fact that I have some data being returned.
My question is: How do I access the data that is contained within the responder?The coldfusion component is returning a recordset and with actionscript 3, I have no idea how to get to the data contained within the reposnse.
Have a swf that I am making (call it "contents") that gets loaded into another swf (call it "container") [pre-existing from someone else].How do I, from inside the Contents file I am making, address and execute a function from the Container movie?I know how to go from the container to the content file, but don't know the syntax the other way.Thought something like this should work but doesn't seem to:
Code: if(this.parent.parent!= null){ var parentLevel:Object = this.parent.parent as Object;
This is a simple page I am trying to add a .swf to, with a small custom made js function I slapped up. With chrome the swf is pushed up and out of the navigator window and is missing the top half.
I have tried this quick and dirty approach to detect browser and set the proper background values for each browser:
var browser = BrowserDetect.browser; var height = ''; var width = ''; switch (browser){
[Code].....
For the movie size in the embed tag: I have tried percents, I have tried pixels, quite a few different combinations. There is always at least one browser that chokes no matter how I set it. Right now it is chrome that chokes. Does anyone knowing the trick to these parameters mind clueing me in on a proper efficient method to integrate a .swf?
Maybe the outer html code is not properly structured and causes this? I am not specialised integration, I am mostly a back-ender, tried a few solutions online but this custom .js that sets values for <nosript> is the only way I managed to get this close to working crossbrowser.
My question basically, what are the clean efficient ways used by integrators to integrate swf cross browser, and is my approach workable if I set proper values?
I want to know if is possibile through regularexpression, count the numbers contained into a string and add a specified character near it.
For exemple, this is a string: Hello2all821abc13 This string contain 3 numbers: 2, 821 and 13 (note that the numbers contained into 821 and 13 are considered like an unique entity, not signle). I want to add near each of it the "-" symbol. Is it possible?
I have a movieclip (faceup) contained in another movieclip (card1), which is an instance of Card. I want to add a child to faceup from Card's class, however, I get a #1009 error.[code]...
My thumbnail buttons (in Lee's scrollpane example), when pressed, are showing the larger picture trapped within the mask of the scrollpane and not outside it. Button Code below: