Browsers Not Picking Up New Files

Nov 22, 2011

I have a flash container that calls other swf files and loads them and plays them one after the other.I upload/overwrite those files each month as new promos happen.the file names stay the same as they are defined in the container file.Im trying to find a way to add some kind of variable into the action script so it finds the file and adds the date in as well. This way when the browser looks at the files it will see new dates and then load the new file from the server as opposed to the local cache.Is there an elegant way to do this?Im using CS5, but it looks like the action scrip was written in an older version.[code]

View 3 Replies


Similar Posts:


Actionscript 3 :: Flex Builder: Not Picking Up New Files?

Jul 30, 2010

I have a working AS3 project and it compiles fine to a SWF. I added a new file (via various means: import, drag-drop, new), but it doesn't compile this new file. I'm using Flex Builder 3. I've tried a clean an rebuild. I've tried renaming. It picks up the existing files fine, but not the new one. The project is set to use a HTML wrapper. I see some build files (I think). The new file is in an existing folder and package.

View 1 Replies

ActionScript 3.0 :: External Text Files And Different Browsers?

Mar 29, 2010

[URL]... I am working on finishing up the above site, but I am having issues when I look at it in different browser. Safari shows issues with apostrophes and parentheses. When I look at the text in Google Chrome there are text errors. Is there a way to fix this? Using CS4, Action script 3

View 1 Replies

Professional :: Centering And Scrolling For .swf Files In Browsers?

Jun 30, 2011

horizontally center my flash movie in browser windows. Worked swimmingly, but now realize there is no scroll functionality. I did find another code sample that allows for scrolling, but I could not make it work. Can anyone take a look at the following code and tell me what I need to do, or simply revise the code for scrolling? (Caveat: I'm a designer, not a developer, so I know nothing about HTML. Feel free to assume I'm an idiot;-) 

[Code]....

View 4 Replies

ActionScript 2.0 :: Flash Audio File Works On Mac Browsers But Not Windows Browsers

Jan 13, 2011

I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:

[URL]

When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..

this is the code called sound control

onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);

[Code]....

then there's the stop() that's used when the music is toggled off..

I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..

View 3 Replies

ActionScript 1/2 :: Picking Up Wrong Sound?

Sep 27, 2010

with attaching a sound to a movie using AS, in this case, it is a car tire that screeches when rolled over. I added a "tailpipe" idle sound when we roll over the tailpipe of the car. I have attached linking to the sound file named, "idle", and copied the "screech" AS code and edited, but now all the screeching tires have picked up the idle sound. All the movie mechanics work fine. Here's the AS Code:(T1 & T2 are the tires, tailpipe is the idle movie)

T1.stop();
T1.onRollOver = over;
T1.onRollOut = out;

[code]....

View 1 Replies

Flex :: Picking A Front-end UI Framework

Nov 13, 2010

We're working to build the front-end of our application and struggling with selecting a good UI framework since we're not experienced UI people (we're mainly back-end developers). The central issue is that we don't know what we don't know and don't know how to best weigh our different options.At the moment, we're evaluating Flex, ExtJS, and Vaadin. Is there another option we should consider? What, are the major elements we should evalutate on?

View 8 Replies

ActionScript 2.0 :: Picking The Random Images?

Jul 23, 2008

I have one folder which contain few images. I want to pick RANDOM images from it through my code. How do i go in this.

View 1 Replies

ActionScript 3.0 :: Flash Not Picking Up Flashvars

Nov 4, 2010

I have a movie that loads content from an XML file. The path to the file is passed in using flashvars. I am using SWFObject to embed the Flash in a web page. I have a routine that checks for an XML attribute from flashvars and if available passes it to a variable; if no XML attribute then it uses a default. Because I'm having trouble with flashvars I'm also displaying the path in a text box. The code looks like this:

[Code]....

View 3 Replies

ActionScript 2.0 :: Script Is Picking Random Names?

Oct 6, 2010

I have a script that when the use types in their name, it is to pick a random name from the list. Problem is, it isn't picking random exactly I get a lot of repeats and sometimes it just comes up undefined.Here is the script does any one have any ideas of what is wrong?


if (combobox.getSelectedIndex() == 0)
{
txt2.text = "Female Name";[code].....

View 2 Replies

Picking 5 Random Unique Numbers Out Of Array

Apr 5, 2011

I am using actionscript 3 and I am creating an array of 16 buttons and need to use the function math.random to get it to pick 5 random unique numbers out of the array. As at the moment it is sometimes picking 5 unique numbers and sometimes it has duplicate buttons appearing?

View 1 Replies

Flash :: Picking Up Custom Objects From Dropdownlist?

Sep 26, 2011

I am having an issue with picking up custom data types from a drop down lists. To make this as easy to understand as possible, I'll use a simple example of what I want to be able to doSo say I have a custom data type (Say of type Dog). Dog contains a name, breed and age. I store each instance of a dog in an ArrayCollection:[Bindable]private var dogData : ArrayCollection;This ArrayCollection holds 1..N Dog objects with the respective information. Now having a dropdown like so:<s:DropDownList x="81" y="178" id="dogSelected" prompt="Dog Selected:" dataProvider="{dogData}" labelField="dogNameData" />he dogNameData would hypothetically come from a custom ActionScript class that has the 'name' field of the Dog in that object.

Now I want to select a certain dog from the dropdown. I tried to just do it this way:var theDog : Dog;theDog = dogSelected.selectedItem;However, ActionScript does not seem to like this. Now, I read around and found out that using the label field is the way to be able to select this. I have been unable to select the dog item, so I can then bind it to:

var selectedDogBreed : String;
//var theDog : Dog = the selected object from my drop down
selectedDogBreed = theDog.breed

[code].....

View 2 Replies

ActionScript 3.0 :: Pick A Random Number Without Picking It Again?

Sep 27, 2009

Needed to place objects on the stage in random order, but only place each object twice. [code]...

View 0 Replies

ActionScript 2.0 :: TextField.onChanged Not Picking Up The Change?

May 23, 2005

I have a normaly created dynamic textfield to which i put something like "_root.MC_container.anyVar" on the variable field.

This textfield is part of a button, so, what i need to do is to redraw the button when the contents of the textfield changes. I have the whole redraw function working ok. But what i cant seem to achieve is to detect the change on the variable i've assigned to the textfield. The content changes, but no redraw function gets called.

I've tried with TextField.onChanged and adding a listener object to the textfield, but none of them seemed to work.

View 1 Replies

ActionScript 2.0 :: Mouse Picking Up Buttons Under Movieclip?

Sep 29, 2008

So I got my stage with a bunch of buttons in the middle of it. when you click one a little window pops up, alls good. Problem is that when my mouse is over that window it is still picking up the buttons underneath of it.

View 1 Replies

ActionScript 3.0 :: Flash - Picking And Playing Movieclip?

Mar 7, 2011

I have two mc's mc1 and mc2. on mouse click of mc3 i want a math random function and a logic argument of if math random =< 0.5 then play mc1, if mathrandom > 0.5 then play mc2. how would i right the AS3 for this?

View 4 Replies

ActionScript 2.0 :: XML Photo Gallery - Submenus Not Picking Right File

Dec 12, 2009

I am running flash through an xml page. The page is a xml generated photo gallery per-say, and I can make it work for the 1st page, but not the sub menus.

XML PAGE
Code:
<title_submenu><![CDATA[APPETIZERS]]></title_submenu>
<content_submenu>dyn_xml_gallery.swf</content_submenu>
In the dyn_xml_gallery .fla file, I have it picking it up from

ActionScript Code:
xmlCategory.load ("dyn_xml_gallery_xml/categories.xml");

The main page picks this up just fine, and shows the pictures as I have listed. But on the submenus, I have the same thing but just different names. So instead of being dyn_xml_gallery.swf, it's now dyn_xml_gallery2.swf.
And in the actionscript, it's picking it up from dyn_xml_gallery_xml2.

With everything renamed and linked to the right object.. any ideas as to why my submenus are still picking up the original file, and not (in this case) my dyn_xml_gallery_xml2.

View 2 Replies

ActionScript 3.0 :: Picking And Removing Specific Numbers From An Array?

Mar 15, 2011

I have 16 instances of the same movie clip. The movie clip is made up of 16 frames, each with the picture of a face on it. I want it to work such that when I click my button, each face only appears once, so that all 16 different faces are on the screen. I have been trying to use an array containing the numbers 1-16, and removing them as they are randomly selected. However, with the splice function, I can't pick and choose which number is removed.

How to I pick a random number from an array of 16 numbers, and then remove that specific number from the array so it can't be selected again?

View 1 Replies

ActionScript 2.0 :: Randomly Picking Text From External Textfile?

Nov 17, 2003

i'm trying to display text from a textfile in a dynamic textfield, i have a text file called "quotes.txt" wich has variables set like this:q0=text&q1=text2&q3=text3 etc.so how can i pick these q's at random and place it in my textbox?i've tried this:

loadText = new loadVars();
loadText.load("quotes.txt");
quotes="q"+Math.round(random(10))

[code]....

View 14 Replies

ActionScript 2.0 :: Picking Up Items And Chasing Character In Game

Mar 12, 2006

I am really new with flash and yet I needed to construct a simple one level game. What I have now is kinda similar to pacman but a bit different.
1) Lets say, like pacman, the user's character need to pick up things in the maze. but instead of the items are already there, i would like to have some already there and then when the user pass the path, some will randomly appear in the maze. e.g : like the fruits that will randomly appear in pacman.
2) How to make the bad character constantly chase the user's character throughout the game. only one bad character in this game chasing.

View 2 Replies

Flash - Picking Multiple Colors / Designs Of Symbols Dynamically

Mar 12, 2010

Let's say a user can pick fifty different hat colors and styles to put on an avatar. The avatar can move his head around, so we'd need the same types of movements in the symbol for when that happens. Additionally, it gets which hat should be on the 'avatar' from a database. The problem is that we can't just make 50 different frames with a different hat on each. And each hat symbol will have the same movements, it'll just be different styles, colors and sizes. So how can I make one variable that is the HAT, that way we can just put the appropriate hat symbol into the variable and always be able to call Hat.gotoAndplay('tip_hat') or any other generic functions.... Does that make sense?

View 2 Replies

ActionScript 2.0 :: Looping Through Recordset - Dynamic Text Boxes In Dynamic Clip Arent Picking Up The Variable?

Aug 22, 2005

can't figure out why the dynamic text boxes in my dynamic clip arent picking up the variable when I loop through this recordset!the trace (you'll see here right after I try two ways to assign the variable) traces the correct info back..

[code]...

View 1 Replies

ActionScript 3.0 :: Flash - Url Picking Not Working On Server But Working Locally

Mar 17, 2012

i have a "swf" file which is picking url from xml & displaying the image, when i tested it locally it works fine, which means it picks up URL from XML & displaying corresponding image. After i uploaded it on server, it doesn't show anything.

View 2 Replies

ActionScript 2.0 :: Randomly Picking Text From External Text File?

Nov 17, 2003

hi, i'm trying to display text from a textfile in a dynamic textfield, i have a text file called "quotes.txt" wich has variables set like this:

q0=text&q1=text2&q3=text3 etc.

so how can i pick these q's at random and place it in my textbox?i've tried this:

loadText = new loadVars();
loadText.load("quotes.txt");
quotes="q"+Math.round(random(10))
loadText.onLoad = function() {
tester.text = this.quotes;

i thought i could replace the direct reference to q0 or q1 etc into a variable "qoutes", so how can i do this so it does work?

View 14 Replies

ActionScript 2.0 :: PHP File Is Not Picking The "phone" Variable Up?

Jul 20, 2004

i got this email form from flashkit and it works fine - i just need to add an extra field called phone number. Unfortunately the PHP file is not picking the "phone" variable up?

View 2 Replies

LocalConnection In Mac Browsers

Feb 21, 2008

I have a relatively simple localConnection between three swfs: one swf is an image gallery; another swf controls the playback of the image gallery; and the third displays xml-driven captions from the image gallery.Everything works flawlessly in a PC environment, on all browsers, using AS 2, flash player 9. But when I test in a mac environment, the captions will display on load, but it will no longer show if you refresh the page; only a cache clear and refresh will bring it back, but the same issue will happen again. The navigation doesn't work at all, ever (though the swf is loaded and visible).

View 4 Replies

Displaying In Different Browsers?

Oct 3, 2009

My SWF works well in all three browsers when tested on my local system: Firefox, IE and Safari.However,when tested from the server FireFox and Safari both do not complete a portion of the SWF motion.I have a number of dots that move in from different directions then line up followed by moving text and objects.  in both Firefox and Safari the dots only begin to move then the SWF move on to display the other objects correctly.Am I looking at a timing issue or a loading issue?The site is [url].... view the top banner.

View 1 Replies

Professional :: Flash For 64 Bit Browsers?

Jan 6, 2008

Any word on the development of Flash for 64 bit browsers? Last I saw from Adobe was a note posted over a year ago saying they were working on it. 64 bit browsers are really common now.

View 4 Replies

Audio Synching In Different Browsers

Dec 3, 2009

We have currently created an animation and have it deployed and running from the server. We have it set to preload a portion of the animation before beginning to play. Our issue is that it plays perfectly in Firefox, however in Internet Explorer (both 7 and 8) the audio comes out of synch with the animation. I am viewing in on the same computer and same network on each browser and continue to have this problem. How this can be fixed in Internet Explorer?

View 1 Replies

Professional :: Flash 10.0.45.2 Bug With Web Browsers?

Mar 3, 2010

Flash 10.0.45.2 bug with web browsers Internet Explorer and Fire fox Mozilla. I noticed this bug recently on youtube and facebook while I was trying to watch some videos the video was not playing I had to restart my computer again to fix the issue. This is a temporary problem which could be resorted by giving a restart.But I thought of bringing this bug to notice. I agree with Steve Jobs and the Apple people that adobe flash really hangs the pc and its buggy at times

View 1 Replies







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