Directories and Flash
Hi,
I'm creating a Flash site where we'll be customizing our
Flash files with a sales rep's name, email, phone, and photo, but
everything else will be the same. We may end up with hundreds of
these reps eventually and I'm trying to think of an efficient way
to create this. I was thinking of just creating a new directory for
each new rep (i.e. www.something.com/washington/ - where washington
is the name of the sales rep, then the next rep's would be
www.something.com/lincoln/ - etc.).
In each directory I've created text file that contains
vaiables: name &&phone&&email&&... and the
Flash files read those in fine. But instead of having all the files
in each directory, it would be great to have the flash files look
up a directory to run the external movieclips and FLVs so that I
just create one of each and the only files I'd need in the rep's
directory are the txt file, the jpeg photo and maybe the contact
file that pulls in the photo.
1. How do I make flash look down one directory to the rep's
txt file and photo but still find all the other external SWFs and
FLVs in the same directory.
2. Is there a better way to be trying to do this? Perhaps a
database, etc.?
3. Where can I find resources for learning how to do this?
Thanks for the advice!
Brian
Thanks, Dave. I like your site, by the way.
I'm actually thinking now that maybe I'm approaching this
wrong. Can I just keep all flash in one directory and all txt docs
with the rep's info in that same directory. Then, if someone goes
to www.ourdomain.com/washington, we redirect to the root (where all
the flash files are) and send a variable with that url that says to
load washington.txt variables. Anyone know if that is a doable
thing and how I should do it?
I have a script that calls the variables from info.txt in
each directory:
loadVariables ("info.txt", this);
Could I just make "info" be a variable so that it is
"varinfo" and my script would be:
loadVariables (""+varinfo ".txt", this);
Then have Flash read the variable sent from the URL so that
it switches varinfo to washingtion in that script and loads the
variables from the file washington.txt. Sound okay? Now how do I do
get Flash to read a variable sent with a URL and how do I make the
redirect send the URL? Redirect URL would be something like:
www.ourdomain.com?varinfo=washington --- would that work? If so,
how do I "catch" it in Flash?
Thanks,
Brian
Similar Messages
-
Hi Adobe forums,
I've just about putting the finishing touches together for an
interactive CD at work using director 1.0.11. I've provided users
with a print button that then in theory should open the
corresponding flash paper file and then the user can just print out
what ever he or she wants.
Don't ask me why I used flash paper over pdf, it was
something new and I wanted to try it out. It works fine on my
machine but when I burn the projector and accompanying swf and xtra
folder to cd it won't work on other machines.
I'm guessing this is a Flash Xtra problem, but I've already
selected Flash Assest and Flash Asset Options X32 via modify >
movies > xtras but this doesn't seem to solve the problem. To
handle the opening of this file I've also downloaded and installed
BuddApi as well.
Here's the code I use to open the swf file:
property pFile
global gDelimiter
on getPropertyDescriptionList
description = [:]
addProp description,#pFile, \
[#default:"test.swf", \
#format:#string, \
#comment:"Type the full filename to open: Example: test.swf"]
return description
end
on mouseEnter me
-- sets the cursor to the hand
cursor 280
end
on mouseLeave me
-- sets the cursor to default
cursor -1
end
on mouseUp me
--- setting the file path to go to, you need to put your
folder name or file structure in.
--- the moviepath is the path to the actual .exe file. So you
just need to
--- add the structure from that point on. In the below case
there is a
---folder called "pdf_files" in the same directory as the
.exe
sPath = the moviePath & "swf_files" & gDelimiter
& pFile
--- & is simply appending each item, so it is appending
pdf_files to the
---existing path, and then appending
--- gDelimiter which is either a \ or : and then finally
appending the name of
---your file
baOpenFile(sPath, "Maximised")
--- buddyAPI command you will have to download and install
buddy API
---Xtra. It is free, do a google search for BuddyAPI and the
site will come
---up, simply download the appropriate version and place in
your Xtras
---folder.
cursor -1
end
If anybody could point me in the right direction I would be
very grateful.Thats the strange thing, at work all machines are set up the
same way via an image ripped down to them when they are first
configured. Part of the standard desktop image is the Flash Plugin.
For some strange reason the .swf file isn't recognised on the
CD. Drag the associated file to the users computer and the file is
recognised.
I'll give the error reporting alert a try and feedback the
results. It might be that I just have to embed the Flash Paper
within the Director Projector.
If anybody else has any ideas I would be very grateful.
yiendos -
Comparison of Director and Flash
Why Director and why Flash? What Director can do but Flash
can't, and vice versa.kikibian wrote:
> Why Director and why Flash? What Director can do but
Flash can't, and vice versa.
I suggest adobe.com and just read , there really is just way
too much to list down
in a post. Two totally different programs, different
languages and power.
Some 'bottom line' things perhaps.
Director way larger than flash, just the player is so big
that not many people like
to download it just to view small intro or menu.
Director unlike flash can handle video, interact with OS,
expend its power with "Xtras",
something like plug ins. It's design for heavy multimedia
with images and video and sound.
Capable of 3d.
Flash is for web, fast download small files, video is
supported but it was not design to
handle big files. More of a vector based small web based
content.
Really, go to adobe and just read away.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free> -
I found pretty easy to get flash sending strings to director
but now i need to send a var from director to flash. does anyone
know if it is possible to do?if it is, can you help me?
thanks a lotCheck the docs for setVariable()
-
Director 11 and flash cs3 editing
Hi,
Since the last version of director, i worked fine with it and
the feature of flash editing from director (you know, double click
in flash member and the flash movie opens from director. Then you
can update from flash in one only click).
Well, now i've installed dir11 and flash cs3 (without
uninstall dir10 and flash8, because i know that flash 8 doesn't
work with dir11, so I'm looked for profiting this feature with the
old dir10 and flash8 and dir11 and flashCS3). Ok, this feature
doesn't work anymore. When i try to edit from dir11, flash CS3
opens the SWF file!!!!. The same occurs with dir10 and flash8!!
After this, i've tried all possibles combinations,
uninstalling flash8 and reinstalling flashCS3, and the same with
directors. Finally, i found that the versions of macromedia
products doesn't uninstall completely, (even after removing
manually all the registry references of both products). When i
uninstall dir10 and then i install dir11, the .dir files is not
associated with director anymore(even with the rebootings), the
system ask to me the proper application. The .dir icons are white.
To solve this, i need reinstall dir10 and the icons back. Then, i
reinstall dir11 and the icons change properly.
All this adventure with director versions is just the same
with Flash 8 and CS3, with one big difference. Now i'm unable to
install CS3 properly to edit from dir11. All that i get is the SWF
editing but not the fla, and the .fla icons disappears. Not
associated anymore.
I've tried with the CS3 cleaning tool from adobe and
reinstalling applications, and no success. So, i think that maybe
the problem can solve doing a complete clean uninstall of
macromedia programs, but at this time i don't find the way to do
it.
I little help is needed, please...
Thks.quote:
Originally posted by:
wherold
Flash is NOT automatically added in the Editor list
two things.
1. you must setup external editor for flash in D11
Edit -> Preferences -> Editors..
2. you'll have to add the source fla for every swf in the
proprty inspector by hand.
you can find this handling also in the D11 live docs at
http://help.adobe.com/en_US/Director/11.0/help.html?content=10_Using_Flash_Interactive_005 .html#70861
Wolfgang
Thanks, i know this. But this is not the problem. The
external editor (flash cs3) is located by director, and the path of
the fla file is correct. Director finds the file but opens the
swf!!, but the fla. -
Spry and Flash not liking each other
I'm currently working on a small site for a commercial
director and the client wants it where when you rollover the
thumbnail images for his commercials, they grow a bit and that's a
perfect use for Spry's Grow/Shrink effect. Only problem is once I
add this effect, the Flash movie completely disappears from the
page and the rest of the contents moves up. So you don't even get a
blank square.
Here's what I'm talking about:
http://www.josephimartinez.com/commercials/index.html
and here's a page without Spry where the video shows up:
http://www.josephimartinez.com/commercials/index2.html
I know there are problems with Flash and JavaScript not
playing nice with each other. Especially on pages that utilize
Javascript dropdown menus and they can collide with Flash movies.
Is this similar? Seems even worse to me.Does it stop you from loading and playing the game? I get similar errors every time I start anything wine related. The exact same messages come up when I have a MIDI to USB device plugged in on one machine and for some reason again on another because wine confuses my internal modem as a sound card. I ignore it and everything still works fine so it might not be something to worry about.
Quite honestly, their probably just a result of a hack in there alsa code. They probably don't properly differentiate sound devices and just assume that everything detected as sound related is a sound card. So wine gets a little confused when things don't, say, support mixing.
If its preventing you from playing the game, I don't think this is the show stopper. -
How is Director different then Flash, and which is better for
game development, web based games or otherwise?
What is latest or best version of Director avaialble today?ripps7 wrote:
> How is Director different then Flash, and which is
better for game development, web based games or otherwise?
> What is latest or best version of Director avaialble
today?
Hi Ripps.
The question of Director vs Flash has been asked many times.
I have a FAQ page relating to this with links to articles at:
http://www.fbe.unsw.edu.au/learning/director/resources/FAQ/web.asp#5
Here's another link to an article called
The Best Kept Secret in Town - Application development with
Macromedia Director
http://webddj.sys-con.com/read/45623.htm
It also compares Director to Flash from an application
development point of view.
The Director Podcast had an episode on Director vs Flash. It
can be downloaded from:
http://www.magicgate.com/podcast/director/shownotes/director_podcast_ep20_06_13_06.html
The short answer is that Director is superior to Flash in
many ways including
* supports real-time 3D
* has a greater range of digital media support
* supports plugins (Xtras) to allow the software to be
extended
* Director can access operating system commands
Flash is better than Director in some areas. So, if you want
to create a game or some other application, your
choice of tool will depend on what exactly you want it to do.
To your other question, the current version of Director is MX
2004. This is version 10. There's a 10.1 and 10.1.1
update that are free to download. Adobe have announced that
Director 11 will be released by the end of this year.
regards
Dean
Director Lecturer / Consultant / Director Enthusiast
http://www.fbe.unsw.edu.au/learning/director
http://www.multimediacreative.com.au
email: [email protected] -
On a computer running Windows 8 Enterprise, Adobe Reader 11.0.03, and Flash Player 11.8.800.94, I am unable to open a flash-enabled PDF. Reader gives me the error "To view the Flash technology content in this PDF file, please install this version of Flash Player that supports Adobe Reader and Acrobat." Adobe's Flash verification page shows me that Flash Player is working, and I can open other basic PDFs in Reader. I have another machine with an identical setup, except that it has Acrobat 11.0.03 instead of Reader, and the PDF opens just fine on that machine. Why won't Reader open the Flash-enabled PDF?
http://helpx.adobe.com/acrobat/kb/reader-acrobat-flash-player-download.html
-
Getting Big Headache, What is difference between Flash Lite 3.1 and Flash Player 7
Hello, I am asking questions about the two similar yet different programs for Pocket PC version only:
1) Which came first, Flash Lite 3.1 or Flash Player 7?
2) If I have both in my Pocket PC, will there be product incompatibility?
3) What is the difference between Flash Lite 3.1 and Flash Player 7.
4) I have a Flash Lite 3.1 but uninstall information says "Flash Lite 3.1 for Opera Mobile", did you releaase this? Is this an illegal copy? A developer's copy?
*I don't know exactly where I got it, but I got it from the HTC developer's forum: XDA-developers.com
*I also use Opera mobile, a web browser for Pocket PC's.
5) What is difference between Flash Lite 3.1 and Flash Lite 3.1 for Opera? Is the only difference is that Flash Lite Supports everything flash related, while Flash Lite Opera supports only flash in opera?
Hi, I don't expect all answers, but I hope someone or someone from adobe support can clear some things up for me.The program under my "remove programs" list is specifically called "Adobe Flash Lite for Opera". The XDA forums people said along time ago that it was Flash Lite, and kept calling it Flash Lite, and not Flash Player 7.
Now what about this:
http://www.adobe.com/products/flashlite/version/
The table shows the differences between FP 7 SDK, FL 2.1, and FL 3.1. And it's quite obvious that FL 3.1 has way more features than Flash Player 7. What does SDK mean? And why are you telling me FP 7 has more features?
With this information, can you or anyone else provide any more details and clarification? -
The Flash Text and Flash Button options have dissappeared
the Flash Text and Flash Button options have dissappeared in the insert menu in Dreamweaver CS4. They used to be there but not now
Adobe announced the features they were removing from CS4 a year or so before CS4 launched:
The ill-conceived Flash buttons and Flash text were among the deprecated features.
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS2C41F19D-502B-4fb5-8A54-4442E2127C84a .html
Deprecated features
The following features have been deprecated for Dreamweaver CS4:
Timelines
Web services
Layout mode
Site Map view
Java Bean support
Adobe® Flash elements (Image Viewer)
Adobe® Flash text and Adobe® Flash buttons
ASP.NET and JSP server behaviors and recordsets -
Flash Text and Flash Button options have dissappeared in DW CS4
the Flash Text and Flash Button options have dissappeared in the insert menu in Dreamweaver CS4. They used to be there but not now
You need the Dreamweaver forum - click here.
-
Problem with Left Click (mighty mouse) and flash content
Hi, first sorry for my bad english...
Well I have an issue with the left click (i have mighty mouse) and flash content in Firefox:
if i'm using Firefox and then change to any other app, when i get back to firefox i have no left click anymore...
So i have to open the mouse setting panel and everything works fine again...
I don't want to open the mouse panel over and over again to fix that, so what i can do?
THANKS in advance =)
I uploaded a video to show the issue:
http://www.youtube.com/watch?v=ROWSod5fUjk
Mighty mouse Settings:
Left Click + Right Click
Firefox ver: 3.5.5
Snow Leopard: 10.6.2
iMac 24" (iMac9,1)
Message was edited by: MaLk GopherHi, Guys!!
And you have some right cosmic_hippo , Why?
Well think that the real problem it's something between Firefox and Flash content...
because if i use Safari and i try make what i describe in the first post, i don't have any problem with the mouse settings.
Only Happens when i use Firefox...
Cheers.
Well the issue is still there... -
Problem with dreamweaver and Flash
Hi, maybe someone can help me, i have any problem with
dreamweaver and flash, i have a page and i have a menu and
sub-menu, and the same page i have a category en flash 550 x 700 (
photography and more... ) but when the menu to unfold
the menu to see under flash and it cant see ( sorry my
english is bad.... i hope you can understand me, and help me.. )
i dont now why always flash ever stay up, or first, and
another information under flash... this a problem... if you have
menus...
thanks.... have nice day.....This is a drawback of using flash or any other active
content. By default, all active content including flash will
display over every other content and thats why your menu stays
under the flash movie. Some people make the flash background
transparent to show content under the flash movie, but that will
not work for menu items.
I would suggest that you make the menu such that it does not
overlap with the flash movie. -
Ever since i installed firefox 5 beta and the new version of flash, flash crashes on every page with flash on it no matter what version of firefox i run, and flash wont let me roll back to another version. I need flash for my work which is due by the end of the day so any help yall can offer is appreciated.
well i fixed this for a bit by reinstalling ff4 and restarting but now the firefox 4 that i re-downloaded continues to very aggressively update itself to 5 beta without asking me. it just notifies me once its done it telling me to restart and once i close firefox, boom. flash crashes every minute or so and freezes my computer. I love firefox. i have used it for years. but if no one can help with this problem or at least tell me how to stop firefox 4 from updating to firefox beta 5 im gonna go download something else because im losing money fighting with firefox to get my work done which is now taking 10 times longer to complete. i really want to keep using firefox but this is kinda ridiculous guys... I understand that betas have bugs but dont make me use it without asking me first...
-
Safari and Flash does not work correctly. I always have problems accessing flash sites, like this:
http://globosat.globo.com/telecine/servicos/programacao.asp
There is a blank rectangle below the flash menu, I can't see the content correctly.
I think Apple must work with Macromedia to give us a better internet experience...Hi xPixel,
You can't click anything on menu (there is a flash animation floating around the window)
image: http://img44.imageshack.us/my.php?image=imagem20ox.jpg
URL: http://www.claro.com.br/portal/site/siteTA/ (please select "Rio de Janeiro")
This also doesn't work with Firefox, Camino or Opera. That page also has a whopping 367 errors according to the web standards validation page (validator.w3.org).
You see a blank rectangle above the menu and can't click it
image: http://img414.imageshack.us/my.php?image=imagem15yo.jpg
URL: http://globosat.globo.com/telecine/servicos/programacao.asp
The same for this site - neither Firefox, Camino or Opera will display anything in the blank area.
Can't click the menu on this site
image: http://img44.imageshack.us/my.php?image=imagem37sy.jpg
URL: http://www.premierpet.com.br/
And exactly the same for this. So, I'd say there isn't a serious problem with Safari and Flash, since they all fail in 3 other browsers as well.
Apple can only do so much with sloppily coded websites. If these sites want your business the onus should be on them to make them work correctly with as many browsers as possible. This is the real solution.
Maybe you are looking for
-
Windows XP on macbook pro with retina display?
I am going to be helping a client with putting Windows XP on a brand new Macbook Pro with retina display later this week. This client has two programs that are XP-specific, and MUST be run by booting XP fully and not virtually with Parallels or other
-
Changing the Column Header Color
I would like to change the foreground and background color of a column header when the user clicks on the column. I know how to detected when the user clicks on a given column, and I know there is a setBackground and setForeground method that needs t
-
Wireless connection error for HP 7520
I have been trying to scan a document and send to email but all of a sudden I've been getting a " server connection error". This just started happening yesterday. In the past, I've been able to scan a document and send as an email attachment right
-
Std-Price calculation with Quote arrangement
Hello Experts, I set up a quote arrangement (MEQ1) for one Material. This quote arrangement including two production version 0001 and 0002 with proc.type E, as third line I added a vendor with proc. type F. How can I calculate the std. price based on
-
I don't know how to USE my remote control on my AUDIGY 2 ZS Platinum
I followed the instructions on this page: http://support.creative.com/kb/showa....aspx?sid=2965 about activating my remote control for my AUDIGY 2 ZS Platinum but mediasource did not have a remote control option tab as you can see here... Untitled.jp