Go to odd or even week flash as3 cs6 - actionscript-3

Please help me..! Could you help me with the as3 script how to go to frame labeled "odd week" or "even week"? Case: If this week (from monday to sunday) is the odd week, when I press the button, it will automaticaly go to frame labeled "odd week". So, If this week (from monday to sunday) is not the odd week, it will automatically go to frame labeled "even week". It doesn't matter odd or even is to be the first. Thank you very much for you kindness.

Related

Is there a way to change default view of multi-day events in Google Calendar so they show in the day rather than as a banner above?

I have done a bit of looking around but not found a way of doing this.
I believe it is likley possibly using the Google Scripts - Advanced Calendar Service - https://developers.google.com/apps-script/advanced/calendar - before I look into this myself as an amateur I wondered if anyone else had created such a script?
I imagine it would be one that triggers on event creation, checks if it's a multi-day event and if it is then creates daily events say from 06:00 - 23:00 each day, then sets the colour & fill as low opacity [unsure how possible this is].
I find the banner above each day gets missed when I look at my calendar often so would prefer it to display the event in each day but essentially with low opacity in the background.
Thanks in advance for any help :-)

In Workshop: How can I create buttons (functions?) so that user can segment by day, week, month or year

Background
I've read about Typescript, but I am not a developer, so I am interested in how can I learn how can I create useful functions in Workshop.
Question 1
How can I create buttons (functions?) so that I can create buttons for users to select segment by day, week, month or year?
You could use Functions to do that but you can also do it directly in workshop with a combination of button + tabbed section.
Indeed:
you create a button (like a Menu button for instance) where you list all the options (Day, Week, Year).
Then you create a tabbed section with as many tabs as they are choices
For each tab you create the chart you want to show, segmented by either day / month / year etc
You hide the header of the section (not to see the tab labels anymore)
In the button, you add to every single choice an event "Switch to ... Tab X)
The downside of this is obviously that you'll need to maintain many charts and thus it is more painful if you have one thing to change on the chart (the color etc...) as you'll need to do it several times.
Hope it can help you if you want to explore non-technical ways of achieving the above.
Maxime

Firebase: How to see retention month by month?

I trying to see my app retention month by month but it is impossible in firebase and in google analytics, how can I do it ?
Like you can see it is day by day
And I want something like this but not by week
I was looking for this too and was baffled that it didn't exist "out of the box". But you can do the following:
Inside Firebase Analytics Dashboard:
Click "View more in Google Analytics" (unless you already are at the Google Analytics webpage)
Now from left-side panel press "Explore"
Click "Blank" (will create a new "Exploration")
Next to the "Free form 1"-tab there should be "+" sign, press it
Click "Cohort exploration" (1. in image)
Now change "Cohort Granularity" to Monthly (from Daily/Weekly) (2. in image)
Voila! Bit of a pain but it works...

Start and stop face tracking

I'm making a filter that counts the number of times you blink in x number of seconds.
After the x seconds are up I want it to stop counting the blinks, but I can't seem to drag any other patch to the face finder/tracking/select/blink patches.
The logic I've managed to create so far is:
Display text which says "Don't blink"
When the user starts recording, this text disappears and another text which says "start blinking" appears
When the user blinks this other text disappears and a 1 appears, then a 2, and a 3 and so on
After 5 seconds since the user started recording a new text appears, "Finished!"
I know want the blinking counting to stop
Here's what I have to far:

QWidget or just paintings?

I work on a Qt4 calendar custom widget and in month view (a grid of more or less 30 cells/days), in each day's cell, I want to draw events of the day like this:
start hour - title
start hour - title
start hour - title
(...)
So, just a vertical list of events, with HTML formatting.
I'd like to offer the possibility to move events betweens cells with drag'n'drop.
So, I don't know if I must create a QWidget for each cell with QLabels inside or if I can render html on those cells and manage drag'n'drop in a other way...
If you want to, you could manage drag and drop yourself by checking which item was clicked on when the drag started, and putting the appropriate data into the drag events. However, I think your first option sounds easier, at least until you come across other requirements that makes it not work.