Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








There Is Not Enought Memory To Complete.....in Flash MX 6


Hi,

I have my files which I would like to work on at home. But I can't seem to work with it in Flash MX (6) which is the version used at work. The probleme arrises all the time (cant export correctly-missing stuff). I looked into the probleme and noticed that I can't view some of my Symbols in my library without having this error message:

There is not enough memory to complete the operation
To increase available memory, close open documents or quit and increase virtual memoryto allow more memory for Flash.

The Symbol on which it does so are all the Symbol that contain a Embeded Video whithin (those Embedded videos dont contain any attached video) they are for the Camera and NetStream playback. If i do Edit Symbol.. it opens but the Stage is Gray and so is the Timeline and if i click the mouse within that area that message appears.

*(But openning them in Flash MX 2004 pro) works fine. But is not what im looking for since that would block me from working from home since we dont yet use Flash MX 2004...

Thanks to whom ever knows what is my problem (PS: I've updated my Flash MX - Macromedia Flash Player 6 Update for Flash MX) which i got from: http://www.macromedia.com/support/fl...downloads.html

Still aint my problem :o




ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 08-30-2004, 11:35 PM


View Complete Forum Thread with Replies

Sponsored Links:

[F8] Oh Dang"There Is Not Enough Memory To Complete The Operation"
I'm getting this error whenever I try to open my .fla project. I have 1.5 GB of RAM and even increased Pagefile to 4GB but still am getting this error whenever I try opening my Flash project. It is quite big though, I imported lots of stuff into it and it is over 50 MB if that makes a difference. I can't do anything with it. Urgent help needed please.

View Replies !    View Related
Solution: "There Is Not Enough Memory To Complete The Operation."
I occasionally get the following warning:


Quote:




There is not enough memory to complete the operation.

To increase available memory, close open documents or quit and use the Get Info command in the Finder to allocate more memory to Flash.




And the kicker is... I always forget how I fixed it the last time!

So, here is the solution. Hopefully this will help someone (or me) in the future.

Go to:
Preferences > Clipboard

Change the settings to:
Type: Bitmap 24-bit Color
Resolution: 72
Include PostScript: Unchecked
Gradient quality: Normal
FreeHand text: Unchecked

View Replies !    View Related
Memory Leaks In Flash? Cus My Program Is Using Over 235,000kbs Of Memory
ANY HELP APPRECIATED as i've spent 2 days on this (started 2 days 3 hours ago)... please help me

I have only 16 images in my program, its a slideshow, all my images have a small image selection which on(rollOver) shows that image in a bigger screen, however when my program launches, I do ctrl + alt + del, and my memory usage for that swf file I made is at 235,000kb of memory, and my laptop can't handle it, (its 70mb) and the original .fla file is (70mb)

Is there anyway to fix this, I belive my scripts are leaking, I know for a fact, im not cleaning my locals... or globals...

if I declare a variable should I set it to null?

Question 1: Should I remove local variables? if so how do I do it?
Question 2: Should I remove global variables? if so how do I do it?
Question 3: Any other things I need to know?

this is my code for start up, which hides all images not in the first 4 places (which is suppost to be visible) the others are turned invisible...

Code:
_global.b = Array();
_global.end = 16;
_global.b[0] = btn_1;
_global.b[1] = btn_2;
_global.b[2] = btn_3;
_global.b[3] = btn_4;
_global.b[4] = btn_5;
_global.b[5] = btn_6;
_global.b[6] = btn_7;
_global.b[7] = btn_8;
_global.b[8] = btn_9;
_global.b[9] = btn_10;
_global.b[10] = btn_11;
_global.b[11] = btn_12;
_global.b[12] = btn_13;
_global.b[13] = btn_14;
_global.b[14] = btn_15;
_global.b[15] = btn_16;
_global.X = 40;
_global.Y = 30;
var t:Number = Array();
for (var i:Number = 0; i<4; i++)
{
t[i] = (i*100)+80;
}
for (var i:Number = 0; i<_global.end; i++)
{
var b = _global.b[i]._x;
_global.b[i]._x = (i*100)+t[0];
if (b != t[0] and b != t[1] and b != t[2] and b != t[3])
{
_global.b[i]._visible = false;
}
else
{
_global.b[i]._visible = true;
}
}
code for scrolling through my list of images (as it only shows 4 on the screen at one time)

basically, each image is 90 * 68 (width/height) the X position of the first image is 80, and it increments by 100 each time, until the 5th image, in which its 30, the start up code above, spaces them out by 100 (as I normally dont have enough room to fit 16+ images spaced out by 100) it also does other things

Basically, t gets the X position of last image... then

And basically hides and unhides images pending if they're X position is 80, 180, 280, 380...


Code:
on(release)
{
var t:Number = 0;
for (var i:Number = 0; i<_global.end; i++)
{
t = (i*100)+80;
}
for (var i:Number = 0; i<_global.end; i++)
{
if (_global.b[i]._x > 79)
{
if (_global.b[i]._x == 80)
{
_global.b[i]._visible = false;
_global.b[i]._x = t+100;
}
if (_global.b[i]._x > 579)
{
_global.b[i]._visible = false;
}
if (_global.b[i]._x == 480)
{
_global.b[i]._visible = true;
}
_global.b[i]._x -= 100;


}
}
}
The next code is for "enhancing" my images a little bit, it increases its Width & Height by 30 and 40... and decreases by that on rollOut / dragOut

(as you can dragOut and rollOut doesn't happen therefore I need it so you can't "increase" the image height & width without decreasing when your mouse moves off it)

Code:
on(rollOver)
{
gotoAndStop(2);
var b = btn_1
b._width = b._width + _global.X;
b._height = b._height + _global.Y;
b._x = b._x - X/2;
b._y = b._y - Y/2;

}
on(dragOut)
{
var b = btn_1;
b._width = b._width - _global.X;
b._height = b._height - _global.Y;
b._x = b._x + X/2;
b._y = b._y + Y/2;
}
on(rollOut)
{
var b = btn_1;
b._width = b._width - _global.X;
b._height = b._height - _global.Y;
b._x = b._x + X/2;
b._y = b._y + Y/2;
}
Thats it, they're basically 1 of each different thing I have... it basically stays the same, I have 32 images (large_1-16, and small_1-16)

They're exactly the same size, but I wasn't sure if I could use 1 image twice, for different things (they're size is 2500 * 1900 give or take a 100 or so)

View Replies !    View Related
Turn Memory Card In Memory Game
Are there still no way of rotating a bitmap in flash with descent result? A property that I dont know of..?!=)

View Replies !    View Related
Complete Flash Site
Now i was wondering if its better to make the whole website in flash, or is a combination with dreamwaever the better solution...?
All i need content wise, is a guestbook an a simple forum..
Are there any downloadable forums for flash that i could import and tweak for my needs?
And one more question, please dont kill me iam new in flash... is it possible, to open a website within a flash movie??? like in a text field?? ( God please let them say yes!!!)
Thank you very much for your time, you will make my life a little easier..

View Replies !    View Related
Complete Flash Site
hi,
would like to make my whole site in flash

are there any tutorials online about making a whole flashsite ? ( with preloader, flash detection, external swf, external text, maybe php/mysql ?


or can anyone send me his (complete) site ?
mailto : links-center@web.de


i have the flash basics and a design, i only the the general ideas how to program etc a complete flash homepage.


thx

View Replies !    View Related
I Am A Complete Newbie When It Comes To Flash
I got it only a few days ago. The only thing I'm interested in is to work on my sigs. I want to be able to make a signature where when a person hovers their mouse over the sig it plays a sound file.

Any place I can get a flash file like that where all I have to do is change the image and sound clip or of any easy tutorials to follow?

Thanks.

View Replies !    View Related
Complete Site In Flash
Hi! I'm new to this site, just recently found out about it. If anyone can help, I need assistance or some advice. I created a website soley in Flash, imported the swf file into dreamweaver (and added a few lines of text also) and now am trying to upload onto my ftp site to appear on the web. I did that and now if I go to the site, it takes a long time to load it. It shows up, but it just hangs at the intro. Does anyone know why it does this? How could I make it work or load faster? Any help would be greatly appreciated!!

Here's the site's link: www.socal-dj.com

Thanks!!

View Replies !    View Related
Complete Flash Website
Hi,

I'd like to try create a website entirely in flash.
I already looked in the turorial section, but I can't find a simple tutorial.

Can anyone provide me with a basic tutorial for building flash websites?

Thx, Leon

View Replies !    View Related
Complete Flash Site
I'm new to flash, I read Naked Flash, but it does not say anything about creating your entire site from flash. I have studio MX 2004, and have been working mainly with dreamweaver, but I would like to create entire sites from flash. Any help would be appreciated. Thank you.

Nofx1728

View Replies !    View Related
Plz..help Me Complete My 1st Game In Flash
hi every1...
plz ...some1 help me ...
im doing a proj 4 my college for my semester ...

my first flash game(car game) ...i hav attached the sample .fla file ...where i need the obstacles to come towards da screen... actually my car has only left and right movements in the game ...animating da road so tat it looks like da car is in motion ...
my prob is .. i dontkno how to make the obstacles come randomly only on that road section ...in 3 angles (ie) / | ...slightly tilted towards left then right and then straight ...
i hav used da HITTEST to make the obstacles disappear if it touches the car... and also to restrict the car movement beyond da road at left and right...
please ...i would be very gratefull if some1 helps me to solve this prob ...as my submition dead line is nearing ...
thanks ......in advance.....

View Replies !    View Related
Complete Flash MX Pdf Tutorial
Hello,

I would appreciate a link that would enable me download a Complete Tutorial on Flash MX so that I can print and read later.

This is a distress call from Africa!

View Replies !    View Related
Complete Flash Sites
you know how a website is saometimes all flash and even all reaches of the screen are just an SWF? how does an SWF have the abilitity to expand and make a background and at the same time display the content?

I hope you know what I mean..

View Replies !    View Related
Complete Flash Site
Hey, again!

I have a question for all you avid flash addicts! How would I go about creating a flash site that doesn't load at once, but loads individual sections depending where you click. Sort of like HTML, but more interactive.

View Replies !    View Related
Complete Flash Site
Hi,

A Flash Site is basically made of different swf which get loaded on the base file which is common for all the files.

I have made a site and also links the buttons but dont know the setting need to keep the base constant.

For Eg: there are different link Home, about us, gallery etc.
on release of any of the buttons the swf gets loaded but on a constact size. It is shifted to a different side. I have maintained the size of the file through out the site.

Is there a specific setting that has to be specified. Please help me

regards
bncreator

View Replies !    View Related
[Flash 9] A Complete Highlighting App ?
Hey guys,
I was just wondering whether anyone knew of an add in or patch or something that will fix up the highlighting in the Flash 9 Alpha, I doubt that there is; but you never know
Thanks in advance.

View Replies !    View Related
Complete Flash MX Pdf Tutorial
Hello,

I would appreciate a link that would enable me download a Complete Tutorial on Flash MX so that I can print and read later.

This is a distress call from Africa!

View Replies !    View Related
Complete Flash Sites
you know how a website is saometimes all flash and even all reaches of the screen are just an SWF? how does an SWF have the abilitity to expand and make a background and at the same time display the content?

I hope you know what I mean..

View Replies !    View Related
Complete Flash Site
Hey, again!

I have a question for all you avid flash addicts! How would I go about creating a flash site that doesn't load at once, but loads individual sections depending where you click. Sort of like HTML, but more interactive.

View Replies !    View Related
Complete Flash N00b
Hey all,

I am in the process of building an extranet and like the idea of having a small flash movie (is that the right word?) embedded into the frontpage. Nothing flash (pardon the pun) just maybe cycling though 4 or 5 smallish photo's and the company mission statement - the normal corporate cr*p!

I have never used flash - are there any cheap (free?) apps that will build something like this for me? any advice welcomed!!!

Thanks,

View Replies !    View Related
Designing A Complete Web-site With Flash
Hi,
My name is Kunle and i design web-sites using dreamweaver i also desing animations using 3d studio max. I no a little about flash and i will like to design a web-site using flash.
so please i will need notes on the subject ( DESIGNING A COMPLETE WEB-SITE USING FLASH ). my E-MAIL ADDRESS IS snifferx@gamezonemail i will be very glad if my request is granted by anybody.

View Replies !    View Related
Flash Calls For Exe And Waits For Exe To Complete
I have a flash movie which on the click of a button executes a small application. While the application is running I would like the movie to repeat a series of frames. Once the application completes, the movie would continue. The application takes anywhere from 3 to 45 seconds depending on the system it is running on. I know a movie can be paused or looped to run another movie but what about external applications. Is this possible in Flash?

View Replies !    View Related
Complete Flash-Homepage Download (*.fla)
Hi..

Download :

Page 1

Page 2


Bye
Aaron

View Replies !    View Related
Complete Flash Site Not Working In I.E
Hello Everyone I am the newest Newbie and I have a question for anyone who can answer it.
I recently downloaded a flash site template and I have been testing it online. Now it works fine in Mac Safari, Netscape but in I.E I am only getting my flash menu showing up and not the second part of the website. which is not flash just an index file.
Here is the link to the site and I will add the source code as well. I am compeltely stumped but I am sure it is something small and I am just staring at this monitor tooo loong :-)
http://www.jugotones.com/tester

Any help would be fabulous.

Sniperlilith

View Replies !    View Related
Publish Flash Videos And See Complete
Friends,
I am necessary to place a video in the Internet in a page I have the video
in .wmv well compact e ja converted into sorenson.
then I have the same video in .swf and .flv.
I am trying to place it in a server page and nothing see... will be able to
help me I tried ties to insert .swf in dreamweaver and when I publish in the
server nao it appears nothing.
I placed all archives in the server and nothing when the visitor to enter is
as an opening, comes a video in flash if it no to see it has access another
page in the end when the visiting one really see all the video wanted to
receive an email automatic ASP or PHP code, from that a visiting IP x
visited and attended complete the video
thanks for any ideas
Marina

View Replies !    View Related
Dragging Complete Flash Movie Is It Possible?
HI!

Ive been using flash since flash 4 and would consider myself intermediate/advanced. I havent used flash in a while however and have gotten rusty.

Is it possible with FlashMX to be able to drag my whole published movie? I have a website in plain html which I want a navigation bar/remote to be made in flash. The navigation bar is made but I would like the user to be able to drag and drop the nav. bar where he/she pleases.

Not sure if I have explained this well so I will try again Is it possible to have a movie that is possible to drag and drop anywhere on my webpage? If it is possible then hows it done?

hmm still not sure if anyone will understand my lame attempts at explaining this. Any reponses would be greatly appreciated.

cheers!

View Replies !    View Related
The Complete Flash LipSync Solution
I dont know if this is the right section to post this in and i apologize for the blatent advertising but it is useful information for those of you who wish to perform lipsynching in Flash.

Digital Curiosity are pleased to annouce the release of the Ultimate Flash LipSync Bundle which is available to download today.



Flash LipSync Bundle
Flash LipSync Bundle is the new lip sync extension bundle for Macromedia Flash mx 2004 comprising of both Vocalise Wav and Vocalise TTS. Allowing for professional automatic Lip Synching using both Text to Speech and to any Wav file without ever leaving the Flash IDE. Whether it be for animations, Games, Information systems, advertising or any where else that you need fast and professional lip synching Flash LipSync Bundle offers you a complete Flash lip synching solution.

For more information or to download a free demo please visit the
Flash LipSync Bundle Homepage:

Contents of this Bundle:

Vocalise TTS
Automatic Professional Lipsyching using Text to Speech from within the Flash IDE.

Vocalise TTS is the new character animation extension for Macromedia Flash mx 2004 that uses text to speech to create amazing talking characters. Whether it be for animations, Games, Information systems, advertising or any where else that you need to create a lip synched talking character, Vocalise TTS is the first choice to bring your flash projects to life....

For more information or to download a free demo please visit the
Vocalise TTS Homepage:


Vocalise Wav
Automatic Professional Lipsyching from any Wav file without ever leaving the Flash IDE.

Vocalise Wav is the new character animation extension for Macromedia Flash mx 2004 that can automatically perform professional lip synching to any Wav file without ever leaving the Flash IDE. Whether it be for animations, Games, Information systems, advertising or any where else that you need fast and professional lip synching...

For more information or to download a free demo please visit the
Vocalise Wav Homepage:

Vocalise Wav SecreenShot:

View Replies !    View Related
Audio On And Off For Complete Flash Movie
I need to turn my audio off with a simple button and back on with the same one, the audio from all the movies attached to the main movie should be off when I press this button


ActionScript Code:
bgSound = new Sound(this);itquit = false;itgoes = true;bgSound.attachSound("sound1");bgSound.start(0.99);Btn_Mute.onPress = function(){ if (bgSound.getVolume() != 0) {  Btn_Mute.gotoAndPlay(2);  oldVolume = bgSound.getVolume();  bgSound.setVolume(0); } else {  Btn_Mute.gotoAndPlay(1);  bgSound.setVolume(oldVolume); }};


this is what i have but its not working.
i have different .wav throughout my flash and my button is correct, is called Btn_Mute.

please help.

thank you.

View Replies !    View Related
Importing A Complete PHP Script Into Flash
I've done some searches already but didn't find anything that specifically answered this question.

I write PHP and I completely know how to do that. Really, I'm just starting out with flash, though. I have MX 2004 professional.

I'm working on a fanlisting, and I wrote my own PHP code to add fans, edit information, etc. and it all gets store on a database, etc. Can I use all that stuff in flash?

The site i'm working on right now doesn't do anything, but I'd like for it to be able to show the content in a dynamic text field (i've already made one) and I'm using the tutorial on this site to do it.

http://www.dont-stay.com/shannon/page.php

View Replies !    View Related
Dragging Complete Flash Movie Is It Possible?
HI!

Ive been using flash since flash 4 and would consider myself intermediate/advanced. I havent used flash in a while however and have gotten rusty.

Is it possible with FlashMX to be able to drag my whole published movie? I have a website in plain html which I want a navigation bar/remote to be made in flash. The navigation bar is made but I would like the user to be able to drag and drop the nav. bar where he/she pleases.

Not sure if I have explained this well so I will try again Is it possible to have a movie that is possible to drag and drop anywhere on my webpage? If it is possible then hows it done?

hmm still not sure if anyone will understand my lame attempts at explaining this. Any reponses would be greatly appreciated.

cheers!

View Replies !    View Related
Complete Flash/AS Newbie... How Do You Modify The AS?
I got Slideshow Pro from http://www.slideshowpro.net and I want to modify it to take the XML image feeds from a variable user directory. Say the user logged in has a username of "user01" so when they view their slideshow, I need it to locate "/path/user01/images.xml" this way it loads his images. I have no idea how to get into the action script and make this change.

the "/user01/" part is a variable, like on other parts of the site I call their username like so <?= $username; ?>

So the PHP call to the images.xml would loook like

"/path/<?= $username; ?>/images.xml"

Thanks!

View Replies !    View Related
Flash Animation On Complete Videos Using 3D Flash Animator?HOW?
hi,,
how can i make some text or some pics with cool 3d flash animation on an avi or mpeg videos????

plz help me urgently

View Replies !    View Related
Preloader-skipingIntro-flash-complete MESS
Hi there.. thanks for checking my problem put..

ok. so i have to do flash intro stupid and ugly as can be.. that finishes with a static scene.. that has some buttons leading to some html pages.. bla bla.. anyway.. this intro.. someone said should have a preloader[that's easy] but that's s.o. olso said it should have a button letting the good old USER skip it and jump directly to that final static flash scene i mentioned before..

I've tried different stupid ways to do all this.. working and real.. and i came finaly somewhere round here:

i have 2 swf-s each with 2 scenes
1. main.swf[scenes: preloader,grand_finali]
2. intro.swf[scenes: preloader,intro]

i start from main.swf loading the final static scene[grand_finali so that i can jumo to it if and when i want..after i load it i jumo to preloading the intro.. where that agly skip intro button.. appears.. what i have in that button?

on (release) {
_root.skipIntro = 1;
loadMovieNum ("main.swf", 0, "GET");
}

i've added that variable.. couse i thought it'd help me now i come from loading the intro so.. i can go directly to grand finali without loading it.. again.. and jjumping back to loading the intro from which i actualy came..

anyway i don't think i manage to make these variables work.. maybe i'm not sending them, recieving them or defining them as it's supposed to be done. or maybe all this is a big smelly bull ****t that i've created.. i'm not quite sure..
but i was thinking that YOU having survived reading this to the end.. might probably.. wanna give me a hand.. or help me in some way..

thank you in advance..

Didko.

P.S. after i'v talked to a friend 'bout all this he suggested that i should use.. movieclip object in which i should start loading my intro movie and stop loading it or sth,, when i want to.. skip it all.. anyway i kind'a tryed sth like that but things got even uglier.. actually..
so once again... if there's someone out there willing to give some advice, help or suggestion how.. to make this goddamned PRELOADER.. that'll be so great..
thanks for reading this to the real end.. respeq!

View Replies !    View Related
Importing Complete Website To A Flash Movie?
hi there.. flashers..

please tell me is it possible to load an
entire website to a running flashmovie?

if so - how is it done??

thank you so much..

tobi

View Replies !    View Related
Does Anybody Have Or Know A Complete List Of Compatible Languages In Flash Mx?
All i know is that Flash MX is compatible with:

javascript
php
html

Are there any more? Thank you!

View Replies !    View Related
Start Playing From A Frame After This Flash Is Complete
Hi,

.Fla Link

How can i modify this flash so that after the object (or in my case several objects whereby i copy/pasted/renamed the actionscript sections) has been moved the flash starts to play from a different frame...so that i can enter a "well done" kind of message.

Thanks

<param name="movie" value="http://www.xadnet.com/files/drag_and_drop.swf">
<param name="quality" value="High">
<embed src="http://www.xadnet.com/files/drag_and_drop.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="303" height="302">

View Replies !    View Related
Any Complete Template Flash Multiplayer Game On The Web ?
Hi,

I have a litlle question adressed to ANYONE !
Please can you tell me a link to a flash archive containing 1 (
just ONE pleeease! ) complete template in flash (.fla) for online multiplayer gaming ? Is there any ?... cause i searched disperatelly to find but i was unsuccesfull, please help me with this,

Thanks for reading my message

View Replies !    View Related
Complete Basic Flash Website Guide
Has anyone made on of these before? and if so where can I find one - I've been through textbooks and excersizes and individual tutorials, and I can do basic animations, and drawing.
However - what I'd really like to read - is a comprehensive article/ebook that goes through animation - buttons - drawing - preloaders, and then subsequently, how to put these things together and make them into the final product. Ideally a full set of instructions to make a simple flash-site start to finish. One could then expand on the base design completed and go on to make something more complex...
Any feedback much appreciated.

View Replies !    View Related
Flash CS3 Professional Training For Complete Idiots
I recently purchased Flash CS3 Professional with absolutely no Flash background at all. Even after watching the companion training video from Total Training, I am completely overwhelmed!

Can anyone recommend a video or book that will start me off with basic Flash "baby steps", so that I can eventually use this amazing software to its true potential?

...Spinning my wheels.

View Replies !    View Related
Complete Flash Application And Search Engine?
Hi,

I'm going to redesign a website I made last year, and I'm thinking to develop it in Flash. It's a music review site, with loads of content. Currently it's made with HTML/PHP/MySQL.

I just finished another Flash project with PHP/XML/MySQL integration, and it all turned out well. I'm not quite sure if I wanna go the Flash way for this redesign project, due to Flash's lack of search engine support.

Many visitors visit our site through a google search, so it's quite important. Have any of you have experience building large scale flash applications, in which content had to be indexed by a search engine? Or can anyone provide some useful information on handling the situation?

Or is this a bad approach, creating quite a large scale website completely in Flash?

Thanx in advance,
Sintax

View Replies !    View Related
Complete Flash Site Tutorial Problems Pls Help
I'm creating a site based on the tutorial: "build a complete flash site" I've re-created this for my design and it works fine.

The problem i have is in the tutorial the first page has no content, just buttons.

What i want it for the home page to be shown when loaded, then when a button is clicked an external swf is loaded.

I'm sure this is simple code, but i'm a noob in flash.

please help

Thanks in advance

View Replies !    View Related
Flash/PHP SendAndLoad Result Complete Gibberish
How-do! I've searched the forums, but haven't found the answer to my current headache, Please help!

I want to use a php file to return the contents of a specified directory, then (in flash) create an array of filenames that can be used to build a gallery.

The php file works fine when I test it in my browser, and the AS says its being read OK, but its contents are absolute nonsense! This is what I have so far...


Quote:





Code:
toPHP = new LoadVars();
fromPHP = new LoadVars();

fromPHP.onLoad = function(success) {
trace(this);
//trace(images = fromPHP.split(","));
}
toPHP.gallery="./gallery/3D/";
toPHP.sendAndLoad("_getDir.php",fromPHP,"POST");





and the php...


Quote:





PHP Code:



<?php    $dir_name = $_POST['gallery'];    //$dir_name = './assets/personal/';    $dir = opendir($dir_name);    $file_list = "fileList=";    while ($file_name = readdir($dir))    {        if (($file_name != ".") && ($file_name != ".."))        {                $file_list .= $dir_name+$file_name+",";        }    }    closedir($dir);    echo $file_list;?>









Please help! I thought the hard bit would be reading the directory contents with php, not getting the info back into Flash!! <sigh> I was wrong.

View Replies !    View Related
Complete Flash Application And Search Engine?
Hi,

I'm going to redesign a website I made last year, and I'm thinking to develop it in Flash. It's a music review site, with loads of content. Currently it's made with HTML/PHP/MySQL.

I just finished another Flash project with PHP/XML/MySQL integration, and it all turned out well. I'm not quite sure if I wanna go the Flash way for this redesign project, due to Flash's lack of search engine support.

Many visitors visit our site through a google search, so it's quite important. Have any of you have experience building large scale flash applications, in which content had to be indexed by a search engine? Or can anyone provide some useful information on handling the situation?

Or is this a bad approach, creating quite a large scale website completely in Flash?

Thanx in advance,
Sintax

View Replies !    View Related
Complete Flash-Based Web Site? Book Or Tutorial?
I know the basics of Flash CS3, but would really love to learn how to do a complete Flash-based website. Anyone have any suggestions on a book or online tutorial?

View Replies !    View Related
Flash Intro Over HTML Page - How To Remove When Complete?
I'm working on an HTML site built to specific pixel dimensions. The designer wants the site to open with a quick Flash intro that's the same size as the site, which fades away when done, revealing the HTML page underneath.

This shouldn't be any problem - just use absolute positioning and z-index to place the SWF on top of the HTML. However, won't it be impossible to click links on the home page with the Flash sitting on top of it (even after being faded via alpha tweened to 0)? The page will be covered by the SWF, and any clicks will apply to the SWF, not the underlying page.

Is there a practical way to have an SWF remove itself after it's done playing?


- Bob

View Replies !    View Related
Import Complete Flash Site Into Swf In Mini Format
Hi,

I am trying to get a smaller size of a complete web site to run in a swf file on my web site.

You can see what I am thinking at gggraphic.com/new under product and web design. I want the inserted web sites to be live.

The script below works fine if the imported site lives in one single swf. But most of
my sites run from a master swf that imports other swf's. The master will import in the specified size. But all following swf files will import in their full size. Is there some universal code that will make all files that are imported into the
container movie clip adjust to the new size?

Hope to hear from you soon.

Thanks on before hand.

Sincerely

ggaarde
08.19.07
Attach Code

stop();
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.loadClip("

View Replies !    View Related
FLVplayback Complete Vs Hiding W/ Javascript(triggered By Flash Button)
Hello,
I am really stumped on this and would greatly appreciate any help.

quick overview of what I'm trying to do:

1. A swf embedded (via javascript) in a page, by default hidden.
2. user clicks button on page to show movie (via javascript/dhtml), auto play (has FLVPlayback that loads external flvs)
3. when user clicks close button (in flash) the play list index is incremented, next flv loaded (to prepare for next view)
the flash 'window' is closed
4. OR when the movie completes the play list is incremented, the next flv loaded (to prepare for next view)
the flash 'window' is closed
5. Next time the user clicks the button, same behavior - show movie, auto play, etc (this time playing the
next flv in the playlist)

Make sense?

So - let me focus on the close button vs the flvplayback complete
if I click my close button, all works as expected - play list index increments, next flv loaded, hide flash (it is now NOT playing)
--> the flash window is hidden, no sound or other indication of the flv continuing play
if I seek the movie any amount, and then let it finish up playing, all works as expected...like just described above.

HOWEVER, if I just let the movie play through, w/out seeking or clicking close - the play list index increments, next flv is loaded, the flash
'window' is closed BUT the newly loaded flv continues to play!

I have it set up such that the button release event AND the flvplayback complete event share the same code to increment, load, close...

So what is the possible difference in how this is getting executed? the 3 scenarios:
button click - works
seek movie a bit, let it play out - works
let movie play in entirety - almost works but flv continues to play in backround! its hidden, but hear audio...

Thoughts or suggestions?

I would greatly appreciate any suggestions/help ANYTHING!

I've included my code:
////start of code
//the base url
var baseUrl:String = "http://www.site.com/";

//our incoming playlist
var playListArray:Array = playList.split(",");

//the playIndex
var playIndex:Number;

//should we play or stop, by default we play
var isPlay:Boolean = true;

//the current movie
var movieUrl:String;

//get the shared object
var so:SharedObject = SharedObject.getLocal("mySO");
//we clear the shared object in case there is old data
so.clear();

this.attachMovie("FLVPlayback", "myFlvPlayback", 10);

//load the player skin
myFlvPlayback.skin = "http://www.site.com/test/MyExternalPlaySeekMute.swf";


//set the movie/index
setMovieIndex();

//listen for the end of the movie
var listenerObject:Object = new Object();

//update our play index for the next time through
listenerObject.complete = function(eventObject:Object):Void {
buttonClick();
};

myFlvPlayback.addEventListener("complete", listenerObject);

myFlvPlayback.play();

///////////////////////////////////////////

function setMovieIndex()
{
//default to first in playlist
if (so.data.movieIndex == null || so.data.movieIndex >= (playListArray.length - 1))
{
so.data.movieIndex = 0;
}
else
{
so.data.movieIndex = playIndex;
}
so.flush();

//make sure index and shared object are in sync
playIndex = so.data.movieIndex;

//get the movie
movieUrl = baseUrl + playListArray[playIndex];

//attach it to the player
myFlvPlayback.contentPath = movieUrl;

}

closeButton.onRelease = function() {

//increment to the next video index before closing
_root.playIndex++;

_root.setMovieIndex();


getURL("javascript: closeFlash()");
}

buttonClick = closeButton.onRelease;

////end of code

Thanks!
-K

View Replies !    View Related
[F8] FLVplayback Complete Vs Hiding W/ Javascript(triggered By Flash Button)
Hello,
I am really stumped on this and would greatly appreciate any help.

quick overview of what I'm trying to do:

1. A swf embedded (via javascript) in a page, by default hidden.
2. user clicks button on page to show movie (via javascript/dhtml), auto play (has FLVPlayback that loads external flvs)
3. when user clicks close button (in flash) the play list index is incremented, next flv loaded (to prepare for next view)
the flash 'window' is closed
4. OR when the movie completes the play list is incremented, the next flv loaded (to prepare for next view)
the flash 'window' is closed
5. Next time the user clicks the button, same behavior - show movie, auto play, etc (this time playing the
next flv in the playlist)

Make sense?

So - let me focus on the close button vs the flvplayback complete
if I click my close button, all works as expected - play list index increments, next flv loaded, hide flash (it is now NOT playing)
--> the flash window is hidden, no sound or other indication of the flv continuing play
if I seek the movie any amount, and then let it finish up playing, all works as expected...like just described above.

HOWEVER, if I just let the movie play through, w/out seeking or clicking close - the play list index increments, next flv is loaded, the flash
'window' is closed BUT the newly loaded flv continues to play!

I have it set up such that the button release event AND the flvplayback complete event share the same code to increment, load, close...

So what is the possible difference in how this is getting executed? the 3 scenarios:
button click - works
seek movie a bit, let it play out - works
let movie play in entirety - almost works but flv continues to play in backround! its hidden, but hear audio...

Thoughts or suggestions?

I would greatly appreciate any suggestions/help ANYTHING!

I've included my code:
////start of code
//the base url
var baseUrl:String = "http://www.site.com/";

//our incoming playlist
var playListArray:Array = playList.split(",");

//the playIndex
var playIndex:Number;

//should we play or stop, by default we play
var isPlay:Boolean = true;

//the current movie
var movieUrl:String;

//get the shared object
var so:SharedObject = SharedObject.getLocal("mySO");
//we clear the shared object in case there is old data
so.clear();

this.attachMovie("FLVPlayback", "myFlvPlayback", 10);

//load the player skin
myFlvPlayback.skin = "http://www.site.com/test/MyExternalPlaySeekMute.swf";


//set the movie/index
setMovieIndex();

//listen for the end of the movie
var listenerObject:Object = new Object();

//update our play index for the next time through
listenerObject.complete = function(eventObject:Object):Void {
buttonClick();
};

myFlvPlayback.addEventListener("complete", listenerObject);

myFlvPlayback.play();

///////////////////////////////////////////

function setMovieIndex()
{
//default to first in playlist
if (so.data.movieIndex == null || so.data.movieIndex >= (playListArray.length - 1))
{
so.data.movieIndex = 0;
}
else
{
so.data.movieIndex = playIndex;
}
so.flush();

//make sure index and shared object are in sync
playIndex = so.data.movieIndex;

//get the movie
movieUrl = baseUrl + playListArray[playIndex];

//attach it to the player
myFlvPlayback.contentPath = movieUrl;

}

closeButton.onRelease = function() {

//increment to the next video index before closing
_root.playIndex++;

_root.setMovieIndex();


getURL("javascript: closeFlash()");
}

buttonClick = closeButton.onRelease;

////end of code

Thanks!
-K

View Replies !    View Related
Flash 5 Out Of Memory?
Hi im getting an error message from flash 5 running on win 98.
Ive imported a sequence of GIF's and made them into a movie, when i try to place the movie onto the stage where im working flash starts to carry out the command but fails with an out of memory message telling me to use the GET INFO command with the FINDER?
Can anyone help me?
Thanks in advance
Les

View Replies !    View Related
Memory And Flash
What is it talking about.....I work with large programs everyday that uses up alot of memory and flash dosent seem like a memory buff....everytime i try to do anything intensive in there the whole program freezes on me and says something about "you need more memory to allocate more memory to flash please quit the program and goto the get info" ... What in the world is it talking about ... where is this get info at?

View Replies !    View Related
Flash With Memory ?
Hello !

I would like to make a screensaver with posibilitys to make
notes like 3M post-it notes, the flash file should "remeber"
the input that the user writes.

Is this possibel ??!!

I have the tools to make screensaver in Flash, but how to make such
a flash file ??

Thanks
Swed

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved