IDE :: Swf Files Work Fine Separately, Don't Work When On Same Page?
Feb 22, 2010
I have run across a strange problem. When I load products2.swf by itself, I can call the two "copy" files and everything works. When I open 0342.swf (the index page), I can switch between the home and products2 pages, but I can't view the "copy" pages.I'm guessing there may be some sort of conflict with variable names, but I have been messing with it for most of today.I have uploaded all of the FLA files to here:[url]....
If you make an swf file out of each of the attached items, and open the 0342 file, you will see what is supposed to be happening.
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";[code].....
I am a rookie with this, I copied and pasted from a tutorial. the main page and directions pages work fine, but for some reason the others get stuck when the % reaches close to 100%.
I have a strange problem: When I type the absolute URL to my SWF file it works fine; however, only the background image appears when the SWF is embedded in the home page.
Basically a button in my .swf works fine, but when put in any browser it doesnt work. The button is in the flag in the top left and is a link to my advertising agency.
This is the .swf - [URL] and this is it in a browser - [URL]My code to embed is :
I have an flv loaded externally. I've added it to a movieclip and want it to fill the stage as my background and scale proportionally. The proportions work fine and the movie seems to scale fine. My problem is the movie doesn't start right away. It shows blank until I resize the browser then it shows up fine.Here is the code:
I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?Does anybody know how to resolve this problem
i've a problem with a 3D animation of a dynamic textF (a textfiled nested in a MC). Everything goes fine, but the quality of the text, at the end of the animation, slow really down. It's like the AAliasing doesn't work fine (it's setted on "Antialising for animation", but if i use anyone else, the result doesn't change).
i am using flash 8 professional and making my portfolio site using xml with flash. when you click the red buttons on the right, thumbnails appear on the left (and when you click those, more thumbnails appear, and then you click those and the image appears.) on my machine it works properly, BUT when i upload it, the thumbnails appear and then erase themselves (all except the first two). it's inconsistent and totally weird. i changed some of the code, tried messing with the publishing settings, and re-uploaded and nothing changed. a friend who works at an actionscript company said it doenst make sense that it works differently on my machine than online. she also confirmed that the way i embedded the swf in the html is correct
Im in my first year studying a web design course, over the summer I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?
I'm finishing a flash application. You can see the app here:
https://apps.facebook.com/wacky-winter-woolies/
The app sends an FQL query to get the user's albums, generates thumbnails based on cover_object_id. This part works fine. After clicking on an album the app loads photo thumbnails in the same fashion. We've just discovered that although it usually works, for some people and some photos instead of a thumbnail facebook returns the following error:
{"error": {"message": "Unsupported get request.","type": "GraphMethodException"}} picture
The photo thumbnail request URL:[url]....The query used to generate the list of photos in an album:
var fql:String = "SELECT object_id, aid FROM photo WHERE aid = ""+aid+""";
permissions for the app: 'permissions' => 'publish_stream,user_photos,friends_photos'
Essentially some photos return an error. The object_id of the photo is valid as it's pulled right from the FQL result - here is an example of an actual request that returns the error, complete with token https:/[url].......
Edit2: The above approach didn't work, for some reason. Some pictures would still result in an error. Fortunately the FQL tables had properties like "src_small" and "src_large" which return the direct link to the photos. Even though graph supposedly allows to retrieve any image using it's API I had to fall back to the src results from the query - I guess that was a patch of sorts for situations like this.
trying to create a character selection screen type thing works fine on my computer but when i load it to internet characters dont load up dont understand why characters and profile images are external image files so i think that reason why its not working is because the swf is trying to display the image before its properly loaded up
so im thinking perhaps if i add some sort of bytes total/bytes loaded script where its trying to load up and display the image it will check if the image is fully loaded before it tries to display the image think that will work ... if that's what the issue is but not certain.
I am new at flash CS4. (Upgraded to Flash CS 5 but this gives other problems in the meantime I continue with CS4)I have created webpage. Within the web page I have created Motion Tween with Motion editor and once previewed, it works fine. Going back to the stage and previewing the result shows the initial position of the Motion tween but it doesn't move and behave the way it shoud. What's missing? Where am I going wrong?
trying to create a character selection screen type thing works fine on my computer but when i load it to internet characters dont load up dont understand why? characters and profile images are external image files so i think that reason why its not working is because the swf is trying to display the image before its properly loaded up
im thinking perhaps if i add some sort of bytes total/bytes loaded script where its trying to load up and display the image it will check if the image is fully loaded before it tries to display the image.
1) i have palced 2 flash file on my web page.if i stop the sound on this file then the sound on another flash movie placed on my web page also stops.i want both the files to be independent to each other and controlled separately
2)if i click on play it shows loading.even after it loads the file it doesnt change itz status. if i click again on play then itz status changes to play.my codes for flash.....
soundUrl = "test.mp3";
// create sound object, assign properties and events function createSoundObject(){[code].....
I just found the "famous" pageflip and encouterd a problem. I need to load each page seperatley.. cause loading the pageflip takes a while (its 1 mb) example:[URL] I tried putting this on every pageMC: _root.mymovieclip.loadMovie("page1.swf") followed by a preloader script, but that didnt work the pageflip can be downloaded here: [URL]
there is an index file, which links every menu item to an external SWF file.
So I finish the project, test it on my computer, and everything is fine.
But when I upload it into my server (uses cPanel), all the links (load SWF) work except a few. But it work on my PC perfectly. I tried everything to make them work, but they are still blank.
By the way, my website is [URL] The two tabs that don't work are "contribute" and distribute".
The first time I load the page nothing happens but if I reload it it works perfectly. I just learnt AS and Flash but this is the code I've managed to produce:
Main class
ActionScript Code: import ProgressBarExample; var frList:FileReferenceList = new FileReferenceList(); var pendingFilesA:Array;
how does pagination work? Is that I just need to create several Movieclips for each page and then add the contents into pages seperately?? Or is there any available tutorials??
I am trying to defeat my psychological block with dynamically loaded fonts in AS3, and I have an annoying problem. I am creating a clock with a textfield and I am loading fonts from a SWF library: the available classes/linkages are "Arial", "ArialBold", "MyriadPro", "MyriadProBold" and "Verdana".This is the line where I get the class from the SWF, and it extracts the class correctly
Code: clock = new Clock( { fontClass: assetsLoader.getFontClass("skin", "Arial") } ); The constructor...
I need some help with streaming wav files in flash. I can load a wav file and stream it ok using actionscript 3 into my fla file. However if I go to edit the wav and make it shorter the saved wav file will not play. I have used a trial version of soundbooth to see if I could somehow change the settings for the wav but I still cannot make it work. It will stream as an mp3 but I want the file to loop and need the file to be wav. I have attached the file. I have no problem when I upload the file into the fla file but that is not what I want to do.
i have the problem of local files of flash not working in any browser. to explain further i have html pages with headers in flash in my hard disk with links of the connecting pages. when i open such pages in any browser the links dont work. the page just stays as it is. when i click on the links only the state of the rollover changes when clicked on a link. the links when clicked dont go to the linked page. but when i upload these files to the server, they open and work perfectly in any browser.
I havent been on here in a while, and about the same time I have gone without programming.Here is my delimaI have a game and I need to load an .as into a section of my flash. this is the code I have. It's on a "Checker" movie clip.[AS]
I inherited some code from a previous programer. The idea is that a user clicks on the player and that opens the page at a new url. It works if it opens in a new page but it doesn't work trying to open the url in the same page. It just closes the player. Here is the code:
Request for all mac users: could you open Adobe's flash player page [URL]And check whether the sample movie runs or fails?
If you only get the audio/pauze/getflashplayer10 buttons, but the movie itself is just white space (just like my preview image), could you write down you mac's specs?
Or let me know why this perticular movie of adobe themselves doesn't work on my mac? I've got a mac os 10.4.11 with flash player 10 installed.
I have a background image that I inserted into flash movie. How to make the background works as fluid page? As I reduce the size of the window, there are white borders on top and bottom. Attached is the FLA.
I have a flash project where i add shapes with actionscript like this:[code]the project listens to resizing events and fixes the shape accordingly, but with Internet Explorer the shapes wont work after refreshing the page. It works great the first time and after clearing temporary internet files but once it loaded and gets a refresh the shapes does not resize to stage. Im using swfobject.
i am making a flash portfolio and am working on the "work" page.i have a bunch of links.i would like each link to open up a seperate window containing a graphic that is already in the library.so basically, what is the script to link to a graphic already in the library and have it open in a seperate window.(i just said the same thing twice.....)and also, is there any way to customize these pop up windows?
I'm editing this template but there is a problem, when the page is online the scroll sometime doesnt work.URL...I don't understand why, in the swf everything is perfect, but when the page is online if we test the scroll sometimes it simply doesn't work.[code]