ActionScript 2.0 :: Swf File Behaving Differently On Web?

Sep 22, 2007

this code for a thumbnail gallery, the data is loaded from an XML file, [URL].. All the thumbnails are loading on the stage correctly and in the correct order when playing movie locally, but as soon as I try Simulate Download or view the movie from the web page the thumbnails lose there order.

[Code]..

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Error - Swf File Plays Differently Depending On Location?

Sep 16, 2010

I've run into a strange error and I was wondering if anyone had experience with this.I'm working on a flash platforming game and I recently released a demo. I was having a problem with the getting the file to play correctly when I noticed an error:The file plays differently depending on where the file is saved. For example:Platform Explorer (http://jrjellybeans.net/platformExplorer.swf).This file runs fine. Platform Explorer (http://jrjellybeans.net/flashGames/platformExplorer.swf).This file opens up the level editor. Yet, I make no call to the level editor anywhere in this particular file.The thing is that the files are EXACTLY the same. Just saved in different locations.

View 2 Replies

ActionScript 3.0 :: Stage Accessed Differently With The GetBounds Method In An External File Than In The Timeline?

Aug 2, 2011

The following piece of code works in the timeline:

var ball:Sprite = new Sprite;
addChild(ball);
ball.graphics.beginFill(Math.random()*0xff0000);[code].....

Is the stage accessed differently with the getBounds method in an external file than in the timeline?

View 3 Replies

Flash Not Behaving On Firefox?

Dec 12, 2009

I have a problem in presenting Flash objects in Firefox. The code below works fine in IE, but not in Firefox.

[Code].....
 
The page is loaded with Flash player 9 in Firefox 3.5.5 for Windows XP. note that we can't afford to have the wmode value other than 'window.'Actually the phenomenon occurs only with the 'window' wmode.You can change the 'movie' value to whatever you want.
 
When the page is first loaded in Firefox, it looks normal (or not).But when you move the mouse over the video clips or play them,they start stepping on each other's toes:
 
The images are overlapped,and the intersection of the screen keeps flickering.
 
We played with this and that attributes or parameters,put the clips in <iframe>s,but none of them succeeded.
 
PS: I'm not sure whether it is Firefox or Flash that's causing this.If this is not the right place for a question like this, I offer my apology.

View 1 Replies

Flash :: WebBrowser Control Behaving Different In Two Application?

Oct 20, 2010

I have two applications. In one application the web browser control shows a flash movie that is embedded and in the other it does not, only shows place holder. I have identical code in both constructors to load a web control dynamically and then navigate to the requested web page.

I run both application in debug mode from within VS2010.

View 1 Replies

ActionScript 2.0 :: My Global Variables Are Not Behaving Globally

Feb 4, 2010

I have defined Variables at the start of my script, with _root, to make them valid globally.

Then, in several functions and IF loops, I change the values of these variables, again referencing them with _root.

Then at the end of my script, I want to collect these global variables and send them to a PHP file to late store them in a db.

The problem is that at the end of my script, the variables do not contain any data, I used trace() to test this.

They only seem to contain values inside the IF loops which would mean they are behaving as local variables only?

I also tried replacing _root with _global but got the same results.

I have over 1000 lines of code at the moment so I will only post a snippet here of the general method I used, perhaps some experienced users will spot what I am doing wrong[code]...

View 5 Replies

ActionScript 2.0 :: Newly Published Swf Not Behaving Like Original Swf

Mar 18, 2011

I'm maintaining a Flash site for a client, and I received all the fla files from the original programmer. Now it's time for me to make some changes, and I'm finding that when I generate a new swf from one of the files, it doesn't behave the way the currently live file behaves.

The main file is titled flashindex.swf. On load, it loads home.swf. home.swf contains an image that slides out and a video player that fades up.

It works fine on the current live site - lisahaisha-dot-com (not enough posts to post links)

But if I use the fla file the developer provided and generate a new swf, the video player fades up, but the image doesn't slide out.[url]...

There are a few other external files that get pulled in (an .as file, and another .swf), and I've made sure that they're all in the right place. I get no compiler or output errors when I publish. I have combed the code, and can't figure out why her picture doesn't slide out. It seems there's something going on in the actionscript in flashindex.fla that is telling home.swf to behave differently. [code]...

View 9 Replies

Professional :: HtmlText With Clickable Images Behaving Buggy When Fonts Are Embedded?

May 19, 2010

when the embedFonts is removed, it works perfectly as expect. Otherwise when an image is clicked, it selects the whole text around it.
 
testtext.htmlText="Curabitur dolor eros<a href='event:test'><img src='003.jpg'></a>eget odio.</p>";
testtext.embedFonts=true;

 did anyone come across this before? is there another way to make an image clickable inside a dynamically loaded xml text?Alternatively can anyone suggest a method to style dynamic textfields instead of using html?I've tried with many different fonts, and many different stylesheets, its still the same.

View 1 Replies

ActionScript 3.0 :: Url Makes Flash Act Differently?

Mar 23, 2010

Does anyone have an idea as to why this happens?The dropdown menus work fine (they are a flash app)The dropdown menus do not work.I'm unfamiliar with how to make a redirect if they just type the url without the 'www'

View 4 Replies

Xml :: Flash Loads Differently On Windows And Mac?

Oct 13, 2009

I am loading an xml file using AS2.0. On Mac, all the elements load completely, but as soon as I run it on Windows, only the first element of type item loads. When I run it on Mac, the elements are loaded in and all item's are separate buttons. When I run it on Windows, only one button appears and its name is ch1. Virgin Group Holdings. None of the other item elements load. I don't have a Windows versions of Flash to work on, so I cannot debug.Is there another way to determine if this has to do with the XML file loading incompletely or with the depths of the Movieclips? Here is the URL

Here is my XML:

<?xml version="1.0" encoding="UTF-8"?>
<menu>
<item link="vgh" name="ch1. Virgin Group Holdings" movie="VirleoGH">

[code]....

I am now running this file from a remote server (Linux box), but still only the first element loads on Windows, with no siblings. On Mac, everything loads fine, I am at a dead end, my deadline (draft #2) for this is in about 12hours and I still need to get a night's rest in. Does anyone have the slightest inkling what this could be? Any pointers or advice will be cordially accepted. The url.

I am now debugging in Windows and have found that the XML file does get loaded completely eventually. What is odd is that I trace the _x and _y values of all the movieclips, and all change constantly to an acceptable value, but still only the first-added movieclip is visible on the stage. I have traced their depths which do in fact differ, they are enabled (traced), they are _visible (traced that also), everything works perfect on Mac, except when I run it on Windows, so clearly, Flash Player in Windows in doing something unexpected, has anybody encountered this before?

View 3 Replies

ActionScript 3.0 :: Flash/SWF Acting Differently In IE8?

Jul 27, 2009

ave anyone run into a SWF acting differently when loaded in IE8? I just finished a banner/header for a client that is working perfectly except when loaded in IE8, here is what is happening...

[URL]

Basically my masks are not being loaded on init()... I'm loading external XML so I'm thinking it might have something to do with that.

View 2 Replies

ActionScript 3.0 :: SWF Works Differently When Uploaded?

Feb 3, 2010

Player :Flash 9Script : AS3IDE : Adobe Flash CS3I have 9 dynamic text fields; each is filled with text (a title). When you click one it updates two larger text fields at the top to display the title in the first one and the description in the second. When you hover over the text fields, the cursor remains an arrow.In the IDE, this script works just fine. However, when I upload it to my website, clicking on the titles does not change the large fields above them. Also, when I hover the mouse over any of the text fields but the very first one, the pointer changes to a text editing line.

View 6 Replies

ActionScript 3.0 :: Swf Functions Differently On One Computer?

Feb 4, 2009

I am programming in AS3. I've made a game that functions correctly every time on every computer I've tried except for one.I don't get any errors, but a movie clip that should be stopped seems to be playing through its sounds. The animation doesn't play, though! I can't reproduce the problem on any other machines, but it happens every time on that one.

View 1 Replies

IDE :: Flash Loading Differently In Browsers

Apr 28, 2009

I have one swf, and roughly 4 or 5 classes. when the swf loads, the document class places 3 movieclips onto the stage- one of them animates across the screen. Using the tween class, I listen for the COMPLETE tweenEvent, which when triggered, instatiates a slideshow class. the slideshow class loads in a series of pics.On safari(mac), linux, no issues. on firefox(mac), the 3 mc's never appear, but instead, there is the same time delay as if the animation did play, and then the pics DO load. my client says everything works fine on first load, but returning back to the page after navigating away causes the same problem I described above. THey are on IE- probably 7.

View 4 Replies

ActionScript 3.0 :: Convert MP3 To Be Encoded Differently?

Sep 7, 2009

When I try to import an MP3 file (specs below) I just bought off Amazon into Flash CS4, I get an error that reads "One or more files were not imported because there were problems reading them." I tried other MP3 files and they worked no problem. Does anyone know if there's a specific type of MP3s that Flash hates? Maybe I need to convert my MP3 to be encoded differently?

[Code]...

View 2 Replies

ActionScript 3.0 :: SWF Behaves Differently Online And Offline

Dec 24, 2010

I have an SWF file that works great when I publish it or view it in the Flash Player. However, when I use Simulate Download, all the buttons' functionality gets messed up - for some reason, clicking them results in the playhead going to other frames than it's supposed to. I've tried uploading the file to my website and the buttons don't work well there either.

View 3 Replies

SWF Movie Behaves Differently Online And Offline

Dec 24, 2010

I have an SWF file that works great when I publish it or view it in the Flash Player. However, when I use Simulate Download, all the buttons' functionality gets messed up - for some reason, clicking them results in the playhead going to other frames than it's supposed to. I've tried uploading the file to my website and the buttons don't work well there either. Is there any reason for this to happen?

View 2 Replies

Professional :: Lines / Objects Select Differently?

Apr 8, 2011

if I drew a line or something, it would just be the line and I could immediately edit the shape. Now, there is a blue box surrounding it. what purpose the blue box serves. However, when this started, my fill stopped working.

I can fill a shape I have hand-drawn, but not when I use the line tool. I have included a screen shot of the blue box surrounding a line. I have assured that all sections of a shape are touching before trying to fill.

View 2 Replies

Flash :: Is Flex SWC Compiled Differently From Movie In SWC

May 23, 2011

Are Flex swc file encoded differently from say movies file encode in SWC?

View 1 Replies

Flex :: Format Rows Of Datagrid Differently?

Aug 29, 2011

I am using the following itemrenderer in one of the column of my datagrid. However I want to format each row of the datagrid differently. The column consists of numbers but some need to be formatted as Numbers while others as currency etc. Also note that I have an additional column which consists of 0 and 1 where 0 means that it should be formatted as Number and 1 means that it should be formatted as Currency.

<?xml version="1.0" encoding="utf-8"?>
<s:MXDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

how I can implement such a function, am trying to use dataGridListData.label in a function in the itemrenderer but it gives error.

View 2 Replies

ActionScript 3.0 :: Timer Runs Differently In IE And Firefox?

Jan 30, 2010

If you were to open a fire fox browser and check out http://173.203.200.81/ you would see a really fast animation all based of arrays that are called in a timer event. If you open the same page in IE it runs slow.my timer event runs one function so it can run very fast. It looks like in IE the timer is based off of frames per second more than the set value of the timer.

View 9 Replies

ActionScript 3.0 :: What Can Cause Flash To Be Loaded So Differently Between Computers

Jan 26, 2011

I recently built a game and tested it on a few computers. It seems there are 3 different ways that it loads. One doesn't seem to load properly the first time so I have to refresh once, one loads fine, and one loads but something is wrong so the user can't play and refreshing doesn't fix it.What can cause flash to be loaded so differently between computers? Is it the browser? is it the flash player? Is it the OS?

View 6 Replies

Professional :: Why Do Images Brought Into Flash From A Psd Appear Differently When Publish

May 6, 2009

I am creating a flash banner using a layered psd.  The account team is happy with the look of the psd. BUT, when I bring the images into flash and publish the file, the colors look different.  I import them into flash at the highest quality yet they don't look the same.

View 5 Replies

ActionScript 3.0 :: Shapes Drawn Dynamically Treated Differently

Sep 15, 2009

I was just conducting a little experiment, basically trying to come up with a stage resizing handler that would position everything on the stage with its x and y proportionate to its original position. That's when I discovered a very interesting thing.

Shapes that you draw using flash's drawing tools are treated completely differently than dynamically drawn shapes. Basically shapes you draw on the stage in the authoring tool would seem to have no x and y of their own, and also no matter how many different shapes you draw, to the compiler it's all one "child" object because it's all just one big shape.

To illustrate this difference, I created two separate files, but they both (seemingly) do essentially the same thing. In the first file, I drew a red circle shape dynamically with code, and set its x and y with code:

ActionScript Code:
var circle:Shape = new Shape();
var g:Graphics = circle.graphics;
g.beginFill(0xFF0000);

[code]...

In a second file, I manually drew a similar red circle shape, made it 100 pixels wide and tall, and positioned it at 100, 100 using the properties panel. This time, I took away the code that creates the circle dynamically and just kept the for loop:

ActionScript Code:
for(var i:int = 0; i < this.numChildren; i++) {
var item:DisplayObject = this.getChildAt(i) as DisplayObject;
trace(item);   //[object Shape]
trace(item.x); //0
trace(item.y); //0
}

In this second example, no matter how many and what kinds of shapes you draw, there will only ever be one display child and the x and y is always 0,0.

I for one kind of wish there were more of a one-to-one correspondence between the Flash IDE and the code window. Like, if we can create Shapes and name them dynamically, why can't we create Shapes and name them at authoring time? Or why isn't this now the role of the good ol' Graphics symbol? It's kind of like Flash and Actionscript have outgrown the authoring environment.

This would seem to have the effect of further widening the gap between design and development. Just thought I'd throw all this out there and see what kind of comments I get.

View 2 Replies

ActionScript 2.0 :: Dynamic Textfields Show Differently In MACs

Apr 27, 2004

I got some dynamic textfields in my flash movie loading html-formatted text. it works fine.but my boss tried it out in a Macintosh and sent me a screenshot where I could see that there is a shorter distance between the lines and a shorter distance between the characters.

How can this be? Macromedia claims that Flash looks the same in all platforms.[URL]

View 10 Replies

ActionScript 3.0 :: Format Differently Specific Words In A Textfield?

Mar 13, 2009

Which is the easiest way to format differently specific words inside the same textfield ?

Using css html ?

View 4 Replies

ActionScript 2.0 :: Flash Program Functions Differently For Different Domains?

Apr 15, 2012

I have a linux distribution server, SME Server, and I use it to direct several domain names to a website on the server. My Flash program is a data driven directory that uses PHP constructed XML files to create the directory. I have been successfully using this Flash directory for some time using one particular domain, ictytranscripts.dyndns.org. I've since added a second domain name that I want to replace the first with, but for some reason the Flash program cannot read the XML files, or something. Whatever it is, the directories are not showing up.

There is nothing in the ActionScripts that have any reference to the old first domain name. I cannot imagine what is making the difference. Here is a test page showing the Flash program working successfully (I assume):

[URL]

And now the same page from different domains that direct to the same page:

[URL]

Notice that in the first the Flash program comes up, but there is no data displayed and in the second, there is no Flash program displayed at all.The XML files seem to be generated without any problems. [URL]

View 1 Replies

ActionScript 2.0 :: Dynamic Textfields Show Differently In MACs?

Apr 27, 2004

I work with flash (in PCs) since 1999 and I just met this situation today.I got some dynamic textfields in my flash movie loading html-formatted text. it works fine.but my boss tried it out in a Macintosh and sent me a screenshot where I could see that there is a shorter distance between the lines and a shorter distance between the characters.How can this be? Macromedia claims that Flash looks the same in all platforms.

View 10 Replies

Data Integration :: Flash Movie Acts Differently On Different Browsers?

Jan 24, 2007

i have created an online calendar, you can see it on this link this application uses php as well which is called through the actionscript it works fine on firefox browsers, and some versions of IE, the version i have is explorer 7 (which i really dont like), and it doesnt work well at all. dont know if it works on safari or other browsers, i havent checked it out yet (the main problem is trying to write more than one message, it isnt displayed on the messageboard on IE).

View 1 Replies

ActionScript 3.0 :: Published Movie Behaves Differently On Web Than It Does On Local Drive?

Apr 13, 2009

I am using basic addEventListeners and functions to create a basic navigation for my homepage... when I test the movie on my local drive it fuctions perfectly, but when I upload it to the www, the movie behaves different... All the buttons must be clicked twice to function properly.... each button uses the UI Loader to load the appropriate .swf clip, but on the first load the movies dont function properly, when the same button is clicked again and the movie is loaded again, it works fine. I noticed cause I have a preloader for every movie clip that loads and on the first click it doesnt work, on second click it works, and because it function fine on my local drive I'm lost as to what I can do to fix the problem, or what the problem is.

View 12 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved